I haven't tested with m4a lossless, but I have played about 14 or so lossless wav simultaneously as well as that many m4a compressed files. They are all buffered though.
On Jan 11, 2015, at 7:08 PM, Robert Carroll < email@hidden> wrote: Hi.
Thanks. I am doing that with the same function call.
Further investigation is pointing to some other issue. My code that reads the ExtAudioFile objects is playing single m4a files, but not multiple files set up on different mixer buses. I was testing with a single A440.if file then with 3 m4a lossless files for C4, E4, G4 which should play simultaneously.
On iOS 7 it works, on iOS 8 I get a brief burst of vicious white noise.
I’m inclined to think this is back to the storage type for the sample data. Since, I haven’t found an answer to a replacement for the AudioUnitSampleType on iOS, I had reverted my code to using that type.
rob On Jan 11, 2015, at 6:25 PM, Matt Hart < email@hidden> wrote:
I use this with iOS 8 and 7 without any issues. Did you set the expected client data format onto the audio file property?
status = ExtAudioFileSetProperty(_audioFile, kExtAudioFileProperty_ClientDataFormat, sizeof(_targetAudioDescription), &_targetAudioDescription);
On Jan 11, 2015, at 1:56 PM, Robert Carroll < email@hidden> wrote: I am attempting to narrow down the options why my audiograph code is failing on iOS 8.
I am using ExtAudioFileRead to extract data from applelossless source files and load structs set up for this purpose. The buffers and audioData parts of the struct are typed as AudioUnitSampleType.
All of this works as it should on iOS’s up to 7.x. Running on iOS 8.1.2 I can play aiff source files with this code but get distortion if I load the m4a (lossless) files.
What changed in iOS 8 with extaudiofile that would account for this issue?
thanks
rob
Robert Carroll RSM Records Toronto
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
|