RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Sound_Mode 3 (changes)

Showing changes from revision #1 to #2: Added | Removed | Changed

Programmer's SoundDMA Reference Manuals
» Part 15 – SWI Calls
» Sound Sound_Mode
» Sound_Mode 3Sound_Mode
» Sound_Mode 3

Sound_Mode 3

(SWI &40144)
Entry
R0 3 (reason code)
R1 New mono conversion state:
0 → disable mono conversion
Non-zero → convert to mono output
Exit
R1 Previous mono conversion state (0=disabled, 1=enabled)

Use

This SWI is used to control whether the stereo sound output should be downmixed to mono.

Notes

If mono conversion is enabled, then all sound output (8 bit and 16 bit) will be downmixed to mono. In the current implementation, this conversion is performed in-place – the hardware still receives a stereo data stream, but both left and right samples will be set to identical values.

Sound_Mode 0 can be used to read the mono conversion state without changing it.

See also

  • Sound_Mode 0
Revised on November 13, 2017 01:35:25 by Alan Robertson (52) (49.192.18.196)
Edit | Back in time (1 revision) | Hide changes | History | Views: Print | Source | Linked from: Sound_Mode 0, Sound_Mode

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