kAudioFileAAC_ADTSType for aac plus?
kAudioFileAAC_ADTSType for aac plus?
- Subject: kAudioFileAAC_ADTSType for aac plus?
- From: Jacobson981 <email@hidden>
- Date: Tue, 15 Sep 2009 12:33:47 +0300
i'm using AudioFileStreamOpen to listen aac plus streams.
i initialize queue with kAudioFileAAC_ADTSType.
i get AudioStreamBasicDescription filled in
kAudioFileStreamProperty_ReadyToProducePackets with
AudioFileStreamGetProperty(inAudioFileStream,
kAudioFileStreamProperty_DataFormat, &descSize, &desc);
it plays perfectly. But,
NSLog(@"samplerate: %f",asbd.mSampleRate);
NSLog(@"mBitsPerChannel: %f",asbd.mBitsPerChannel);
NSLog(@"mChannelsPerFrame: %f",asbd.mChannelsPerFrame);
NSLog(@"mBytesPerPacket: %f",asbd.mBytesPerPacket);
NSLog(@"mFramesPerPacket: %f",asbd.mFramesPerPacket);
Outputs:
samplerate: 22050.000000
mBitsPerChannel: 22050.000000
mChannelsPerFrame: 22050.000000
mBytesPerPacket: 22050.000000
mFramesPerPacket: 22050.000000
this means, audio library is unable to correctly identify stream
information, right? Why is this? Because of aacp codec?
Is there anything that can be done?
_______________________________________________
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