xoreos  0.0.5
Namespaces | Enumerations | Functions
pcm.h File Reference

Decoding PCM (Pulse Code Modulation). More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Sound
 

Enumerations

enum  Sound::PCMFlags { Sound::FLAG_UNSIGNED = 1 << 0, Sound::FLAG_16BITS = 1 << 1, Sound::FLAG_LITTLE_ENDIAN = 1 << 2, Sound::FLAG_NATIVE_ENDIAN = 0 }
 Various flags which can be bit-ORed and then passed to makeRawMemoryStream and some other AudioStream factories to control their behavior. More...
 

Functions

RewindableAudioStream * Sound::makePCMStream (Common::SeekableReadStream *stream, int rate, byte flags, int channels, bool disposeAfterUse=true)
 Creates an audio stream, which plays from the given stream. More...
 
PacketizedAudioStream * Sound::makePacketizedPCMStream (int rate, byte flags, int channels)
 Creates a PacketizedAudioStream that will automatically queue packets as individual AudioStreams like returned by makePCMStream. More...
 

Detailed Description

Decoding PCM (Pulse Code Modulation).

Definition in file pcm.h.