AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
=>     R0 =     0 (reason code)
<=     R0 =     0 if 16 bit sound not supported
           1 if 16 bit sound is supported
     R1 =     flags if R0 = 1
           else zero

This SWI reads the sound system type. In 16-bit mode, Sound_LinearHandler and Sound_SampleRate are available.
Sound_Mode flags
Bit     Meaning

0-3     Sound format type
       0     8 bit µ-law only
       1     16 bit output with variable rates (44.1kHz, 22.05kHz and 11.025kHz supported)
       2     16 bit output with only old sound rates supported
       3     16 bit output using an external clock generator (requires custom hardware/driver)
       4-15     reserved
4     Oversampling flag (if set, oversampling is enabled)
5-31     reserved

[sh-index] Back to list of manuals