• 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
How to identify Streaming Audio Data Format - iOS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to identify Streaming Audio Data Format - iOS


  • Subject: How to identify Streaming Audio Data Format - iOS
  • From: Sasikumar JP <email@hidden>
  • Date: Fri, 26 Apr 2013 07:00:34 +0530

Hi,
  
    I would like to know how to identify the stream data format using Core Audio API. 

I am using AudioFileStreamOpen API with hint as 0, expecting that it would return property notification with property id = kAudioFileStreamProperty_DataFormat.

If i use AudioFileStreamOpen API with hint as 0. Parsing fails with typ? error code.

If i specify the hint as kAudioFileMP3Type, everything works fine for MP3 stream.

what is the best way to identify the audio stream data format using CoreAudio API?

My application will have to handle AAC/MP3 audio stream formats. i will not know in advance what data format for each stream.i will like the Core audio API detects the data format.

Any help is highly appreciated.

Thank you
Sasikumar JP
 _______________________________________________
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: How to identify Streaming Audio Data Format - iOS
      • From: Chris Adamson <email@hidden>
  • Prev by Date: Replacement for RegisterComponentFileRef()
  • Next by Date: Re: How to identify Streaming Audio Data Format - iOS
  • Previous by thread: Replacement for RegisterComponentFileRef()
  • Next by thread: Re: How to identify Streaming Audio Data Format - iOS
  • Index(es):
    • Date
    • Thread