• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: weird question: mixer callbacks and buzzsaws.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: weird question: mixer callbacks and buzzsaws.
      • From: Peter Rebholz <email@hidden>
References: 
 >weird question: mixer callbacks and buzzsaws. (From: John Clayton <email@hidden>)

  • Prev by Date: weird question: mixer callbacks and buzzsaws.
  • Next by Date: Re: weird question: mixer callbacks and buzzsaws.
  • Previous by thread: weird question: mixer callbacks and buzzsaws.
  • Next by thread: Re: weird question: mixer callbacks and buzzsaws.
  • Index(es):
    • Date
    • Thread