Sample Rate Conversion
Sample Rate Conversion
- Subject: Sample Rate Conversion
- From: "Steven A. Kortze" <email@hidden>
- Date: Sun, 20 Apr 2003 15:15:51 -0400
In my current project, I have adapted the mpg123 OS X port
(audio_macosx.c file) to use AudioUnits instead of an AudioDevice. I am
using an 8 channel M-Audio Revolution PCI sound card. The output
AudioUnit takes care of two channel to 8 channel conversion and sample
rate conversion is also done if the selected sample rate of the card is
not currently 44.1 kHz. The problem is that the rate conversion makes
it sound like I have pops or static. I have tried changing the SRC
Algorithm from 'csrc' to 'poly'.
Is there any way around this? Should I try to set the sample rate of
the device to match the typical MP3 sample rate? Will my
hardware/device settings be valid when I am using AudioUnits instead of
an AudioDevice? I realize that playing a 44.1 kHz MP3 at 96 or 192 kHz
doesn't make a lot of sense, but I just wanted to see handle this
possibility.
I tried getting & setting the render quality, but I kept getting
InvalidProperty errors. The AudioUnit that I am using is a V2 unit (in
10.2.5) , not a V1 unit, if that matters.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.