pcm_close(9)
π 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
struct channel(9)get_channel(9)copy_data(9)playback_thread(9)pcm_open(9)pcm_prepare(9)pcm_trigger(9)pcm_pointer(9)audio_probe_channel(9)audio_disconnect_channel(9)audio_rx_completion(9)audio_tx_completion(9)
Source/version: ./drivers/most Β· dated October 2026 Β· this has been pcm_close(9), mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms