Opus: Pre-defined values for CTL interface

Opus audio codec (RFC 6716): API and operations manual
| 1.6.1

Loading...
Searching...
No Matches
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_APPLICATION_RESTRICTED_SILK 2052
| Experts only: forces SILK encoding; don't allocate CELT state at all.
#define | OPUS_APPLICATION_RESTRICTED_CELT 2053
| Experts only: forces CELT encoding; don't allocate SILK state at all.
#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
#define | OPUS_FRAMESIZE_ARG 5000
| Select frame size from the argument (default).
#define | OPUS_FRAMESIZE_2_5_MS 5001
| Use 2.5 ms frames.
#define | OPUS_FRAMESIZE_5_MS 5002
| Use 5 ms frames.
#define | OPUS_FRAMESIZE_10_MS 5003
| Use 10 ms frames.
#define | OPUS_FRAMESIZE_20_MS 5004
| Use 20 ms frames.
#define | OPUS_FRAMESIZE_40_MS 5005
| Use 40 ms frames.
#define | OPUS_FRAMESIZE_60_MS 5006
| Use 60 ms frames.
#define | OPUS_FRAMESIZE_80_MS 5007
| Use 80 ms frames.
#define | OPUS_FRAMESIZE_100_MS 5008
| Use 100 ms frames.
#define | OPUS_FRAMESIZE_120_MS 5009
| Use 120 ms frames.

## Detailed Description

See also
  Generic CTLs, Encoder related CTLs

## Macro Definition Documentation

## ◆ OPUS_APPLICATION_AUDIO

#define OPUS_APPLICATION_AUDIO

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

## ◆ OPUS_APPLICATION_RESTRICTED_CELT

#define OPUS_APPLICATION_RESTRICTED_CELT 2053

Experts only: forces CELT encoding; don't allocate SILK state at all.

Disables OPUS_SET_APPLICATION.

## ◆ OPUS_APPLICATION_RESTRICTED_LOWDELAY

#define OPUS_APPLICATION_RESTRICTED_LOWDELAY

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

Voice-optimized modes cannot be used.

## ◆ OPUS_APPLICATION_RESTRICTED_SILK

#define OPUS_APPLICATION_RESTRICTED_SILK 2052

Experts only: forces SILK encoding; don't allocate CELT state at all.

Disables OPUS_SET_APPLICATION.

## ◆ OPUS_APPLICATION_VOIP

#define OPUS_APPLICATION_VOIP

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

## ◆ OPUS_AUTO

#define OPUS_AUTO

Auto/default setting.

## ◆ OPUS_BANDWIDTH_FULLBAND

#define OPUS_BANDWIDTH_FULLBAND

20 kHz bandpass

## ◆ OPUS_BANDWIDTH_MEDIUMBAND

#define OPUS_BANDWIDTH_MEDIUMBAND

6 kHz bandpass

## ◆ OPUS_BANDWIDTH_NARROWBAND

#define OPUS_BANDWIDTH_NARROWBAND

4 kHz bandpass

## ◆ OPUS_BANDWIDTH_SUPERWIDEBAND

#define OPUS_BANDWIDTH_SUPERWIDEBAND

12 kHz bandpass

## ◆ OPUS_BANDWIDTH_WIDEBAND

#define OPUS_BANDWIDTH_WIDEBAND

8 kHz bandpass

## ◆ OPUS_BITRATE_MAX

#define OPUS_BITRATE_MAX

Maximum bitrate.

## ◆ OPUS_FRAMESIZE_100_MS

#define OPUS_FRAMESIZE_100_MS 5008

Use 100 ms frames.

## ◆ OPUS_FRAMESIZE_10_MS

#define OPUS_FRAMESIZE_10_MS 5003

Use 10 ms frames.

## ◆ OPUS_FRAMESIZE_120_MS

#define OPUS_FRAMESIZE_120_MS 5009

Use 120 ms frames.

## ◆ OPUS_FRAMESIZE_20_MS

#define OPUS_FRAMESIZE_20_MS 5004

Use 20 ms frames.

## ◆ OPUS_FRAMESIZE_2_5_MS

#define OPUS_FRAMESIZE_2_5_MS 5001

Use 2.5 ms frames.

## ◆ OPUS_FRAMESIZE_40_MS

#define OPUS_FRAMESIZE_40_MS 5005

Use 40 ms frames.

## ◆ OPUS_FRAMESIZE_5_MS

#define OPUS_FRAMESIZE_5_MS 5002

Use 5 ms frames.

## ◆ OPUS_FRAMESIZE_60_MS

#define OPUS_FRAMESIZE_60_MS 5006

Use 60 ms frames.

## ◆ OPUS_FRAMESIZE_80_MS

#define OPUS_FRAMESIZE_80_MS 5007

Use 80 ms frames.

## ◆ OPUS_FRAMESIZE_ARG

#define OPUS_FRAMESIZE_ARG 5000

Select frame size from the argument (default).

## ◆ OPUS_SIGNAL_MUSIC

#define OPUS_SIGNAL_MUSIC 3002

Signal being encoded is music.

## ◆ OPUS_SIGNAL_VOICE

#define OPUS_SIGNAL_VOICE 3001

Signal being encoded is voice.