reset a DefaultOutput device
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.