amdtp_stream_destroy(9)
π amdtp_stream_destroy β the "we're SO done here" page
okay so this is a page straight out of the Kernel API Manual, and it's a tiny one but it's lowkey iconic. bestie, we're talking about amdtp_stream_destroy, the function that frees stream resources. that's it. that's the whole vibe. she's short, she's sweet, she's the cleanup crew. π§Ήβ¨
πΈ NAME πΈ
amdtp_stream_destroy β free stream resources
like, literally, that's her job: freeing stream resources. no cap. π«Ά
β¨ SYNOPSIS β¨
void amdtp_stream_destroy (struct amdtp_stream *s );
she takes one argument and returns nothing (void), and honestly? she doesn't need to return anything. she's done when she's done. main character energy fr fr. π
π ARGUMENTS π
sβ the AMDTP stream to destroy. yes, that's it. hand her the stream, she sends it to the shadow realm. this is the AMDTP stream that's getting destroyed, periodt. π
π¦ SEE ALSO π¦
so this function doesn't live alone β she's part of a whole friend group in the kernel file ./sound/firewire/amdtp-stream.c, and you should absolutely go say hi to all her besties:
amdtp_stream_init(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_stream_pcm_abort(9)amdtp_domain_init(9)amdtp_domain_destroy(9)amdtp_domain_add_stream(9)amdtp_domain_start(9)amdtp_domain_stop(9)
it's giving "found family" and honestly I'm obsessed. πβ
lowkey reminder: this is the destroy one, so she's the counterpart to amdtp_stream_init(9) β one builds it up, this one tears it down. balance, bestie. π§π
and that's the whole page!! short and slay. this lil gem lives in ./sound/firewire, dated October 2026, and it's brought to you by the Kernel API Manual β mwah, bye bestie πππ
π¦ 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