xoreos  0.0.5
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
Video::XboxMediaVideo::XMVAudioTrack51 Class Reference

An XMV 5.1 audio track. More...

Inheritance diagram for Video::XboxMediaVideo::XMVAudioTrack51:
Inheritance graph
[legend]
Collaboration diagram for Video::XboxMediaVideo::XMVAudioTrack51:
Collaboration graph
[legend]

Public Member Functions

 XMVAudioTrack51 (XMVAudioTrack *info1, XMVAudioTrack *info2, XMVAudioTrack *info3)
 
bool canBufferData () const
 Can more audio data be buffered? 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...
 

Protected Member Functions

Sound::AudioStreamgetAudioStream () const
 Get the AudioStream that is the representation of this AudioTrack. More...
 
- Protected Member Functions inherited from Video::VideoDecoder::AudioTrack
void pauseIntern (bool shouldPause)
 Function called by pause() for subclasses to implement. More...
 

Private Attributes

Common::ScopedPtr< XMVAudioTrack_realTracks [3]
 
Common::ScopedPtr< Sound::AudioStream_interleaved
 

Additional Inherited Members

- Public Types inherited from Video::VideoDecoder::Track
enum  TrackType { kTrackTypeNone, kTrackTypeAudio, kTrackTypeVideo }
 The types of tracks this class can be. More...
 

Detailed Description

An XMV 5.1 audio track.

Definition at line 114 of file xmv.h.

Constructor & Destructor Documentation

◆ XMVAudioTrack51()

Video::XboxMediaVideo::XMVAudioTrack51::XMVAudioTrack51 ( XMVAudioTrack info1,
XMVAudioTrack info2,
XMVAudioTrack info3 
)

Definition at line 423 of file xmv.cpp.

References Sound::makeInterleaver().

Here is the call graph for this function:

Member Function Documentation

◆ canBufferData()

bool Video::XboxMediaVideo::XMVAudioTrack51::canBufferData ( ) const
virtual

Can more audio data be buffered?

Implements Video::VideoDecoder::AudioTrack.

Definition at line 436 of file xmv.cpp.

◆ getAudioStream()

Sound::AudioStream * Video::XboxMediaVideo::XMVAudioTrack51::getAudioStream ( ) const
protectedvirtual

Get the AudioStream that is the representation of this AudioTrack.

Implements Video::VideoDecoder::AudioTrack.

Definition at line 440 of file xmv.cpp.

Member Data Documentation

◆ _interleaved

Common::ScopedPtr<Sound::AudioStream> Video::XboxMediaVideo::XMVAudioTrack51::_interleaved
private

Definition at line 127 of file xmv.h.

◆ _realTracks

Common::ScopedPtr<XMVAudioTrack> Video::XboxMediaVideo::XMVAudioTrack51::_realTracks[3]
private

Definition at line 126 of file xmv.h.


The documentation for this class was generated from the following files: