Re: MP3 decoding on iPhone
Re: MP3 decoding on iPhone
- Subject: Re: MP3 decoding on iPhone
- From: Richard D <email@hidden>
- Date: Thu, 02 Oct 2008 08:48:10 +0100
Output format of File is:
- - - - - - - - - - - - - - - - - - - -
Sample Rate:44100.000000
Format ID:3pm.
Format Flags:0
Bytes per Packet:0
Frames per Packet:1152
Bytes per Frame:0
Channels per Frame:2
Bits per Channel:0
- - - - - - - - - - - - - - - - - - - -
Output format of Audio is:
- - - - - - - - - - - - - - - - - - - -
Sample Rate:44100.000000
Format ID:mcpl,f
Format Flags:C2C
Bytes per Packet:4
Frames per Packet:1
Bytes per Frame:4
Channels per Frame:2
Bits per Channel:32
- - - - - - - - - - - - - - - - - - - -
err = AudioConverterNew( inASBD,outASBD , conv);
OSStatus err value : 1885696621
Not sure how to interpret that error value.
The same code works fine on OSX.
RD
On 2 Oct 2008, at 07:27, tahome izwah wrote:
Does the same code work on the Mac, and what error do you get on the
iPhone?
--th
2008/10/2 Richard Dearlove <email@hidden>:
Extended Audio File was added in 2.1 which is released.
However I have the same issue using AudioFileAPI and
AudioConverters, I
assumed that ExtAudio had a problem so dropped down to using an Audio
Converter direct, but it throws an error when I try and make a
converter to
decode mp3.
Can anyone shed some light on why making an audioconverter for mp3
doesnt
work on the iphone sdk ?
RD
_______________________________________________
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