armv6 versus armv7 buffer data type?
armv6 versus armv7 buffer data type?
- Subject: armv6 versus armv7 buffer data type?
- From: David Plans <email@hidden>
- Date: Wed, 24 Nov 2010 12:01:31 -0500
Hello all
Is it possible that whilst using CoreAudio in iOS, one has to declare UInt16 buffer for armv6 devices, but one can do float buffers for armv7 devices?
If it's not a hardware issue, is there a doc somewhere that explains the difference? I'm finding that using RemoteIO, I have to declare the buffer datatype as UInt16, but I've just looked at code from someone else that stutters (gating every 30ms) on armv6 devices, but works on armv7, that uses the 'normal' ioData->mBuffers[0].mData (which if I'm correct, is SInt16), and then:
for (int i = 0; i < floatBufferLength; i++) {
floatBuffer[i] = ((float) shortBuffer[i]) * a;
}
it seems to work for them, but only on armv7
what am I missing?
best,
david plans _______________________________________________
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