Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sample rate



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:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden
References: 
 >Re: sample rate (From: Doug Wyatt <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.