diff --git a/common/sound_api.h b/common/sound_api.h index 0648263d..04161b49 100644 --- a/common/sound_api.h +++ b/common/sound_api.h @@ -35,7 +35,6 @@ For more information, please refer to #define CL_SOUND_INTERFACE_VERSION 1 -// sound handle (same as engine's sound_t) typedef int sound_t; struct dma_api_s; diff --git a/engine/client/sound.h b/engine/client/sound.h index dea7fb5d..4d9108de 100644 --- a/engine/client/sound.h +++ b/engine/client/sound.h @@ -19,6 +19,7 @@ GNU General Public License for more details. extern poolhandle_t sndpool; #include "xash3d_mathlib.h" +#include "sound_api.h" // sound engine rate defines #define SOUND_11k 11025 // 11khz sample rate @@ -140,8 +141,6 @@ typedef struct qboolean stream_paused; // pause only background track } listener_t; -typedef int sound_t; - //==================================================================== #define MAX_DYNAMIC_CHANNELS (60 + NUM_AMBIENTS)