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_InstallVoice V (changes)

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

SoundChannels
» SWI Calls
» Sound_InstallVoice
» Sound_InstallVoice (install voice)

Sound_InstallVoice

(SWI &40183)
Entry
R0 Pointer to Voice Generator
R1 Voice slot (1-32), or 0 to install in next free slot
Exit
R0 Pointer to name of previous voice, or null terminated error string if R1 = 0
R1 Voice number allocated, or 0 if unable to install

Use

Used to add a Voice Generator to the table of available voices.

Notes

If an error occurs, this SWI does not set V in the usual manner. Instead R1 is zero on exit, and R0 points directly to a null-terminated error string.

If an attempt is made to replace an existing Voice Generator R0 will point to the previous Voice Generator name, R1=0 and the new Voice Generator will not be installed.

See also

  • Sound_InstallVoice
Created on November 15, 2017 13:52:05 by Jeffrey Lee (213) (62.252.28.250)
Edit | Views: Print | Source | Linked from: Sound_InstallVoice

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