From 4295a17c2323d025aad8ccd7084a8c3bdedfcaa6 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 15 Nov 2004 03:03:48 +0000 Subject: 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 --- saga/sndres.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'saga/sndres.h') 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; -- cgit v1.2.3