shithub: opusfile

Download patch

ref: 881a54dad434a0939c84c73ebc513a11bcb6078a
parent: cc89c685cb2f6e7519f28ff3380156de1839687b
author: Timothy B. Terriberry <tterribe@xiph.org>
date: Fri Jul 7 10:14:25 EDT 2017

Minor documentation cross-reference.

Let people reading about the output_gain field know how to change
 the way it gets applied.

--- a/include/opusfile.h
+++ b/include/opusfile.h
@@ -239,7 +239,8 @@
       -32768...32767.
      The <tt>libopusfile</tt> API will automatically apply this gain to the
       decoded output before returning it, scaling it by
-      <code>pow(10,output_gain/(20.0*256))</code>.*/
+      <code>pow(10,output_gain/(20.0*256))</code>.
+     You can adjust this behavior with op_set_gain_offset().*/
   int           output_gain;
   /**The channel mapping family, in the range 0...255.
      Channel mapping family 0 covers mono or stereo in a single stream.