22 #ifndef DGDS_SOUND_RESOURCE_SCI_RESOURCE_H 23 #define DGDS_SOUND_RESOURCE_SCI_RESOURCE_H 25 #include "common/str.h" 26 #include "common/list.h" 27 #include "common/hashmap.h" 29 #include "dgds/dgds.h" 30 #include "dgds/sound/scispan.h" 37 class SeekableReadStream;
45 SciResource(
const byte *data,
int dataSz, int16
id);
79 int16 digitalChannelNr;
80 uint16 digitalSampleRate;
81 uint16 digitalSampleSize;
82 uint16 digitalSampleStart;
83 uint16 digitalSampleEnd;
86 SoundResource(uint32 resNumberu,
const byte *data,
int dataSz);
89 Track *getTrackByType(byte type);
90 Track *getDigitalTrack();
92 byte getSoundPriority()
const {
return _soundPriority; }
93 bool exists()
const {
return _resource !=
nullptr; }
104 #endif // DGDS_SOUND_RESOURCE_SCI_RESOURCE_H Definition: sci_resource.h:74
Definition: sci_resource.h:50
Definition: algorithm.h:29
Definition: scispan.h:168
Definition: sci_resource.h:43
Definition: sci_resource.h:52