//:Header:1, "_static_SND", 3bd00864 // // File: llsound_sstaticsnd.h // // G A M E.O.N.E - LOW LEVEL LIB V1.0 // Copyright (C) 2001 LEVEL ONE ENTERTAINMENT, // Licensed under the terms of LGPL. //:--------------------------------------------------------------------------- //:Description // //:--------------------------------------------------------------------------- #ifndef _LLSOUND_SSTATICSND #define _LLSOUND_SSTATICSND #include "llfile.h" #include "llsound_CWavestream.h" //:> +--------------------------------------+ //:>-----------------| _static_SND Struct Declaration |----------------- //:> +--------------------------------------+ //:Class struct _static_SND { //:=2 // +--------+ // | used | // +--------+ int used; // Reference Count //:=3 // +----------+ // | sndObj | // +----------+ void * sndObj; // Sound Handle (driver Object) //:=4 // +--------+ // | name | // +--------+ char * name; // Name (Pfad) //:=5 // +--------+ // | mode | // +--------+ int mode; // Abspielmodus, loop, oneshot //:=7 // +----------+ // | llstream | // +----------+ llsound_CWavestream *stream; // nur wenn mode=LLSOUND_STREAM }; //:=6 // +-------------+ // | Wave format | // +-------------+ struct _wave_type { TxU8 bitspersample; TxU8 numchannels; TxU16 samplefrequency; TxU8 blocksize; }; //:Custom typedef struct _wave_type s_wavetype; typedef struct _static_SND s_staticsnd; //:End Custom #endif // _LLSOUND_SSTATICSND