• 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
armv6 versus armv7 buffer data type?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Multiple ScheduledAudioFileRegions for AUAudioFilePlayer, order matters?
  • Next by Date: Re: Detecting a beep in a movie file audio track
  • Previous by thread: Multiple ScheduledAudioFileRegions for AUAudioFilePlayer, order matters?
  • Next by thread: mouse handling issue in GarageBand/Logic
  • Index(es):
    • Date
    • Thread