aio_oport_set_stream_type(9)
aio_oport_set_stream_type(9) π β¨
okay bestie, this is a page from the Kernel API Manual, and itβs lowkey iconic for anyone messing with AIO playback ports. Letβs get into it π«Ά
πΈ NAME πΈ
aio_oport_set_stream_type β set parameters of AIO playback port block
β¨ SYNOPSIS β¨
int aio_oport_set_stream_type (struct uniphier_aio_sub *sub , enum
IEC61937_PC pc );
π ARGUMENTS π
subβ the AIO substream pointer. literally the substream youβre working with.pcβ the Pc type ofIEC61937. yes bestie, that exact enum value.
π¦ DESCRIPTION π¦
So this function sets a special setting on the AIO output port block so the stream can be output via <pink>S/PDIF</pink>. Thatβs the whole vibe. Itβs just making the output port block handle the S/PDIF stream situation π
π₯ RETURN π₯
It returns <green>zero</green> if successful β slay. Otherwise it returns a <red>negative value</red> on error π
π SEE ALSO π
The kernel file is ./sound/soc/uniphier/aio-core.c, and hereβs the whole friend group:
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_src_reset(9)aio_src_set_param(9)
mwah π this page lives in the Kernel API Manual, comes from ./sound/soc/uniphier, and is dated October 2026 β periodt β¨
π¦ 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