search for: i32error

Displaying 5 results from an estimated 5 matches for "i32error".

Did you mean: 53error
2016 Jan 07
2
Issue with decoding 8-bit PCM data
...g parameters ui32SamplingRate = 8000 ui32Channel = 1 FRAME_SIZE_IN_MS is 20 MAX_PACKET is 1500 ui8ScaleFactor = 1 for 8-bit and 2 for 16-bit data ui32BitsPerSample = 8 for 8-bit data and 16 for 16-bit data The code is as follows sOpusDec = opus_decoder_create(ui32SamplingRate, ui32Channel, &i32error); if (i32error != OPUS_OK) { return((int)i32error); } opus_decoder_ctl(sOpusDec, OPUS_SET_LSB_DEPTH(ui32BitsPerSample)); ui32SizeOfWrBuf = (ui32SamplingRate*ui32Channel*FRAME_SIZE_IN_MS*ui8ScaleFactor)/1000; opi16_out = (int16_t*)calloc(((ui32SizeOfWrBuf/ui8ScaleFactor)+1),sizeof(int16_t))...
2018 Feb 23
3
[EXTERNAL] Re: Developing OPUS on TI CC3220
...ly here is how I am setting up my encoder: int size = opus_encoder_get_size(1); sOpusEnc = Memory_alloc(OpusHeap,size,NULL,NULL); // // sOpusEnc = opus_encoder_create(16000, // 1, // OPUS_APPLICATION_VOIP, &i32error); i32error = opus_encoder_init(sOpusEnc, 16000, 1, OPUS_APPLICATION_RESTRICTED_LOWDELAY); opus_encoder_ctl(sOpusEnc, OPUS_SET_BITRATE(16000)); opus_encoder_ctl(sOpusEnc, OPUS_SET_VBR(1)); opus_encoder_ctl(sOpusEnc, OPUS_SET_VBR_CONSTRAINT(0)); opus_encoder_ctl(sOpusEnc,...
2018 Feb 20
2
[EXTERNAL] Re: Developing OPUS on TI CC3220
Jean-Marc, Thanks for the response and the helpful info. I am trying to get the library to build without using the pseudostack define, and use either VAR_ARRAYS or ALLOC, but it seems the global stack is not defined. Where do can I define this in my example? VR -----Original Message----- From: Jean-Marc Valin [mailto:jmvalin at jmvalin.ca] Sent: Tuesday, February 20, 2018 5:40 PM To:
2018 Feb 23
0
[EXTERNAL] Re: Developing OPUS on TI CC3220
...the only heap Opus needs is the encoder state which holds both the SILK and the CELT state. What stack allocator did you end up choosing? If you used the pseudo-stack, then that allocates a lot of heap memory. If not, then maybe you have some sort of collision between the stack and heap? >     i32error = opus_encoder_init(sOpusEnc, 16000, 1, > OPUS_APPLICATION_RESTRICTED_LOWDELAY); OPUS_APPLICATION_RESTRICTED_LOWDELAY will force CELT-only mode here, regardless of other options. >    opus_encoder_ctl(sOpusEnc, OPUS_SET_FORCE_CHANNELS(1));//Mono No need to force mono since you're only...
2018 Feb 26
0
opus Digest, Vol 109, Issue 8
...only heap Opus needs is the encoder state which holds both the SILK and the CELT state. What stack allocator did you end up choosing? If you used the pseudo-stack, then that allocates a lot of heap memory. If not, then maybe you have some sort of collision between the stack and heap? > i32error = opus_encoder_init(sOpusEnc, 16000, 1, > OPUS_APPLICATION_RESTRICTED_LOWDELAY); OPUS_APPLICATION_RESTRICTED_LOWDELAY will force CELT-only mode here, regardless of other options. > opus_encoder_ctl(sOpusEnc, OPUS_SET_FORCE_CHANNELS(1));//Mono No need to force mono since you're only...