X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fsound.h;h=7ebdc65b26b0dd75b3bc2a8bdfea45cb1d0fd6b0;hb=a8b2caa1d373c84c1b3fc2f615370c2a319051ca;hp=dada0e89bcba1beefc78c3ed93163a1abc3725ab;hpb=41cfe645942062496cd063eb46e17d677a76c645;p=rocksndiamonds.git diff --git a/src/sound.h b/src/sound.h index dada0e89..7ebdc65b 100644 --- a/src/sound.h +++ b/src/sound.h @@ -135,7 +135,7 @@ struct SoundInfo SAMPLE *sample_ptr; #endif -#ifdef USE_SDL_LIBRARY +#ifdef TARGET_SDL Mix_Chunk *mix_chunk; #endif }; @@ -159,10 +159,15 @@ struct SoundControl #endif }; -/* start sound server */ +/* general sound functions */ +int OpenAudio(char *); +int CheckAudio(char *); +boolean UnixInitAudio(void); + +/* sound server functions */ void SoundServer(void); -/* client functions */ +/* sound client functions */ boolean LoadSound(struct SoundInfo *); void PlaySound(int); void PlaySoundStereo(int, int);