• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
kAudioFileAAC_ADTSType for aac plus?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: kAudioFileAAC_ADTSType for aac plus?
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Applying a low-pass cutoff inside an AU
  • Next by Date: Input buses for multichannel mixer
  • Previous by thread: audio out device detection
  • Next by thread: Re: kAudioFileAAC_ADTSType for aac plus?
  • Index(es):
    • Date
    • Thread