X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Flibgame%2Fsound.h;h=deb4e38ecfe69cf014a2daf38e8e11e70797fc1d;hp=cbafa9b7fb0b6c9d5b531a3d688221cc0e3ea75e;hb=64e7c54dce6ea8c063f04198c64c5057d751c928;hpb=855700d73bbef8bb1248fe0ac735738478d6044b;ds=sidebyside diff --git a/src/libgame/sound.h b/src/libgame/sound.h index cbafa9b7..deb4e38e 100644 --- a/src/libgame/sound.h +++ b/src/libgame/sound.h @@ -15,7 +15,7 @@ #include "system.h" -/* values for platform specific sound initialization */ +// values for platform specific sound initialization #define AUDIO_SAMPLE_RATE_22050 22050 #define AUDIO_FRAGMENT_SIZE_512 512 @@ -47,7 +47,7 @@ #define FIRST_SOUND_CHANNEL 1 -/* values for PlaySound(), StopSound() and friends */ +// values for PlaySound(), StopSound() and friends #define SND_CTRL_NONE (0) #define SND_CTRL_MUSIC (1 << 0) #define SND_CTRL_LOOP (1 << 1) @@ -93,15 +93,15 @@ #define SOUND_MIDDLE (SOUND_MAX_LEFT2RIGHT / 2) -/* general sound functions */ +// general sound functions void UnixOpenAudio(void); void UnixCloseAudio(void); -/* mixer functions */ +// mixer functions void Mixer_InitChannels(void); void StartMixer(void); -/* sound client functions */ +// sound client functions void PlayMusic(int); void PlayMusicLoop(int); void PlaySound(int);