Main Page   Compound List   File List   Header Files   File Members  

sample.h File Reference

Playback raw sound sample with length len from start at 8192Hz rate. More...


Functions

void play_sample (UINT8 *start, UINT16 len)
Play the given, appropriatly formatted sample.


Detailed Description

Playback raw sound sample with length len from start at 8192Hz rate.

len defines the length of the sample in samples/32 or bytes/16. The format of the data is unsigned 4-bit samples, 2 samples per byte, upper 4-bits played before lower 4 bits.

Adaption for GBDK by Lars Malmborg. Original code by Jeff Frohwein.


Generated at Sun May 7 12:17:00 2000 for gbdk-lib by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999