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_Stereo

SoundDMA
» SWI Calls
» Sound_Stereo

Sound_Stereo

(SWI &40142)
Entry
R0 Channel number (1-8)
R1 Stereo position (-127 to 127), or -128 to read
Exit
R1 Previous position, or -128 if an invalid channel was specified

Use

This SWI is used to set or read the stereo position of a channel within the 8 bit sound system.

A position of -127 corresponds to 100% left, 0 corresponds to center (50% left, 50% right), and 127 corresponds to 100% right. Intermediate values can be used to select other positions.

See also

  • *Stereo
Revised on November 13, 2017 01:37:48 by Alan Robertson (52) (49.192.18.196)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: *Stereo, 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