q6asm_enc_cf...rmat_support(9)
π 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 togetherstream_idβ stream id, that's her whole jobrateβ audio sample rate, like how fast the audio's goingchannelsβ 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 π
- Kernel file
./sound/soc/qcom/qdsp6/q6asm.cβ the source, go read her, she's iconic q6asm_unmap_memory_regions(9)q6asm_map_memory_regions(9)q6asm_audio_client_free(9)q6asm_get_session_id(9)q6asm_audio_client_alloc(9)q6asm_open_write(9)q6asm_run(9)q6asm_run_nowait(9)q6asm_media_format_block_multi_ch_pcm(9)q6asm_read(9)q6asm_open_read(9)q6asm_write_async(9)q6asm_cmd(9)q6asm_cmd_nowait(9)
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
- 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