$treeview $search $mathjax
Opus
$projectbrief
1.0.2
$projectbrief
$searchbox
Main Page   Modules   File List   Globals  

Decoder related CTLs


Defines

#define OPUS_SET_GAIN(x)
 Configures decoder gain adjustment. More...

#define OPUS_GET_GAIN(x)
 Gets the decoder's configured gain adjustment. More...


Detailed Description

See also:
Generic CTLs, Encoder related CTLs, Opus Decoder

Define Documentation

#define OPUS_GET_GAIN  
 

Gets the decoder's configured gain adjustment.

See also:
OPUS_SET_GAIN
am[out] x <tt>opus_int32 *</tt>: Amount to scale PCM signal by in Q8 dB units.

#define OPUS_SET_GAIN  
 

Configures decoder gain adjustment.

Scales the decoded output by a factor specified in Q8 dB units. This has a maximum range of -32768 to 32767 inclusive, and returns OPUS_BAD_ARG otherwise. The default is zero indicating no adjustment. This setting survives decoder reset.

gain = pow(10, x/(20.0*256))

am[in] x <tt>opus_int32</tt>: Amount to scale PCM signal by in Q8 dB units.
For more information visit the Opus Website.