Re: weird question: mixer callbacks and buzzsaws.
Re: weird question: mixer callbacks and buzzsaws.
- Subject: Re: weird question: mixer callbacks and buzzsaws.
- From: William Stewart <email@hidden>
- Date: Mon, 27 Oct 2008 14:34:04 -0700
umm - the doing of nothing is not an option.
In the callback you are given a buffer list of audio buffers to fill
in - the buffer is not zero'd (saves CPU time), so at the very least
you will have to do a memset to 0 of the buffer contents.
I would say that your buzzing is confirmation that you are generating
sound :)
Bill
On Oct 27, 2008, at 2:02 PM, John Clayton wrote:
Hi All,
Again, i have a weird one - its so weird I'm just throwing it out
there in the hope that someone has also experienced this.
I am setting a render notify callback on an AU in a graph. The AU
is a matrix mixer. I do *nothing* in the callback [yet]. When I
start the graph, everything plays fine (as far as I can tell), when
I stop the graph - and tear it all down, releasing the memory its
all OK. If I then hit the 'play' button once more, my program
rebuilds the entire graph and starts it again - and I hear what
appears to be a buzzsaw sound! If I stop and restart, I hear te
buzzsaw approx 4x louder. I've not been brave enough to stop and
play once more for fear of blowing either my eardrums or something
else to bits.
Anyone heard/experienced this weirdness before? Or is it just me?
Thanks
--
John Clayton
Skype: johncclayton
_______________________________________________
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
_______________________________________________
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