aboutsummaryrefslogtreecommitdiff
path: root/saga/sndres.h
diff options
context:
space:
mode:
authorEugene Sandulenko2004-11-15 03:03:48 +0000
committerEugene Sandulenko2004-11-15 03:03:48 +0000
commit4295a17c2323d025aad8ccd7084a8c3bdedfcaa6 (patch)
tree41382d001ca51502103e788f1beabc511661186f /saga/sndres.h
parent183a11153e680a1b6cd399da09deff7a690304dc (diff)
downloadscummvm-rg350-4295a17c2323d025aad8ccd7084a8c3bdedfcaa6.tar.gz
scummvm-rg350-4295a17c2323d025aad8ccd7084a8c3bdedfcaa6.tar.bz2
scummvm-rg350-4295a17c2323d025aad8ccd7084a8c3bdedfcaa6.zip
o Make GAME_GetFileContext() more object-like
o Font::loadFont() now normally survives zero-length fonts as used in demos o Removed unused SndRes::ITEVOC_Resample() o Fixed playing of voice #4 on old DOS targets o Implemented playing voices in VOX (Oki ADPCM) format o Support of Win32 and Linux demos. There was old-style Win32 demo, which is not supported yet, same is with DOS demo. svn-id: r15814
Diffstat (limited to 'saga/sndres.h')
-rw-r--r--saga/sndres.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/saga/sndres.h b/saga/sndres.h
index 53de34641a..bbe91fe02d 100644
--- a/saga/sndres.h
+++ b/saga/sndres.h
@@ -70,8 +70,6 @@ public:
int playSound(uint32 sound_rn, int volume);
int playVoice(uint32 voice_rn);
int getVoiceLength(uint32 voice_rn);
- int ITEVOC_Resample(long src_freq, long dst_freq, byte *src_buf,
- size_t src_buf_len, byte **dst_buf, size_t *dst_buf_len);
private:
int load(RSCFILE_CONTEXT *snd_ctxt, uint32 snd_rn, SOUNDBUFFER *snd_buf_i);
@@ -79,7 +77,7 @@ public:
int _init;
- RSCFILE_CONTEXT *_sfx_ctxt;
+ RSCFILE_CONTEXT *_sfx_ctxt;
RSCFILE_CONTEXT *_voice_ctxt;
GAME_SOUNDINFO _snd_info;