X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FSounds.h;h=80a76c172314d53f6be15920da03a5c2b0e5bbfe;hb=e9b773733850c91db5ab24c52dc2cfc57caf51e0;hp=cdf7d18a1c14c928de9b988c11e050daf65bb4bc;hpb=089f2f48ecc1c838f303842e17a618c26b43d794;p=lugaru.git diff --git a/Source/Sounds.h b/Source/Sounds.h index cdf7d18..80a76c1 100644 --- a/Source/Sounds.h +++ b/Source/Sounds.h @@ -26,10 +26,11 @@ 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(); @@ -37,6 +38,8 @@ 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