Class Hierarchy   Compound List   File List   Compound Members   File Members  

direct-sound.c File Reference

direct sound access. More...

Functions

Variables


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.

legOS-0.1.7 is released under Mozilla Public License. Original code © 1998-1999 by Markus L. Noga.