Showing changes from revision #3 to #4:
Added | Removed | Changed
Entry | |
---|---|
R0 | Pointer to space/control terminated controller ID string |
Exit | |
---|---|
R0 | 0, or pointer to error block |
The purpose of this call is to select the audio controller device that should be used as the default device. This is the device which the 8-bit and 16-bit sound systems will use to output their audio.
Many versions of SoundDMA do not return errors when unknown SWIs are called. Therefore, to detect if this SWI is supported, check if R0 has been set to 0 on exit (Valid reason codes start at 1), or use Sound_ReadSysInfo 1.
The current audio device can be determined by calling Sound_ReadSysInfo 2.
*Audio can also be used to select the default controller.