Re: getting to grips with coreaudio
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