No way to get max compressed size for a frame for a given mode
The following code:
speex_mode_query(&speex_wb_mode, SPEEX_MODE_FRAME_SIZE, &size);
can be used to get the number of samples in a frame, but there is no way to get the max number
of bytes that will compress down to.
speex_mode_query(&speex_wb_mode, SPEEX_SUBMODE_BITS_PER_FRAME, &bits)
seems close to what I want, but I really don't want to have to know what submode I will be using, I
want to deal in quality instead (or just ignore that issue and get the max value for ANY submode.)
Also the wideband version of this function seems to only return the number of bits above and
beyond what the narrowband would use.
So to properly size my buffers, right now I have hardcoded constants rather than getting the values
from Speex.