• 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
reset a DefaultOutput device
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

reset a DefaultOutput device


  • Subject: reset a DefaultOutput device
  • From: Scott Frankel <email@hidden>
  • Date: Tue, 13 May 2003 22:12:11 -0700

I'm playing with the DefaultOutputUnit code and am wondering
how to reset the audio tone output without killing a tone currently
playing.

I've setup a test app that connects a slider widget to thesToneFrequency
parameter of the DefaultOutputUnit's tone generator. Moving the slider
changes the frequency of the tone generated. Trouble is, I have to
Close
the DefaultAudioUnit to not get multiple AU's all playing
simultaneously.

If I do Close the AU, then I get an audible "pop" with each slider
movement.

AudioUnitReset doesn't do the trick (and seems to be more germane
to Midi anyway).

Thanks in advance.
Scott
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: reset a DefaultOutput device
      • From: Kurt Bigler <email@hidden>
  • Prev by Date: Newbie (*AudioDeviceIOProc) question
  • Next by Date: How to get AU from deviceID and deviceID from AU
  • Previous by thread: Re: Newbie (*AudioDeviceIOProc) question
  • Next by thread: Re: reset a DefaultOutput device
  • Index(es):
    • Date
    • Thread