Class Hierarchy Compound List File List Compound Members File Members
direct-sound.h File Reference
direct sound access.
More...
Functions
- void ds_play (unsigned char *sample, unsigned length)
- start playing sound. More...
- void ds_stop (void)
- stop playing sound.
Detailed Description
direct sound access.
-
Author(s):
-
Markus L. Noga <noga@inrialpes.fr>
Function Documentation
void ds_play (unsigned char * sample, unsigned length)
start playing sound.
-
Parameters:
-
sample - an 1 bit / 8 kHz sample. util/sample-convert.pl will perform a conversion for standard wav files.
-
length - sample length in bytes
-
Warning:
-
output sounds horrible
-
cycles not implemented.
-0.1.7 is released under
Mozilla Public License.
Original code © 1998-1999 by Markus L. Noga.