mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
HDB: Add _sound stubs
This commit is contained in:
parent
e0f49e8aee
commit
ff5b6d830a
@ -61,6 +61,16 @@ bool Sound::startMusic(SoundType song) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Sound::fadeInMusic(SoundType song, int ramp) {
|
||||
warning("STUB: Fade In Music");
|
||||
return true;
|
||||
}
|
||||
|
||||
void Sound::fadeOutMusic(int ramp) {
|
||||
warning("STUB: Fade Out Music");
|
||||
return;
|
||||
}
|
||||
|
||||
bool Sound::songPlaying(SoundType song) {
|
||||
warning("STUB: Check if Song is playing");
|
||||
return true;
|
||||
@ -75,6 +85,11 @@ void Sound::stopMusic() {
|
||||
debug(9, "STUB: Stop Music");
|
||||
}
|
||||
|
||||
int Sound::registerSound(const char *name) {
|
||||
debug(9, "STUB: Register Sound");
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool Sound::freeSound(int index) {
|
||||
debug(9, "STUB: Free Sound");
|
||||
return true;
|
||||
|
@ -1417,9 +1417,12 @@ public:
|
||||
bool playSoundEx(int index, int channel, bool loop);
|
||||
bool playVoice(int index, int actor);
|
||||
bool startMusic(SoundType song);
|
||||
bool fadeInMusic(SoundType song, int ramp);
|
||||
void fadeOutMusic(int ramp);
|
||||
void stopMusic();
|
||||
bool songPlaying(SoundType song);
|
||||
bool stopChannel(int channel);
|
||||
void stopMusic();
|
||||
int registerSound(const char *name);
|
||||
bool freeSound(int index);
|
||||
|
||||
SoundType whatSongIsPlaying();
|
||||
|
Loading…
Reference in New Issue
Block a user