Getting distorted sound from AU
Getting distorted sound from AU
- Subject: Getting distorted sound from AU
- From: Jokke Heikkila <email@hidden>
- Date: Mon, 26 Jul 2010 01:56:22 +0300
I've been tipping my toes into core audio pool and trying to grasp the
basics by doing the mandatory hello world app of sine wave generator.
After reading some tutorials here and there and going through Chris
Adamson's great slides from 360iDev I've put together super simple app
with two AU component's, the mixer unit that calls my render callback
and then remoteIO pulling stuff from the mixer. Now I get this to work
and things happen about the way I think they should, but I'm getting
my sine wave distorted badly. I'm thinking that I'm somehow screwing
up setting the stream properties or sample rates, but after lot of
head banging haven't been able to figure this out. Here
http://dl.dropbox.com/u/1295470/sinewave.mov you can hear the sound
and here http://pastie.org/1059713 are the render callback and the AU
setup methods if someone could spot easily some mistake on those.
tia,
jokke
_______________________________________________
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