amdtp_stream_pcm_abort(9)
π amdtp_stream_pcm_abort β bestie's guide to yeeting a PCM device
okay so this is a page straight out of the Kernel API Manual, and it's literally about aborting a running PCM device. yes, we're in kernel-land, we're in sound/firewire, we're doing the thing. put your hair up, it's about to get real π
β¨ NAME β¨
amdtp_stream_pcm_abort β abort the running PCM device π
like, actually stop it. asynchronously. you'll see.
β¨ SYNOPSIS β¨
void amdtp_stream_pcm_abort (struct amdtp_stream *s );
no return value, it just goes and does the thing. void energy, honestly iconic π
β¨ ARGUMENTS β¨
sβ the AMDTP stream about to be stopped π yeah, the one you're already planning to kill. give her a name and pass her in.
β¨ DESCRIPTION β¨
so here's the vibe check: if the isochronous stream needs to be stopped asynchronously, you call this function first to stop the PCM device. order matters, bestie β PCM goes down before the isochronous stream does π«Ά
that's it, that's the whole function. small but mighty. not me being obsessed with a two-sentence manpage β¨
π SEE ALSO π
grab a snack, because the whole friend group is here π first up, the kernel file that started it all:
- Kernel file
./sound/firewire/amdtp-stream.c
and the squad, in the exact order they were introduced:
amdtp_stream_init(9)amdtp_stream_destroy(9)amdtp_stream_add_pcm_hw_constraints(9)amdtp_stream_set_parameters(9)amdtp_stream_get_max_payload(9)amdtp_stream_pcm_prepare(9)amdtp_stream_start(9)amdtp_domain_stream_pcm_pointer(9)amdtp_domain_stream_pcm_ack(9)amdtp_stream_update(9)amdtp_stream_stop(9)amdtp_domain_init(9)amdtp_domain_destroy(9)amdtp_domain_add_stream(9)amdtp_domain_start(9)amdtp_domain_stop(9)
fr fr, go read them all. iykyk π
mwah, that's the page!! brought to you by ./sound/firewire and dated October 2026 β timestamp slay, no cap. stay safe out there in the kernel, and remember: abort the PCM first, then the stream. periodt πππΈ
π¦ 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