h6. [[SoundDMA]] h6(. » [[SoundDMA SWI Calls|SWI Calls]] h6((. » Sound_Speaker h2. Sound_Speaker h5. (SWI &40143) |_<^{width:4em}. Entry | | |/5<^. R1 |<^. Speaker setting: | |<^. 0 -> No change (just return previous setting) | |<^. 1 -> Turn speaker off | |<^. 2 -> Turn speaker on | |<^. Other values reserved | |_<^{width:4em}. Exit | | |<^. R0 |<^. Previous speaker setting (1 or 2) | h4. Use This SWI is used to turn the machines internal speaker on or off. If a machine does not have an internal speaker, or has no control over the speaker power, this SWI will always report that the speaker is on. On RISC OS 5 this SWI simply calls [[SoundCtrl_SetMix]] and [[SoundCtrl_GetMix]] to mute or unmute the speaker. h4. See also * [[*Speaker]] * [[SoundCtrl_GetMix]] * [[SoundCtrl_SetMix]]