aboutsummaryrefslogtreecommitdiff
path: root/scumm/bundle.h
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-01-25 18:41:32 +0000
committerPaweł Kołodziejski2003-01-25 18:41:32 +0000
commit8e8575003bbfecfad605dc3fa8b3723d3f55027d (patch)
tree424d8d9a83875ac1558cc467da0a59cd7039306a /scumm/bundle.h
parentd942441f7f33a5d6898892fc64d777040a399b06 (diff)
downloadscummvm-rg350-8e8575003bbfecfad605dc3fa8b3723d3f55027d.tar.gz
scummvm-rg350-8e8575003bbfecfad605dc3fa8b3723d3f55027d.tar.bz2
scummvm-rg350-8e8575003bbfecfad605dc3fa8b3723d3f55027d.zip
implemented properly comi sound codecs
svn-id: r6538
Diffstat (limited to 'scumm/bundle.h')
-rw-r--r--scumm/bundle.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/scumm/bundle.h b/scumm/bundle.h
index 0c29e7f960..982f69ee82 100644
--- a/scumm/bundle.h
+++ b/scumm/bundle.h
@@ -41,7 +41,7 @@ struct BundleAudioTable {
};
int32 compDecode(byte *src, byte *dst);
- int32 decompressCodec(int32 codec, byte *comp_input, byte *comp_output, int32 size, int32 index, int32 & channels);
+ int32 decompressCodec(int32 codec, byte *comp_input, byte *comp_output, int32 size);
CompTable *_compVoiceTable;
CompTable *_compMusicTable;
BundleAudioTable *_bundleVoiceTable;
@@ -63,10 +63,10 @@ public:
void initializeImcTables();
bool openVoiceFile(const char *filename, const char *directory);
bool openMusicFile(const char *filename, const char *directory);
- int32 decompressVoiceSampleByName(char *name, byte *comp_final, int32 & channels);
- int32 decompressVoiceSampleByIndex(int32 index, byte *comp_final, int32 & channels);
- int32 decompressMusicSampleByName(char *name, int32 number, byte *comp_final, int32 & channels);
- int32 decompressMusicSampleByIndex(int32 index, int32 number, byte *comp_final, int32 & channels);
+ int32 decompressVoiceSampleByName(char *name, byte *comp_final);
+ int32 decompressVoiceSampleByIndex(int32 index, byte *comp_final);
+ int32 decompressMusicSampleByName(char *name, int32 number, byte *comp_final);
+ int32 decompressMusicSampleByIndex(int32 index, int32 number, byte *comp_final);
int32 getNumberOfMusicSamplesByIndex(int32 index);
int32 getNumberOfMusicSamplesByName(char *name);
};