Displaying 1 result from an estimated 1 matches for "wavehdrout".
2012 Oct 25
2
WAVE PCM to OPUS and back
...der_create(48000, 2, &opusRes);
  
                 unsigned  char  data[BUFSIZE];
                 opus_int32 dataLength = opus_encode(m_opusEncoder, (short*)Hdr->lpData, 80, data, BUFSIZE);
                 dataLength = opus_decode(m_opusDecoder, (unsigned  char*)data, dataLength, (short*)WaveHdrOut.lpData, BUFSIZE, 0);
                 waveOutWrite(hWaveOut, &WaveHdrOut,sizeof(WAVEHDR));
-- 
Best regards,
  Stepan Melnichuk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/opus/attachments/20121025/e65d2547/attachment.htm