amdtp_domain_destroy(9)
π amdtp_domain_destroy(9) β like, the Kernel API Manual bestie β¨
okay so picture this: you're deep in the kernel, in the Kernel API Manual, and you've got yourself an AMDTP domain that has served its purpose and now needs to go to the great bit-bucket in the sky. this is the function that sends it off π
πΈ NAME πΈ
amdtp_domain_destroy β destroy an AMDTP domain structure πβ¨
like genuinely, it's the cleanup girlie. she takes the domain struct and β¨ un-alives β¨ it (in the nicest possible way).
π¦ SYNOPSIS π¦
void amdtp_domain_destroy (struct amdtp_domain *d );
that's it. that's the whole vibe. no return value, no drama, she just does the thing π
π ARGUMENTS π
dβ the AMDTP domain to destroy. yes bestie, that's THE one. hand her the pointer and she'll handle the rest π«Ά
π₯ SEE ALSO π₯
okay so the lore is deep on this one, here's the whole friend group π and they all live in the kernel file ./sound/firewire/amdtp-stream.c β go say hi:
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_stream_pcm_abort(9)amdtp_domain_init(9)amdtp_domain_add_stream(9)amdtp_domain_start(9)amdtp_domain_stop(9)
like honestly? the whole lifecycle is right there. init her, add streams to her, start her, stop her, and then β when the time comes β amdtp_domain_destroy her. the circle of life, kernel edition ππ§
ngl if you're calling amdtp_domain_destroy you better be done with that domain. this is the goodbye-coded function fr fr π
mwah π that's a wrap! this little page came to you straight outta ./sound/firewire, dated October 2026, and it's part of the Kernel API Manual β so next time you're deleting a domain struct at 3am, you'll know exactly who to call πβ¨π
π¦ 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