q6asm_run(9)
πΈ q6asm_run(9) β the Kernel API Manual glow-up πΈ
okay so bestie, we're in the Kernel API Manual today and the star of the show is q6asm_run β literally the function that gets your audio client going. like, presses play on the whole vibe. π
β¨ NAME β¨
q6asm_run β start the audio client π΅
no cap, that's the whole job. it starts the audio client. iconic behavior honestly.
π¦ SYNOPSIS π¦
int q6asm_run (struct audio_client *ac , uint32_t stream_id , uint32_t
flags , uint32_t msw_ts , uint32_t lsw_ts );
that's the whole signature, copy it exactly, don't come for me about the spacing, that's how it is in the source fr fr π«Ά
π ARGUMENTS π
acβ audio client pointer π this is your main character, the handle to the thing you're starting up.stream_idβ stream id of q6asm session π which session we're talking about, bestie.flagsβ flags associated with write β¨ the lil modifier bits that ride along with the write.msw_tsβ timestamp msw β±οΈ that's the most significant word of the timestamp, the big half.lsw_tsβ timestamp lsw β±οΈ and this is the least significant word, the lil half. together they're the whole timestamp, we love a duo. π
π RETURN π
Will be an negative value on error or zero on success π«Ά
so like β negative number = it went bad π, zero = we slayed β¨. that's it, that's the whole return contract, no notes.
π§ SEE ALSO π§
Kernel file ./sound/soc/qcom/qdsp6/q6asm.c β go read the source, iykyk π
and the whole friend group, all of them, no one left out:
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_nowait(9)q6asm_media_format_block_multi_ch_pcm(9)q6asm_enc_cfg_blk_pcm_format_support(9)q6asm_read(9)q6asm_open_read(9)q6asm_write_async(9)q6asm_cmd(9)q6asm_cmd_nowait(9)
π reminder bestie: this page is from./sound/soc/qcom/qdsp6, dated October 2026, and it's filed underq6asm_run(9). that's the footer tea, consider it sipped. π
okay that's the whole page, go forth and start your audio clients responsibly, ily, bye πβ¨π
π¦ 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