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 callSSpConfigureSetupto display the modal dialog box, you should useinEventProcPtrto point to your own function to handle update or other events as necessary. Your function should be declared asSSpEventProcPtrto return the event asfalseif you wantSSpConfigureSetupto handle the event andtrueif you have handled the event with your own function.
typedef Boolean (*SSpEventProcPtr)(EventRecord* InEvent);