Re: AudioFile problems with DVI ADPCM files
Re: AudioFile problems with DVI ADPCM files
- Subject: Re: AudioFile problems with DVI ADPCM files
- From: "Isaac Wankerl" <email@hidden>
- Date: Wed, 7 Jun 2006 14:29:27 -0500
On 6/7/06, William Stewart <email@hidden> wrote:
The format in DVI is already Linear PCM isn't it? If so, then the job
you have to do is to pull the audio data out of this bitstream. this
isn't an audio converter operation - the converter works by you
providing the data you have already in contiguous blocks for
transformation to some other audio format.
I should have said that this is DVI/Intel IMA ADPCM where the format
code of the wav file is 17.
This call is failing below because there is no Audio File component
that understands these files. You can write one - in which case its
main task would be too disentangle the audio data and return them
from the AudioFileReadPackets call. There's an example of this file
component in the CoreAudio SDK - /Developer/Examples/CoreAudio
Is AudioFileGetProperty() designed to return noErr when there aren't
any Audio File components that understand the format? I would expect
kAudioFileUnsupportedDataFormatError to be returned. I'll file a bug
on this.
Isaac
_______________________________________________
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