X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FSounds.h;h=80a76c172314d53f6be15920da03a5c2b0e5bbfe;hb=5931bd1edf827e8645f89b5a4a16585cb25bc6e1;hp=24fdeb83ac0239185285c673e160506a1bf7f327;hpb=82199298cd5b20ee13a9e502106721525d0974f1;p=lugaru.git diff --git a/Source/Sounds.h b/Source/Sounds.h index 24fdeb8..80a76c1 100644 --- a/Source/Sounds.h +++ b/Source/Sounds.h @@ -26,16 +26,20 @@ enum sound_types { #define DECLARE_SOUND(id, filename) id, #include "Sounds.def" #undef DECLARE_SOUND -sounds_count + sounds_count }; extern struct OPENAL_SAMPLE *samp[sounds_count]; +extern int channels[]; extern void loadAllSounds(); extern void emit_sound_at(int soundid, const XYZ &pos = XYZ(), float vol = 256.f); extern void emit_sound_np(int soundid, float vol = 256.f); extern void emit_stream_at(int soundid, const XYZ &pos = XYZ(), float vol = 256.f); +extern void emit_stream_np(int soundid, float vol = 256.f); +extern void resume_stream(int soundid); +extern void pause_sound(int soundid); extern int footstepsound, footstepsound2, footstepsound3, footstepsound4; #endif