aio_src_set_param(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– aio_src_set_param(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual πŸ’… this page is all about aio_src_set_param, the function that sets parameters of the AIO SRC block. no cap.

✨ NAME ✨

aio_src_set_param β€” set parameters of AIO SRC block

🌸 SYNOPSIS 🌸

int aio_src_set_param (struct uniphier_aio_sub *sub , const struct
       snd_pcm_hw_params *params );

πŸŽ€ ARGUMENTS πŸŽ€

  • sub β€” the AIO substream pointer, aka the pointer to the substream you're working with πŸ’…
  • params β€” hardware parameters of ALSA, the settings bundle for the hardware vibe check.

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea: this function sets a suitable setting to the input/output port that has the sampling rate converter block of AIO, so it can process whatever is specified in params. πŸ’– it literally goes in and hooks up the right setting for that SRC vibe.

This function has no effect if the substream is not supported rate converter. 🫠 like, none. zero. not even a little.

πŸ”₯ RETURN πŸ”₯

  • Zero if successful πŸŽ‰
  • otherwise, a negative value on error 😭

🌈 SEE ALSO 🌈

Kernel file ./sound/soc/uniphier/aio-core.c plus the whole crew: aio_iecout_set_enable(9), aio_chip_set_pll(9), aio_chip_init(9), aio_init(9), aio_port_reset(9), aio_port_set_ch(9), aio_port_set_rate(9), aio_port_set_fmt(9), aio_port_set_clk(9), aio_port_set_param(9), aio_port_set_enable(9), aio_port_get_volume(9), aio_port_set_volume(9), aio_if_set_param(9), aio_oport_set_stream_type(9), aio_src_reset(9).


k bye bestie 🫢 this one's from ./sound/soc/uniphier, dated October 2026, and it's serving aio_src_set_param(9) realness. periodt. πŸ’œ

πŸ“¦ where this page comes from