Re: AudioConverter
Re: AudioConverter
- Subject: Re: AudioConverter
- From: Kurt Bigler <email@hidden>
- Date: Mon, 20 Jan 2003 16:37:00 -0800
on 1/20/03 12:27 PM, Daniel Walton <email@hidden> wrote:
>
I am trying to use the AudioConverter with the DefaultOutputUnit to convert
>
from 48k to 44.1k. My files sound garbled, distorted and play quicker. When
>
using the AudioConverter to convert from 44.1k to 44.1k everything seems to
>
work fine.
If you are using the DefaultOutputUnit, you probably don't need the
AudioConverter. If you are playing a sound file, the DefaultOutputUnit will
already convert from the sample rate you specify to the one that the actual
output device (behind the output audio unit) is using. You just need to
specify the sample rate to match the sound file you are playing.
If you are mixing sound files recorded at different sample rates, then that
is another thing. I don't know the details about the mixer stuff that apple
provides. But if you do it yourself you may end up using the AudioConverter
in that case. There are two different flavors of audio conversion routines
and you can find a lot of info about this in the archives.
>
>
Has anyone else experienced this? I looked around the sample code..but I
>
didn't find the magic piece that showed exactly how to use the AudioConverter
>
with the DefaultOutputUnit.
>
>
thanks!
>
>
dan
>
_______________________________________________
>
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.
_______________________________________________
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.