disable_audio_stream(9)
π NAME π
okay bestie, welcome to disable_audio_stream(9) from the Kernel API Manual β¨ this one is literally about how to disable usb snd endpoints π
β¨ SYNOPSIS β¨
void disable_audio_stream (struct snd_usb_substream *subs );
π ARGUMENTS π
subsβ the usb substream youβre passing in π
π DESCRIPTION π
So hereβs the tea, bestie: this closes the USB SND endpoints associated with the current audio stream used. It also decrements the USB SND endpoint opened reference count. Thatβs the whole flex β no cap π«Ά
π SEE ALSO π
the kernel file to peek at is ./sound/usb/qcom/qc_audio_offload.c π and these iconic functions are in the group chat too:
uaudio_iommu_unmap(9)uaudio_iommu_map_pa(9)uaudio_dev_intf_cleanup(9)uaudio_event_ring_cleanup_free(9)uaudio_sideband_notifier(9)qmi_bye_cb(9)qmi_svc_disconnect_cb(9)enable_audio_stream(9)uaudio_transfer_buffer_setup(9)uaudio_endpoint_setup(9)uaudio_event_ring_setup(9)uaudio_populate_uac_desc(9)prepare_qmi_response(9)handle_uaudio_stream_req(9)qc_usb_audio_offload_init_qmi_dev(9)qc_usb_audio_offload_probe(9)qc_usb_audio_cleanup_qmi_dev(9)qc_usb_audio_offload_disconnect(9)qc_usb_audio_offload_suspend(9)
byeee bestie π«Ά this page comes from ./sound/usb/qcom and itβs dated October 2026 β slay πβ¨
π¦ 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