Displaying 1 result from an estimated 1 matches for "vorbis_audio_out".
1999 Oct 11
2
XMMS plugin patch
...{
+ gint16 *outptr = pcmout;
+
for(s = 0; s < samples; s++)
for(c = 0; c < od.vi.channels; c++)
- pcmout[(s * od.vi.channels + c) * sizeof(gshort)] = pcm[c][s] * 32767;
+ *(outptr++) = pcm[c][s] * 32767;
vorbis_audio_out(pcmout, samples * od.vi.channels * sizeof(gshort), od.vi.channels);
vorbis_synthesis_read(&od.vd, samples);
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/