aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2012-07-11 02:33:55 -0400
committerGregory Maxwell <greg@xiph.org>2012-07-11 02:33:55 -0400
commit03105f5b70f7597f36f4644f36a921317b859082 (patch)
tree65cfeadfc8f52f7a82192c89fb3de289f1d177f0 /include
parent9881484dbde25707b93d988cff6316d2f375727a (diff)
downloadlibopus-03105f5b70f7597f36f4644f36a921317b859082.tar.gz
Make OPUS_SET_GAIN survive decode reset.
This is the less-surprising behavior and will hopefully result in fewer corner case bugs (e.g. losing gain after seeking). This commit also updates the documentation.
Diffstat (limited to 'include')
-rw-r--r--include/opus_defines.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/opus_defines.h b/include/opus_defines.h
index de04ec5c..0b828179 100644
--- a/include/opus_defines.h
+++ b/include/opus_defines.h
@@ -450,7 +450,8 @@ extern "C" {
/** 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.
+ * OPUS_BAD_ARG otherwise. The default is zero indicating no adjustment.
+ * This setting survives decoder reset.
*
* gain = pow(10, x/(20.0*256))
*