Re: Sporadic input on iPod Touch 2G
Re: Sporadic input on iPod Touch 2G
- Subject: Re: Sporadic input on iPod Touch 2G
- From: William Stewart <email@hidden>
- Date: Thu, 7 May 2009 15:08:41 -0700
Where is the input coming from? (Mic, headset, etc - or doesn't it
matter)
What is the sample rate of the hardware?
Is that different from the sample rate of the audio you are receiving
from AURemoteIO (that would imply that there is a resample between the
hardware and you, and that might be causing a problem)
If you could add this information and write a bug, that would help
Thanks
Bill
On May 7, 2009, at 9:58 AM, Evan Olcott wrote:
Got an issue that seems hardware-ish, but thought I'd throw it out
there and see if anyone else knows about it:
For a strangely regular period (which seems to repeat every few
seconds), there are a handful of buffers we are receiving from the
input AURemoteIO that have a few "silent" samples at the end.
We'll get a notification that there's 1024 samples ready, prepare
our buffer (we don't necessarily zero it), and then call
AudioUnitRender to get the samples from the AURemoteIO. Everything
passes with success, but in these cases the last 2-12 samples are
zero. The waveform shows that the audio isn't *lost*, it just seems
that the audio has been *silenced*. It's as if the render
notification was made a few samples too early or something... and it
happens in a strange rhythmic pattern that repeats every few seconds.
Has anyone else noticed this? We use the same code on the iPhone and
not seen this, and it smells like a hardware issue, whether it's an
audio driver thing, or a race condition thing. It's not regularly
replicable, and we've only seen it on iPod Touch 2G.
TIA
Ev
Technical Knowledge Officer
Head Programmer/Designer
Audiofile Engineering
http://www.audiofile-engineering.com/
_______________________________________________
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
_______________________________________________
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