|
xoreos
0.0.5
|
An XMV audio track. More...


Public Member Functions | |
| XMVAudioTrack (const AudioInfo &info) | |
| void | queueAudio (Common::SeekableReadStream *stream) |
| Queue audio stream data belonging to this track. More... | |
| void | finish () |
| Mark the stream as finished. More... | |
| bool | canBufferData () const |
| Can more audio data be buffered? More... | |
| Sound::AudioStream * | getAudioStream () const |
| Get the AudioStream that is the representation of this AudioTrack. More... | |
Public Member Functions inherited from Video::VideoDecoder::AudioTrack | |
| AudioTrack () | |
| virtual | ~AudioTrack () |
| TrackType | getTrackType () const |
| Get the type of track. More... | |
| bool | endOfTrack () const |
| Return if the track has finished. More... | |
| void | start () |
| Start playing this track. More... | |
| void | stop () |
| Stop playing this track. More... | |
| float | getGain () const |
| Get the gain for this track. More... | |
| void | setGain (float gain) |
| Set the gain for this track. More... | |
| uint32 | getRunningTime () const |
| Get the time the AudioStream behind this track has been running. More... | |
| void | setMute (bool mute) |
| Mute the track. More... | |
Public Member Functions inherited from Video::VideoDecoder::Track | |
| Track () | |
| virtual | ~Track () |
| void | pause (bool shouldPause) |
| Set the pause status of the track. More... | |
| bool | isPaused () const |
| Return if the track is paused. More... | |
| virtual Common::Timestamp | getDuration () const |
| Get the duration of the track. More... | |
Private Member Functions | |
| Sound::PacketizedAudioStream * | createStream () const |
Private Attributes | |
| AudioInfo | _info |
| Common::ScopedPtr< Sound::PacketizedAudioStream > | _audioStream |
Additional Inherited Members | |
Public Types inherited from Video::VideoDecoder::Track | |
| enum | TrackType { kTrackTypeNone, kTrackTypeAudio, kTrackTypeVideo } |
| The types of tracks this class can be. More... | |
Protected Member Functions inherited from Video::VideoDecoder::AudioTrack | |
| void | pauseIntern (bool shouldPause) |
| Function called by pause() for subclasses to implement. More... | |
| Video::XboxMediaVideo::XMVAudioTrack::XMVAudioTrack | ( | const AudioInfo & | info | ) |
Definition at line 376 of file xmv.cpp.
References _audioStream, createStream(), and Common::ScopedPtrBase< T, Deallocator >::reset().

|
virtual |
Can more audio data be buffered?
Implements Video::VideoDecoder::AudioTrack.
|
private |
Definition at line 396 of file xmv.cpp.
References Sound::FLAG_16BITS, Sound::FLAG_LITTLE_ENDIAN, Sound::kADPCMMSIma, Sound::kWaveMSIMAADPCM2, Sound::kWavePCM, Sound::makePacketizedADPCMStream(), and Sound::makePacketizedPCMStream().
Referenced by XMVAudioTrack().


| void Video::XboxMediaVideo::XMVAudioTrack::finish | ( | ) |
|
virtual |
Get the AudioStream that is the representation of this AudioTrack.
Implements Video::VideoDecoder::AudioTrack.
| void Video::XboxMediaVideo::XMVAudioTrack::queueAudio | ( | Common::SeekableReadStream * | stream | ) |
Queue audio stream data belonging to this track.
Definition at line 384 of file xmv.cpp.
Referenced by Video::XboxMediaVideo::queueNewAudio().

|
private |
Definition at line 109 of file xmv.h.
Referenced by XMVAudioTrack().
1.8.14