Displaying 2 results from an estimated 2 matches for "mframesize".
Did you mean:
framesize
2006 Dec 12
0
sanity check
...to read the captured data, which is 100 ms of 16 bit sample data at 16kHz. (1600 samples)
When I pass this data unaltered to the playback stream it plays fine with maybe 200 ms lag, which is correct.
Encoding: Quality 6, VBR
mResult = speex_encoder_ctl( mEncodeState, SPEEX_GET_FRAME_SIZE, & mFrameSize);
The encoder returns a frame size of 320. Sanity check 1. This means 320 sample frames of 16 bit samples, or 620 bytes of data right?
So encoding my 100 ms, 3200 byte buffer of mic captured samples compresses 5 frames of source at 640 bytes (320 samples) each.
You were correct in that each frame...
2006 Dec 13
0
sanity check
...6 bit sample data
> at 16kHz. (1600 samples)
> When I pass this data unaltered to the playback stream it plays fine
> with maybe 200 ms lag, which is correct.
>
>
> Encoding: Quality 6, VBR
>
> mResult = speex_encoder_ctl( mEncodeState, SPEEX_GET_FRAME_SIZE, &
> mFrameSize);
>
> The encoder returns a frame size of 320. Sanity check 1. This means 320
> sample frames of 16 bit samples, or 620 bytes of data right?
>
> So encoding my 100 ms, 3200 byte buffer of mic captured samples
> compresses 5 frames of source at 640 bytes (320 samples) each.
>...