Re: sample rate
Re: sample rate
- Subject: Re: sample rate
- From: "apple question" <email@hidden>
- Date: Tue, 27 Jun 2006 14:05:57 -0800
I am not using the file format since all I am interested is converting raw
data. First I define the input/output format(inDataFormat.mSampleRate =
48000.; outDataFormat.mSampleRate = 16000.;), and then create a new audio
converter based on the formats. After that I provide audio data to the
AudioConverterFillComplexBuffer call back function and get the converted
data back. The audio data I am providing was captured earlier from
AudioUnitRender.
Thanks.
From: Doug Wyatt <email@hidden>
To: apple question <email@hidden>
CC: email@hidden
Subject: Re: sample rate
Date: Tue, 27 Jun 2006 14:15:14 -0700
On Jun 27, 2006, at 14:01 , apple question wrote:
Hi,
If I use AudioConverter to convert a 48K sample rate audio file to a
16K sample rate file, shouldn't the converted file size be one third of
the orignal? Currently I am seeing both of the file at the same size.
Could someone help?
I suggest that you build afinfo -- in /Developer/Examples/CoreAudio/
Services/AudioFileTools
What does it report as the format of the file that you create?
Doug
--
Doug Wyatt
Core Audio, Apple
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden