Discussion:
[mad-user] minimad.c change sampling frequency
bobby digital
2005-01-02 15:29:49 UTC
Permalink
Hello everyone!

How can I change the sampling frequency from 44khz to 48khz easily in minimad.c, that is, in the highlevel api?

Thanks, steels.
--
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze
Rob Leslie
2005-01-02 20:16:36 UTC
Permalink
Post by bobby digital
How can I change the sampling frequency from 44khz to 48khz easily in
minimad.c, that is, in the highlevel api?
You can't; the library does not provide resampling facilities. You'll
have to use another library to resample the output, or do it yourself.
--
Rob Leslie
***@mars.org
Jamie Wilkinson
2005-01-03 12:21:17 UTC
Permalink
Post by Rob Leslie
Post by bobby digital
How can I change the sampling frequency from 44khz to 48khz easily in
minimad.c, that is, in the highlevel api?
You can't; the library does not provide resampling facilities. You'll
have to use another library to resample the output, or do it yourself.
I recommend libsamplerate, http://www.mega-nerd.com/SRC/

Loading...