opus_multistream_ctls(3)
β¨ opus_multistream_ctls β¨
okay bestie, welcome to the opus_multistream_ctls(3) page π this one lives in the Opus manual, and it's short but it's iconic, fr fr.
πΈ NAME πΈ
opus_multistream_ctls β Multistream specific encoder and decoder CTLs π
so basically: these are convenience macros that are specific to the opus_multistream_encoder_ctl() and opus_multistream_decoder_ctl() interface. that's the whole vibe. periodt.
β¨ SYNOPSIS β¨
π¦ Macros π¦
#define OPUS_MULTISTREAM_GET_ENCODER_STATE(x, y)β Gets the encoder state for an individual stream of a multistream encoder. π#define OPUS_MULTISTREAM_GET_DECODER_STATE(x, y)β Gets the decoder state for an individual stream of a multistream decoder. π
π Detailed Description π
okay so, these are convenience macros that are specific to the opus_multistream_encoder_ctl() and opus_multistream_decoder_ctl() interface. (yes, same sentence as up top, the manpage is just being thorough, let it cook π)
and here's the tea, bestie: the CTLs from Generic CTLs, Encoder related CTLs, and Decoder related CTLs may be applied to a multistream encoder or decoder as well. π
plus β and this is the main character energy part β you may retrieve the encoder or decoder state for an specific stream via OPUS_MULTISTREAM_GET_ENCODER_STATE or OPUS_MULTISTREAM_GET_DECODER_STATE and apply CTLs to it individually. one stream at a time, tailored, obsessed. ππ
π§ Macro Definition Documentation π§
π #define OPUS_MULTISTREAM_GET_DECODER_STATE( x, y)
Gets the decoder state for an individual stream of a multistream decoder. slay.
Parameters
xopus_int32: The index of the stream whose decoder you wish to retrieve. This must be non-negative and less than thestreamsparameter used to initialize the decoder.yOpusDecoder**: Returns a pointer to the given decoder state.
Return values
OPUS_BAD_ARGβ The index of the requested stream was out of range.
ngl if you go out of range you get OPUS_BAD_ARG and nothing else, so like... stay in your lane, bestie π
π #define OPUS_MULTISTREAM_GET_ENCODER_STATE( x, y)
Gets the encoder state for an individual stream of a multistream encoder. ate, no crumbs. π₯
Parameters
xopus_int32: The index of the stream whose encoder you wish to retrieve. This must be non-negative and less than thestreamsparameter used to initialize the encoder.yOpusEncoder**: Returns a pointer to the given encoder state.
Return values
OPUS_BAD_ARGβ The index of the requested stream was out of range.
same energy as the decoder one β negative index? too big? OPUS_BAD_ARG. it's giving boundaries. π
π Author π
Generated automatically by Doxygen for Opus from the source code. (not a human, not a bestie, just Doxygen doing its little thing π«Ά)
and that's the page, babes β¨ this was Version 1.6.1, dated Thu Jan 29 2026 14:35:32, and it's the opus_multistream_ctls(3) one in case you lost track. go forth and retrieve your per-stream states, you absolute icon π
πΈπ
π¦ where this page comes from
- ubuntu resolute: libopus-doc 1.6.1-1 Β· BSD-3-Clause
- ubuntu stonking: libopus-doc 1.6.1-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms