snd_pcm_format_silence_64(9)
π snd_pcm_format_silence_64(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β today's main character is snd_pcm_format_silence_64, and she's literally the plug for silence. no cap.
πΈ NAME πΈ
snd_pcm_format_silence_64 β returns the silent data in an 8 bytes array. that's it, that's the vibe π«Ά
β SYNOPSIS β
const unsigned char * snd_pcm_format_silence_64 (snd_pcm_format_t format
);
like, you hand her a format and she hands you back a pointer. iconic behavior fr fr π
π ARGUMENTS π
formatβ the format to check. yes queen, just the one, we love a low-maintenance parameter β¨
π¦ RETURN π¦
she gives you the format pattern to fill π β or NULL if there's an error π (yes, check for it, don't just assume she ate, ngl).
π₯ SEE ALSO π₯
the kernel file lives at ./sound/core/pcm_misc.c β that's her address, don't be weird about it π
and here's the whole friend group, all of them slay in their own way:
snd_pcm_format_signed(9)snd_pcm_format_unsigned(9)snd_pcm_format_linear(9)snd_pcm_format_little_endian(9)snd_pcm_format_big_endian(9)snd_pcm_format_width(9)snd_pcm_format_physical_width(9)snd_pcm_format_size(9)snd_pcm_format_set_silence(9)snd_pcm_hw_limit_rates(9)snd_pcm_rate_to_rate_bit(9)snd_pcm_rate_bit_to_rate(9)snd_pcm_rate_mask_intersect(9)
π reminder bestie: error checking is not a personality trait, it's a lifestyle. NULL is real and she will show up.
and that's the page!! mwah π this little gem comes to you straight from ./sound/core, dated October 2026 π β go forth and fill your buffers with silence, you absolute icon ππ
π¦ 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