Mercurial > hg > sv-dependency-builds
annotate src/libvorbis-1.3.3/doc/libvorbis/vorbis_synthesis_halfrate.html @ 169:223a55898ab9 tip default
Add null config files
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Mon, 02 Mar 2020 14:03:47 +0000 |
parents | 98c1576536ae |
children |
rev | line source |
---|---|
cannam@86 | 1 <html> |
cannam@86 | 2 |
cannam@86 | 3 <head> |
cannam@86 | 4 <title>libvorbis - function - vorbis_synthesis_halfrate</title> |
cannam@86 | 5 <link rel=stylesheet href="style.css" type="text/css"> |
cannam@86 | 6 </head> |
cannam@86 | 7 |
cannam@86 | 8 <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff"> |
cannam@86 | 9 <table border=0 width=100%> |
cannam@86 | 10 <tr> |
cannam@86 | 11 <td><p class=tiny>libvorbis documentation</p></td> |
cannam@86 | 12 <td align=right><p class=tiny>libvorbis version 1.3.2 - 20101101</p></td> |
cannam@86 | 13 </tr> |
cannam@86 | 14 </table> |
cannam@86 | 15 |
cannam@86 | 16 <h1>vorbis_synthesis_halfrate</h1> |
cannam@86 | 17 |
cannam@86 | 18 <p><i>declared in "vorbis/codec.h";</i></p> |
cannam@86 | 19 |
cannam@86 | 20 <p>This function puts the Vorbis decoder into or out of half-rate |
cannam@86 | 21 mode. In half-rate mode, the audio is decoded to only half its original |
cannam@86 | 22 sampling rate. Half-rate mode speeds up decoding at the expense of |
cannam@86 | 23 decoded audio quality.</p> |
cannam@86 | 24 |
cannam@86 | 25 <table border=0 color=black cellspacing=0 cellpadding=7> |
cannam@86 | 26 <tr bgcolor=#cccccc> |
cannam@86 | 27 <td> |
cannam@86 | 28 <pre><b> |
cannam@86 | 29 extern int vorbis_synthesis_halfrate(vorbis_info *v,int flag); |
cannam@86 | 30 </b></pre> |
cannam@86 | 31 </td> |
cannam@86 | 32 </tr> |
cannam@86 | 33 </table> |
cannam@86 | 34 |
cannam@86 | 35 <h3>Parameters</h3> |
cannam@86 | 36 <dl> |
cannam@86 | 37 <dt><i>v</i></dt> |
cannam@86 | 38 <dd>The <a href="vorbis_info.html">vorbis_info</a> structure for the |
cannam@86 | 39 decoder instance.</dd> |
cannam@86 | 40 <dt><i>flag</i></dt> |
cannam@86 | 41 <dd>Whether half-rate mode is to be turned on or off. Zero turns it off; |
cannam@86 | 42 nonzero turns it on.</dd> |
cannam@86 | 43 </dl> |
cannam@86 | 44 |
cannam@86 | 45 |
cannam@86 | 46 <h3>Return Values</h3> |
cannam@86 | 47 <blockquote> |
cannam@86 | 48 <li>0 on success.</li> |
cannam@86 | 49 <li>-1 if half-rate mode could not be set.</li> |
cannam@86 | 50 </blockquote> |
cannam@86 | 51 <p> |
cannam@86 | 52 |
cannam@86 | 53 <br><br> |
cannam@86 | 54 <hr noshade> |
cannam@86 | 55 <table border=0 width=100%> |
cannam@86 | 56 <tr valign=top> |
cannam@86 | 57 <td><p class=tiny>copyright © 2010 Xiph.Org</p></td> |
cannam@86 | 58 <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/index.html">Ogg Vorbis</a></p></td> |
cannam@86 | 59 </tr><tr> |
cannam@86 | 60 <td><p class=tiny>libvorbis documentation</p></td> |
cannam@86 | 61 <td align=right><p class=tiny>libvorbis version 1.3.2 - 20101101</p></td> |
cannam@86 | 62 </tr> |
cannam@86 | 63 </table> |
cannam@86 | 64 |
cannam@86 | 65 |
cannam@86 | 66 </body> |
cannam@86 | 67 |
cannam@86 | 68 </html> |