diff options
author | Einar Johan Trøan Sømåen | 2012-07-27 15:55:06 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-27 15:55:06 +0200 |
commit | b3b86c440cb2a13a43ce6dd3102bf85f4211795b (patch) | |
tree | e5c5998f923785aebd3c09231df868d87973c0ec /engines/wintermute/base/sound | |
parent | efee8c01ceded526406a3ad6ffc2dc1c078c2ce2 (diff) | |
download | scummvm-rg350-b3b86c440cb2a13a43ce6dd3102bf85f4211795b.tar.gz scummvm-rg350-b3b86c440cb2a13a43ce6dd3102bf85f4211795b.tar.bz2 scummvm-rg350-b3b86c440cb2a13a43ce6dd3102bf85f4211795b.zip |
WINTERMUTE: Clear out a few warning()s
Diffstat (limited to 'engines/wintermute/base/sound')
-rw-r--r-- | engines/wintermute/base/sound/base_sound.h | 1 | ||||
-rw-r--r-- | engines/wintermute/base/sound/base_sound_buffer.cpp | 7 |
2 files changed, 3 insertions, 5 deletions
diff --git a/engines/wintermute/base/sound/base_sound.h b/engines/wintermute/base/sound/base_sound.h index bb37e55388..7ea9f38f6c 100644 --- a/engines/wintermute/base/sound/base_sound.h +++ b/engines/wintermute/base/sound/base_sound.h @@ -80,7 +80,6 @@ private: float _sFXParam3;
float _sFXParam4;
BaseSoundBuffer *_sound;
-
};
} // end of namespace WinterMute
diff --git a/engines/wintermute/base/sound/base_sound_buffer.cpp b/engines/wintermute/base/sound/base_sound_buffer.cpp index 34aee36f1b..aa03609177 100644 --- a/engines/wintermute/base/sound/base_sound_buffer.cpp +++ b/engines/wintermute/base/sound/base_sound_buffer.cpp @@ -134,9 +134,6 @@ bool BaseSoundBuffer::loadFromFile(const char *filename, bool forceReload) { //////////////////////////////////////////////////////////////////////////
bool BaseSoundBuffer::play(bool looping, uint32 startSample) {
- if (startSample != 0) {
- warning("BSoundBuffer::Play - Should start playback at %d, but currently we don't", startSample);
- }
if (_handle) {
g_system->getMixer()->stopHandle(*_handle);
delete _handle;
@@ -269,12 +266,14 @@ bool BaseSoundBuffer::setPan(float pan) { //////////////////////////////////////////////////////////////////////////
bool BaseSoundBuffer::applyFX(TSFXType type, float param1, float param2, float param3, float param4) {
- warning("BaseSoundBuffer::ApplyFX - not implemented yet");
+ // This function was already stubbed out in WME Lite, and thus isn't reimplemented here either.
switch (type) {
case SFX_ECHO:
+ //warning("BaseSoundBuffer::ApplyFX(SFX_ECHO, %f, %f, %f, %f) - not implemented yet", param1, param2, param3, param4);
break;
case SFX_REVERB:
+ //warning("BaseSoundBuffer::ApplyFX(SFX_REVERB, %f, %f, %f, %f) - not implemented yet", param1, param2, param3, param4);
break;
default:
|