• 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: getting to grips with coreaudio
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting to grips with coreaudio


  • Subject: Re: getting to grips with coreaudio
  • From: tahome izwah <email@hidden>
  • Date: Sun, 7 Nov 2010 19:24:43 +0100

2010/11/7 David Plans <email@hidden>:
>
> Thanks Tahome, that's precisely what I was doing...the data is SInt16 is my FFT array is double...
> [snip]
> and then:
>
>        int sizeOfArray = sourceBuffer.mDataByteSize / sizeof(float);

If your data is double so should be the wordlength of your array members:

>        int sizeOfArray = sourceBuffer.mDataByteSize / sizeof(double);

HTH
--th
 _______________________________________________
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

References: 
 >Re: getting to grips with coreaudio (From: David Plans <email@hidden>)
 >Re: getting to grips with coreaudio (From: tahome izwah <email@hidden>)
 >Re: getting to grips with coreaudio (From: David Plans <email@hidden>)

  • Prev by Date: Re: getting to grips with coreaudio
  • Next by Date: Re: Xcode 3.24 and ppc64 support?
  • Previous by thread: Re: getting to grips with coreaudio
  • Next by thread: CoreAudio playback issue
  • Index(es):
    • Date
    • Thread