aio_oport_set_stream_type(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 of IEC61937. 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:


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