RE: audio queue start fails with 1752656245. bug in quick time on iPhone 2g running OS 3.0?
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.
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