search for: packetsamplescount

Displaying 2 results from an estimated 2 matches for "packetsamplescount".

2014 Jun 04
3
opus_multistream_encode_float not working in libopus 1.1
Finally got it to compile and attach the MSVC debugger. It fails at the following: if ((!st->variable_duration && 400*frame_size != st->Fs && 200*frame_size != st->Fs && 100*frame_size != st->Fs && 50*frame_size != st->Fs && 25*frame_size != st->Fs && 50*frame_size != 3*st->Fs) || (400*frame_size <
2014 Jun 04
4
opus_multistream_encode_float not working in libopus 1.1
...rlier releases. It indicates the size of the > buffer you are passing to the encoder to receive the encoded output. Actually, I'm passing a massive buffer size. The debugger shows I'm passing 10200 bytes, which lines up with my source code: while(RemoveFloatSamples(ack,packetsamplescount)) { char *tout=new char[1275*2*Fnch]; int len=encode_float(e_state,ack,packetframescount,tout,1275*2*Fnch); if(len>0) { AddOpusPacket(tout,len,packetframescount*rscale);...