Re: Why won't Xcode won't let me use the Accelerate framework in my project?
Re: Why won't Xcode won't let me use the Accelerate framework in my project?
- Subject: Re: Why won't Xcode won't let me use the Accelerate framework in my project?
- From: "Patrick J. Collins" <email@hidden>
- Date: Tue, 05 Jul 2016 13:53:55 -0700 (PDT)
> Is your code C++? If so, that’s the error you’d get if one of your parameters were the wrong type.
Ahhh.. wow.. ok, yeah my buffers are of type int16_t... How can I
use this vDSP_vsmul with that type? If I cast as float:
vDSP_vsmul((float *)buffer, 1, &gain, (float *)buffer, 1, frames);
It ends up sounding like trash...
Really, I just am trying to do:
for (int i = 0; i < frames; i++) {
buffer[i] *= gain;
}
Is there a way to do this with vDSP_vsmul?
Patrick J. Collins
http://collinatorstudios.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden