Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(318464)

Side by Side Diff: include/opusfile.h

Issue 1550: Minor documentation cross-reference. (Closed)
Patch Set: Created 2 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /******************************************************************** 1 /********************************************************************
2 * * 2 * *
3 * THIS FILE IS PART OF THE libopusfile SOFTWARE CODEC SOURCE CODE. * 3 * THIS FILE IS PART OF THE libopusfile SOFTWARE CODEC SOURCE CODE. *
4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
5 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * 5 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
7 * * 7 * *
8 * THE libopusfile SOURCE CODE IS (C) COPYRIGHT 1994-2012 * 8 * THE libopusfile SOURCE CODE IS (C) COPYRIGHT 1994-2012 *
9 * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * 9 * by the Xiph.Org Foundation and contributors http://www.xiph.org/ *
10 * * 10 * *
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 All Opus audio is coded at 48 kHz, and should also be decoded at 48 kHz 232 All Opus audio is coded at 48 kHz, and should also be decoded at 48 kHz
233 for playback (unless the target hardware does not support this sampling 233 for playback (unless the target hardware does not support this sampling
234 rate). 234 rate).
235 However, this field may be used to resample the audio back to the original 235 However, this field may be used to resample the audio back to the original
236 sampling rate, for example, when saving the output to a file.*/ 236 sampling rate, for example, when saving the output to a file.*/
237 opus_uint32 input_sample_rate; 237 opus_uint32 input_sample_rate;
238 /**The gain to apply to the decoded output, in dB, as a Q8 value in the range 238 /**The gain to apply to the decoded output, in dB, as a Q8 value in the range
239 -32768...32767. 239 -32768...32767.
240 The <tt>libopusfile</tt> API will automatically apply this gain to the 240 The <tt>libopusfile</tt> API will automatically apply this gain to the
241 decoded output before returning it, scaling it by 241 decoded output before returning it, scaling it by
242 <code>pow(10,output_gain/(20.0*256))</code>.*/ 242 <code>pow(10,output_gain/(20.0*256))</code>.
243 You can adjust this behavior with op_set_gain_offset().*/
243 int output_gain; 244 int output_gain;
244 /**The channel mapping family, in the range 0...255. 245 /**The channel mapping family, in the range 0...255.
245 Channel mapping family 0 covers mono or stereo in a single stream. 246 Channel mapping family 0 covers mono or stereo in a single stream.
246 Channel mapping family 1 covers 1 to 8 channels in one or more streams, 247 Channel mapping family 1 covers 1 to 8 channels in one or more streams,
247 using the Vorbis speaker assignments. 248 using the Vorbis speaker assignments.
248 Channel mapping family 255 covers 1 to 255 channels in one or more 249 Channel mapping family 255 covers 1 to 255 channels in one or more
249 streams, but without any defined speaker assignment.*/ 250 streams, but without any defined speaker assignment.*/
250 int mapping_family; 251 int mapping_family;
251 /**The number of Opus streams in each Ogg packet, in the range 1...255.*/ 252 /**The number of Opus streams in each Ogg packet, in the range 1...255.*/
252 int stream_count; 253 int stream_count;
(...skipping 1897 matching lines...) Expand 10 before | Expand all | Expand 10 after
2150 2151
2151 # if OP_GNUC_PREREQ(4,0) 2152 # if OP_GNUC_PREREQ(4,0)
2152 # pragma GCC visibility pop 2153 # pragma GCC visibility pop
2153 # endif 2154 # endif
2154 2155
2155 # if defined(__cplusplus) 2156 # if defined(__cplusplus)
2156 } 2157 }
2157 # endif 2158 # endif
2158 2159
2159 #endif 2160 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld