RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Sound_Speaker

SoundDMA
» SWI Calls
» Sound_Speaker

Sound_Speaker

(SWI &40143)
Entry
R1 Speaker setting:
0 → No change (just return previous setting)
1 → Turn speaker off
2 → Turn speaker on
Other values reserved
Exit
R0 Previous speaker setting (1 or 2)

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.

See also

  • *Speaker
  • SoundCtrl_GetMix
  • SoundCtrl_SetMix
Revised on November 13, 2017 01:37:18 by Alan Robertson (52) (49.192.18.196)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: *Speaker, Sound SWI Calls, SoundDMA SWI Calls

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys