search for: gshort

Displaying 1 result from an estimated 1 matches for "gshort".

Did you mean: short
1999 Oct 11
2
XMMS plugin patch
...od.vd, &od.vb); if((samples = vorbis_synthesis_pcmout(&od.vd, &pcm)) > 0) { + 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/archive...