q6asm_enc_cf...rmat_support(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… q6asm_enc_cf...rmat_support(9) β€” like, the whole glow-up

okay so bestie, welcome to the Kernel API Manual ✨ and yes the page title is literally q6asm_enc_cf...rmat_support(9) β€” that ellipsis is not me being lazy, that's just how it's printed, iykyk πŸŽ€


🌸 NAME 🌸

q6asm_enc_cfg_blk_pcm_format_support β€” setup pcm configuration for capture πŸ’–

Like, it's the function that gets your PCM capture config all cute and ready. That's the whole vibe check.


✨ SYNOPSIS ✨

int q6asm_enc_cfg_blk_pcm_format_support (struct audio_client *ac ,
uint32_t stream_id , uint32_t rate , uint32_t channels , uint16_t
bits_per_sample );

Look at her. Returns an int, takes five args, absolute main character energy πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ac β€” audio client pointer 🫢 literally the audio client, she's the one holding it all together
  • stream_id β€” stream id, that's her whole job
  • rate β€” audio sample rate, like how fast the audio's going
  • channels β€” number of audio channels. (yes, plural, we love that for us)
  • bits_per_sample β€” bits per sample πŸ“ exactly what it says on the tin

πŸ’€ RETURN πŸ’€

Will be an negative value on error or zero on success 😭

not me reading "an negative value" out loud β€” that's verbatim from the page, bestie, I'm not touching it. negative = bad news, zero = slayed πŸ’…

🌈 SEE ALSO 🌈

like, that's the whole friend group right there πŸ«‚ go say hi to all of them


and that's the page!! 🌟 shoutout to the source path ./sound/soc/qcom/qdsp6 and the date October 2026 β€” she was born for this era, no cap. mwah πŸ’‹ πŸŽ€

πŸ“¦ where this page comes from