50 #ifndef SOUND_DECODERS_RAW_H 51 #define SOUND_DECODERS_RAW_H 55 class PacketizedAudioStream;
56 class RewindableAudioStream;
78 #ifdef XOREOS_LITTLE_ENDIAN 98 int rate,
byte flags,
int channels,
99 bool disposeAfterUse =
true);
114 #endif // SOUND_DECODERS_RAW_H PacketizedAudioStream * makePacketizedPCMStream(int rate, byte flags, int channels)
Creates a PacketizedAudioStream that will automatically queue packets as individual AudioStreams like...
PCMFlags
Various flags which can be bit-ORed and then passed to makeRawMemoryStream and some other AudioStream...
unsigned samples (default: signed)
RewindableAudioStream * makePCMStream(Common::SeekableReadStream *stream, int rate, byte flags, int channels, bool disposeAfterUse)
Creates an audio stream, which plays from the given stream.
sound is 16 bits wide (default: 8bit)
samples are in native endianness
samples are little endian (default: big endian)
Interface for a seekable & readable data stream.