Re: Core Audio + LAME
Re: Core Audio + LAME
- Subject: Re: Core Audio + LAME
- From: Peter Ammon <email@hidden>
- Date: Wed, 26 Oct 2005 17:53:34 -0700
On Oct 26, 2005, at 3:17 PM, Dominic Feira wrote:
I am using LAME to encode some mp3s and I just tried to open one of
those files with the afplay example and it returns 'dta?'. Which
is kAudioFileInvalidFileError, data could not be parsed.
Perhaps I am missing something. Any suggestions?
Is there a reason for this? LAME is practically the definition of
an mp3 file since so many programs use it for encoding.
Dominic Feira / Code Monkey / Ambrosia Software, Inc.
I've found that CoreAudio has trouble automatically recognizing the
type of LAME encoded mp3s. If you specify a type hint
(kAudioFileMP3Type) in AudioFileOpen() or AudioFileOpenWithCallbacks
(), it should work.
-Peter
_______________________________________________
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