X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_em%2Fsample.h;h=f6b9cb95001c18ed57d6dfe5bdcaef2e66c380b7;hb=98ae5fc5e9274fea99a2ed8873b78fc2110ce3ce;hp=853b27d378ef6887576aa6f0ec2f9c2653cccfe5;hpb=1fcb3ddbb8404effdcfa5ebbd53d3ff5009260f6;p=rocksndiamonds.git diff --git a/src/game_em/sample.h b/src/game_em/sample.h index 853b27d3..f6b9cb95 100644 --- a/src/game_em/sample.h +++ b/src/game_em/sample.h @@ -4,24 +4,14 @@ #include "main_em.h" -extern void play_sound(int, int, int); -extern void play_element_sound(int, int, int, int); +void play_sound(int, int, int); +void play_element_sound(int, int, int, int); extern char play[SAMPLE_MAX]; extern int sound_pipe[2]; extern short *sound_data[SAMPLE_MAX]; -extern long sound_length[SAMPLE_MAX]; +extern int sound_length[SAMPLE_MAX]; #define MIXER_MAX 4 /* maximum number of samples we can play at once */ -#if defined(AUDIO_UNIX_NATIVE) - -enum -{ - AUDIO_ULAW = 0, - AUDIO_U8 -}; - -#endif /* AUDIO_UNIX_NATIVE */ - #endif /* SAMPLE_H */