25 #ifndef SOUND_XACTWAVEBANK_ASCII_H 26 #define SOUND_XACTWAVEBANK_ASCII_H 33 class SeekableReadStream;
95 #endif // SOUND_XACTWAVEBANK_ASCII_H std::vector< Wave > _waves
XACTWaveBank_ASCII(Common::SeekableReadStream *xwb)
size_t getWaveCount() const
Return the number of wave files.
const Common::UString & getName() const
Return the internal name of the WaveBank.
A class holding an UTF-8 string.
RewindableAudioStream * getWave(size_t index) const
Return the audio stream of a wave.
An abstract XACT WaveBank interface.
Common::UString type
Type of the wave resource.
size_t loopLength
Length of the looping section.
uint8 bitRate
Number of bits per sample.
void load(Common::SeekableReadStream &xwb)
uint8 channels
Number of channels.
Class to hold audio resource data of an ASCII representation of an XWB wavebank file.
A rewindable audio stream.
size_t loopOffset
Start a loop from here.
Common::UString name
Name of the wave resource.
bool isStreaming() const
Is this WaveBank rating for streaming, or in-memory play?
uint32 samplingRate
Sampling frequency in Hz.
Interface for a seekable & readable data stream.
An abstract XACT WaveBank, containing sound files.
size_t size
Size of the wave in bytes.