search for: frame_size_in_m

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

Did you mean: frame_size_in_ms
2016 Jan 07
2
Issue with decoding 8-bit PCM data
...ut on 16 bit data the output is working. Both the 8 and 16 bit files are from the same source and hence except for some loss of quality on 8 bit, they are identical in total play back duration. For both 8 and 16 bit data I have used the following 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); }...