Displaying 1 result from an estimated 1 matches for "pacontinu".
Did you mean:
pacontinue
2013 Dec 05
1
playback of opus files using portaudio
...)
{
OurData *data=(OurData*) userData;
opus_int16* out=(opus_int16 *)output;
int thisSize=frameCount;
int smpls_decoded;
while (thisSize>0)
{
smpls_decoded=op_read(data->sndFile,out,thisSize,NULL);
out+=data->channels*smpls_decoded;
thisSize-=data->channels*smpls_decoded;
}
return paContinue;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/opus/attachments/20131205/236007a9/attachment.htm