25 #ifndef SOUND_XACTWAVEBANK_BINARY_H 26 #define SOUND_XACTWAVEBANK_BINARY_H 113 #endif // SOUND_XACTWAVEBANK_BINARY_H Containerless PCM stream.
A class holding an UTF-8 string.
ASF container with a WMA stream.
RewindableAudioStream * getWave(size_t index) const
Return the audio stream of a wave.
An abstract XACT WaveBank interface.
std::vector< Wave > _waves
uint8 bitRate
Number of bits per sample.
Common::UString _name
The internal name of this wavebank. */.
Codec codec
The codec the wave is in.
uint32 flags
Flags for this wave.
uint8 channels
Number of channels.
size_t loopLength
Length of the looping section.
uint32 samplingRate
Sampling frequency in Hz.
Common::ScopedPtr< Common::SeekableReadStream > _xwb
A simple scoped smart pointer template.
A rewindable audio stream.
Codec
The codec of a wave within the wavebank.
XACTWaveBank_Binary(Common::SeekableReadStream *xwb)
A wave within the wavebank.
void load(Common::SeekableReadStream &xwb)
Basic reading stream interfaces.
size_t loopOffset
Start a loop from here.
const Common::UString & getName() const
Return the internal name of the WaveBank.
uint8 blockAlign
Size of a compressed block in bytes.
Containerless Xbox ADPCM stream.
bool isStreaming() const
Is this WaveBank rating for streaming, or in-memory play?
Class to hold audio resource data of an XWB wavebank file.
Interface for a seekable & readable data stream.
size_t offset
The offset of the wave within the wavebank. */.
size_t getWaveCount() const
Return the number of wave files.
An abstract XACT WaveBank, containing sound files.
size_t size
The size of the wave in bytes. */.