Opus
IETF low-delay audio codec: API and operations manual
1.0.2
 All Files Functions Typedefs Macros Groups Pages
Macros
Pre-defined values for CTL interface

Macros

#define OPUS_AUTO
 Auto/default setting.
#define OPUS_BITRATE_MAX
 Maximum bitrate.
#define OPUS_APPLICATION_VOIP
 Best for most VoIP/videoconference applications where listening quality and intelligibility matter most.
#define OPUS_APPLICATION_AUDIO
 Best for broadcast/high-fidelity application where the decoded audio should be as close as possible to the input.
#define OPUS_APPLICATION_RESTRICTED_LOWDELAY
 Only use when lowest-achievable latency is what matters most.
#define OPUS_SIGNAL_VOICE   3001
 Signal being encoded is voice.
#define OPUS_SIGNAL_MUSIC   3002
 Signal being encoded is music.
#define OPUS_BANDWIDTH_NARROWBAND
 4 kHz bandpass
#define OPUS_BANDWIDTH_MEDIUMBAND
 6 kHz bandpass
#define OPUS_BANDWIDTH_WIDEBAND
 8 kHz bandpass
#define OPUS_BANDWIDTH_SUPERWIDEBAND
 12 kHz bandpass
#define OPUS_BANDWIDTH_FULLBAND
 20 kHz bandpass

Detailed Description

See also:
Generic CTLs, Encoder related CTLs

Macro Definition Documentation

#define OPUS_APPLICATION_AUDIO

Best for broadcast/high-fidelity application where the decoded audio should be as close as possible to the input.

#define OPUS_APPLICATION_RESTRICTED_LOWDELAY

Only use when lowest-achievable latency is what matters most.

Voice-optimized modes cannot be used.

#define OPUS_APPLICATION_VOIP

Best for most VoIP/videoconference applications where listening quality and intelligibility matter most.

#define OPUS_AUTO

Auto/default setting.

#define OPUS_BANDWIDTH_FULLBAND

20 kHz bandpass

#define OPUS_BANDWIDTH_MEDIUMBAND

6 kHz bandpass

#define OPUS_BANDWIDTH_NARROWBAND

4 kHz bandpass

#define OPUS_BANDWIDTH_SUPERWIDEBAND

12 kHz bandpass

#define OPUS_BANDWIDTH_WIDEBAND

8 kHz bandpass

#define OPUS_BITRATE_MAX

Maximum bitrate.

#define OPUS_SIGNAL_MUSIC   3002

Signal being encoded is music.

#define OPUS_SIGNAL_VOICE   3001

Signal being encoded is voice.

For more information visit the Opus Website.