pcm_close(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

pcm_close(9) from the Kernel API Manual is literally the function that implements the close callback function for the PCM middle layer. Slay. πŸŽ€βœ¨

✨ SYNOPSIS ✨

int pcm_close (struct snd_pcm_substream *substream );

🌸 ARGUMENTS 🌸

  • substream β€” sub-stream pointer. That’s the whole argument, bestie β€” a pointer to the sub-stream. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so, obviously, this is called when a PCM substream is closed. Any private instance for a PCM substream allocated in the open callback will be released here. No cap. πŸ’–

Returns 0 on success or error code otherwise. That’s the return story, periodt. 🌈

πŸ‘€ SEE ALSO πŸ‘€

Kernel file: ./drivers/most/most_snd.c


Source/version: ./drivers/most Β· dated October 2026 Β· this has been pcm_close(9), mwah πŸ’–βœ¨

πŸ“¦ where this page comes from