search for: set_force_channels

Displaying 2 results from an estimated 2 matches for "set_force_channels".

2017 Oct 23
2
advantage of OPUS_SET_FORCE_CHANNELS(1)?
...can generate mono or stereo. Most operating modes are mono, but a few such as ISB (Independent Sideband AM) are stereo. To simplify the design I followed the API's recommendation to always feed the encoder a 48 kHz stereo stream and let Opus sort it out. This works well, but then I noticed the SET_FORCE_CHANNELS option. Is there any advantage to my detecting identical left and right channels and setting this to force mono? Or does the Opus encoder already do this internally in the AUTO mode? When I force mono the decoder's indicated channel count changes from 2 to 1 as expected, but I can't tell i...
2017 Oct 23
0
advantage of OPUS_SET_FORCE_CHANNELS(1)?
Phil Karn wrote: > This works well, but then I noticed the SET_FORCE_CHANNELS option. Is > there any advantage to my detecting identical left and right channels > and setting this to force mono? Or does the Opus encoder already do this > internally in the AUTO mode? No, the automatic setting should be fine. The purpose of this setting is for the case where you kno...