SSpConfigureSetup
You can use the SSpConfigureSetup function to display a modal dialog box that allows the user to select which sound output device to use and to set the angle of stereo speakers, if they are selected.
OSStatus SSpConfigureSetup (SSpEventProcPtr inEventProcPtr);
inEventProcPtr
- A pointer to your event handling procedure
- function result
- A result code.
DESCRIPTION
When you callSSpConfigureSetup
to display the modal dialog box, you should useinEventProcPtr
to point to your own function to handle update or other events as necessary. Your function should be declared asSSpEventProcPtr
to return the event asfalse
if you wantSSpConfigureSetup
to handle the event andtrue
if you have handled the event with your own function.
typedef Boolean (*SSpEventProcPtr)(EventRecord* InEvent);