Kart-Public/src/android/i_sound.c

127 lines
1.6 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){}
//
// SFX I/O
//
INT32 I_StartSound(sfxenum_t id, INT32 vol, INT32 sep, INT32 pitch, INT32 priority)
{
(void)id;
(void)vol;
(void)sep;
(void)pitch;
(void)priority;
return -1;
}
void I_StopSound(INT32 handle)
{
(void)handle;
}
INT32 I_SoundIsPlaying(INT32 handle)
{
(void)handle;
return false;
}
void I_UpdateSoundParams(INT32 handle, INT32 vol, INT32 sep, INT32 pitch)
{
(void)handle;
(void)vol;
(void)sep;
(void)pitch;
}
void I_SetSfxVolume(INT32 volume)
{
(void)volume;
}
//
// MUSIC I/O
//
UINT8 music_started = 0;
musictype_t I_GetMusicType(void)
{
return MU_NONE;
}
2014-03-15 16:59:03 +00:00
void I_InitMusic(void){}
void I_ShutdownMusic(void){}
void I_PauseSong(void)
2014-03-15 16:59:03 +00:00
{
(void)handle;
}
void I_ResumeSong(void)
2014-03-15 16:59:03 +00:00
{
(void)handle;
}
//
// MIDI I/O
//
UINT8 midimusic_started = 0;
boolean I_LoadSong(char *data, size_t len)
2014-03-15 16:59:03 +00:00
{
(void)data;
(void)len;
return -1;
}
void I_SetMusicVolume(INT32 volume)
{
(void)volume;
}
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_UnloadSong(void)
2014-03-15 16:59:03 +00:00
{
(void)handle;
}
//
// DIGMUSIC I/O
//
UINT8 digmusic_started = 0;
boolean I_SetSongSpeed(float speed)
{
(void)speed;
return false;
}