Showing changes from revision #1 to #2:
Added | Removed | Changed
Entry | |
---|---|
R0 | Channels for 8 bit sound, rounded up to 1,2,4 or 8 |
R1 | Samples per channel (in bytes) |
R2 | Sample period (in |
R3 | Pointer to Channel Handler? or 0 to preserve system Handler |
R4 | Pointer to Scheduler or 0 to preserve system Handler |
Exit | |
---|---|
R0-R4 | Previous values |
Used to configure the number of sound channels, the sample period and the sample length. It can also be used by specialised applications to replace the default Channel Handler and Scheduler.
All current settings may be read by using zero input parameters.
R0 is ignored by the 16 bit sound system, which always has two channels, a left and right stereo pair.
Although R2 can be used to specify the sample period, the preferred method to control sample rates for 16 bit sound is via Sound_SampleRate