[speex-dev] question on usage of the libraries
Folkert van Heusden
folkert at vanheusden.com
Fri Dec 13 12:47:24 PST 2002
> Could it be, that if I call
> speex_init_header(&header, rate, 1, mode);
> with rate set to 22050 that the encoder fails
> producing garbage?
> I could not find anything in the documentation
> on what I should set rate to.
JM> No, even if you put garbage in the header, the encoder will still work
JM> (though you'd need to send the header info to the decoder somehow)...
JM> Maybe if you explain to me what you're trying to do (overall), it might
JM> be easier to help.
Well, it's simple: I have a sample of sampling-rate x that I wish to
compress to output with max bit-rate of y.
That's about it :-)
I'm using the example code from the webpage (see my first message).
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'speex-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Speex-dev
mailing list