• 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
RE: audio queue start fails with 1752656245. bug in quick time on iPhone 2g running OS 3.0?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: audio queue start fails with 1752656245. bug in quick time on iPhone 2g running OS 3.0?


  • Subject: RE: audio queue start fails with 1752656245. bug in quick time on iPhone 2g running OS 3.0?
  • From: "Andrew E. Davidson" <email@hidden>
  • Date: Fri, 7 Aug 2009 13:40:02 -0700

YIKES!

 

Using debugger I discovered AudioSessionGetProperty( kAudioSessionProperty_CurrentHardwareSampleRate) returns 44100 on iphone 2g running OS 3.0

 

Do you want me to file a bug?

 

Andy

 

I did a little more digging around. I looked at the file I sent in email using afinfo (I am not an expert) and noticed something odd.

 

File type id: m4af

Data format 1 ch, 11025 hz, ‘alac’ from 16-bit source, 4096 frames/packet . this is as expected. How ever the estimated duration is 50.023 seconds. It should be at most 5 – 15 sec! The actual file size on disk is only 44k

 

this is kind of bad. the highest sample rate that you can record on a 2G iphone is 8KHz, so why are you recording at 11? You are adding all kids of distortions in here by upsampling. So you should fix this - to do that, make sure that the sample rate you get data in matches the current hardware sample rate (and make sure your session is active first)

 

 

 _______________________________________________
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: audio queue start fails with 1752656245. bug in quick time on iPhone 2g running OS 3.0?
      • From: Benjamin Faber <email@hidden>
    • Re: audio queue start fails with 1752656245. bug in quick time on iPhone 2g running OS 3.0?
      • From: Doug Wyatt <email@hidden>
References: 
 >audio queue start fails with 1752656245. bug in quick time on iPhone 2g running OS 3.0? (From: "Andrew E. Davidson" <email@hidden>)

  • Prev by Date: RE: Wrapper class for Cocoa Audio Units in Carbon Hosts
  • Next by Date: Re: audio queue start fails with 1752656245. bug in quick time on iPhone 2g running OS 3.0?
  • Previous by thread: Re: audio queue start fails with 1752656245. bug in quick time on iPhone 2g running OS 3.0?
  • Next by thread: Re: audio queue start fails with 1752656245. bug in quick time on iPhone 2g running OS 3.0?
  • Index(es):
    • Date
    • Thread