SRB2/src/dummy/i_sound.c

144 lines
1.8 KiB
C
Raw Normal View History

2014-03-15 16:59:03 +00:00
#include "../i_sound.h"
UINT8 sound_started = 0;
void *I_GetSfx(sfxinfo_t *sfx)
{
(void)sfx;
return NULL;
}
void I_FreeSfx(sfxinfo_t *sfx)
{
(void)sfx;
}
void I_StartupSound(void){}
void I_ShutdownSound(void){}
void I_UpdateSound(void){};
//
// SFX I/O
//
INT32 I_StartSound(sfxenum_t id, UINT8 vol, UINT8 sep, UINT8 pitch, UINT8 priority)
{
(void)id;
(void)vol;
(void)sep;
(void)pitch;
(void)priority;
return -1;
}
void I_StopSound(INT32 handle)
{
(void)handle;
}
boolean I_SoundIsPlaying(INT32 handle)
{
(void)handle;
return false;
}
void I_UpdateSoundParams(INT32 handle, UINT8 vol, UINT8 sep, UINT8 pitch)
{
(void)handle;
(void)vol;
(void)sep;
(void)pitch;
}
void I_SetSfxVolume(UINT8 volume)
{
(void)volume;
}
/// ------------------------
// MUSIC SYSTEM
/// ------------------------
void I_InitMusic(void){}
void I_ShutdownMusic(void){}
2014-03-15 16:59:03 +00:00
/// ------------------------
// MUSIC PROPERTIES
/// ------------------------
musictype_t I_MusicType(void)
{
return MU_NONE;
}
boolean I_MusicPlaying(void)
{
return false;
}
boolean I_MusicPaused(void)
{
return false;
}
/// ------------------------
// MUSIC EFFECTS
/// ------------------------
2014-03-15 16:59:03 +00:00
boolean I_SetSongSpeed(float speed)
2014-03-15 16:59:03 +00:00
{
(void)speed;
return false;
2014-03-15 16:59:03 +00:00
}
/// ------------------------
// MUSIC PLAYBACK
/// ------------------------
2014-03-15 16:59:03 +00:00
boolean I_LoadSong(char *data, size_t len)
2014-03-15 16:59:03 +00:00
{
(void)data;
(void)len;
return -1;
}
void I_UnloadSong(void)
{
(void)handle;
}
boolean I_PlaySong(boolean looping)
2014-03-15 16:59:03 +00:00
{
(void)handle;
(void)looping;
return false;
}
void I_StopSong(void)
2014-03-15 16:59:03 +00:00
{
(void)handle;
}
void I_PauseSong(void)
2014-03-15 16:59:03 +00:00
{
(void)handle;
}
void I_ResumeSong(void)
{
(void)handle;
}
2014-03-15 16:59:03 +00:00
void I_SetMusicVolume(UINT8 volume)
2014-03-15 16:59:03 +00:00
{
(void)volume;
2014-03-15 16:59:03 +00:00
}
boolean I_SetSongTrack(int track)
{
(void)track;
return false;
}