[Speex-dev] 2 questions, frame size and SPEEX_GET_LOOKAHEAD

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Tue Oct 31 12:38:32 PST 2006


> In my application, even 5ms (110 samples at 22KHz) matters. 

1) If 5 ms matters, I don't recommend Ogg (and I definitely hope you're
not running Windows!)
2) 22 kHz is *not* recommended. Use 16 kHz instead

> So what
> should I do to avoid discarding samples at the beginning?

Why are they so precious, they're *zeros* (or nearly).

> 1. Turning off look ahead?
> 2. Padding 0's at the beginning.

Or you can always just play them if they're so precious. Ah, the sound
of 5ms worth of zeros...

	Jean-Marc


More information about the Speex-dev mailing list