h6. [[SoundDMA]] h6(. » [[SoundDMA SWI Calls|SWI Calls]] h6((. » Sound_Enable h2. Sound_Enable h5. (SWI &40141) |_<^{width:4em}. Entry | | |/3<^. R0 |<^. 0 -> No action, just return current state | |<^. 1 -> Disable sound output | |<^. 2 -> Enable sound output | |_<^{width:4em}. Exit | | |<^. R0 |<^. Previous state (1=disabled, 2=enabled) | h4. Use This SWI is used to enable or disable sound output. It can also be used to read the state of the sound system. h4. Notes When sound output is disabled, sound interrupts will cease, and any processing which is tied to them (for example the sound scheduler) will effectively pause. [[Service_Sound 9]] or [[Service_Sound 10]] will be issued if sound output stops or starts as a result of this call. h4. See also * [[Service_Sound]] * [[*Audio]]