Re: Getting distorted sound from AU
Re: Getting distorted sound from AU
- Subject: Re: Getting distorted sound from AU
- From: tahome izwah <email@hidden>
- Date: Mon, 26 Jul 2010 08:42:59 +0200
render callback:
(1) I believe your phaseIncrement value should be 2 * M_PI * freq / sr
(2) It sounds like you're resetting your phase at the wrong time. Try
adding phase = fmod(phase, 2.*M_PI); after line 12 and remove lines
15-17
(3) sinSignal is redundant and can be removed.
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