Re: AudioFile API vs. IMA-in-WAV-type files
Re: AudioFile API vs. IMA-in-WAV-type files
- Subject: Re: AudioFile API vs. IMA-in-WAV-type files
- From: Doug Wyatt <email@hidden>
- Date: Thu, 8 Jun 2006 10:56:44 -0700
On Jun 8, 2006, at 10:32 , Evan Olcott wrote:
Trying to use the CAAudioFile API to read either of these files:
http://www.igorlabs.com/etc/dirtsurface1C.wav
http://www.igorlabs.com/etc/fort_cruise_missile16_11_looped_i.wav
Both of these files read and play with Quicktime Player.
When I ask for the stream format, I get no error return but the
stream format comes up cleared out and empty...
The AudioFile apparently doesn't understand the format... you're not
doing anything wrong.
$ afinfo /tmp/dirtsurface1c.wav
File: /tmp/dirtsurface1c.wav
File type ID: WAVE
Data format: 0 ch, 0 Hz, ' ' (0x00000000) 0 bits/channel,
0 bytes/packet, 0 frames/packet, 0 bytes/frame
no channel layout.
audio bytes: 2816
audio packets: 2
maximum packet size: 1024
packet size upper bound: 1024
audio data file offset: 60
--
Doug Wyatt
Core Audio, Apple
_______________________________________________
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