|
MythTV
0.26-pre
|
#include <audioplayer.h>
Definition at line 14 of file audioplayer.h.
| AudioPlayer::AudioPlayer | ( | MythPlayer * | parent, |
| bool | muted | ||
| ) |
Definition at line 7 of file audioplayer.cpp.
Definition at line 19 of file audioplayer.cpp.
| void AudioPlayer::addVisual | ( | MythTV::Visual * | vis | ) |
Definition at line 25 of file audioplayer.cpp.
Referenced by VideoVisual::VideoVisual().
| void AudioPlayer::removeVisual | ( | MythTV::Visual * | vis | ) |
Definition at line 39 of file audioplayer.cpp.
Referenced by VideoVisual::~VideoVisual().
Definition at line 83 of file audioplayer.cpp.
Referenced by TV::ChangeChannel(), MythPlayer::ClearAfterSeek(), and MythPlayer::PrebufferEnoughFrames().
Definition at line 92 of file audioplayer.cpp.
Referenced by MythPlayer::AudioEnd(), SetAudioOutput(), MythPlayer::StartPlaying(), and ~AudioPlayer().
| QString AudioPlayer::ReinitAudio | ( | void | ) |
Definition at line 104 of file audioplayer.cpp.
Referenced by PlayerContext::CreatePlayer(), NuppelDecoder::OpenFile(), AvFormatDecoder::ScanStreams(), AvFormatDecoder::SetupAudioStream(), and Transcode::TranscodeFile().
Definition at line 214 of file audioplayer.cpp.
Referenced by Transcode::TranscodeFile().
| void AudioPlayer::SetAudioInfo | ( | const QString & | main_device, |
| const QString & | passthru_device, | ||
| uint | samplerate, | ||
| int | codec_profile = -1 |
||
| ) |
Set audio output device parameters.
codec_profile is currently only used for DTS
Definition at line 236 of file audioplayer.cpp.
Referenced by PlayerContext::CreatePlayer(), and VideoPerformanceTest::Test().
| void AudioPlayer::SetAudioParams | ( | AudioFormat | format, |
| int | orig_channels, | ||
| int | channels, | ||
| int | codec, | ||
| int | samplerate, | ||
| bool | passthru, | ||
| int | codec_profile = -1 |
||
| ) |
Set audio output parameters.
codec_profile is currently only used for DTS
Definition at line 260 of file audioplayer.cpp.
Referenced by NuppelDecoder::OpenFile(), AvFormatDecoder::ScanStreams(), and AvFormatDecoder::SetupAudioStream().
| void AudioPlayer::SetEffDsp | ( | int | dsprate | ) |
Definition at line 276 of file audioplayer.cpp.
Referenced by NuppelDecoder::GetFrame(), and NuppelDecoder::OpenFile().
Definition at line 182 of file audioplayer.cpp.
Referenced by MythPlayer::OpenFile().
| void AudioPlayer::SetNoAudio | ( | void | ) | [inline] |
Definition at line 37 of file audioplayer.h.
Referenced by PlayerContext::CreatePlayer(), and VideoPerformanceTest::Test().
| bool AudioPlayer::HasAudioIn | ( | void | ) | const [inline] |
Definition at line 38 of file audioplayer.h.
Referenced by AvFormatDecoder::ProcessAudioPacket(), AvFormatDecoder::RemoveAudioStreams(), and AvFormatDecoder::ScanStreams().
| bool AudioPlayer::HasAudioOut | ( | void | ) | const [inline] |
Definition at line 39 of file audioplayer.h.
Referenced by MythPlayer::AVSync(), MythPlayer::ChangeSpeed(), PlayerContext::CreatePlayer(), MythPlayer::DecoderLoop(), and MythPlayer::syncWithAudioStretch().
| bool AudioPlayer::ControlsVolume | ( | void | ) | const [inline] |
Definition at line 40 of file audioplayer.h.
Referenced by TV::GetStatus().
| bool AudioPlayer::Pause | ( | bool | pause | ) |
Definition at line 188 of file audioplayer.cpp.
Referenced by MythPlayer::AVSync(), MythPlayer::Pause(), and MythPlayer::Play().
Definition at line 198 of file audioplayer.cpp.
Referenced by MythPlayer::AVSync().
Definition at line 206 of file audioplayer.cpp.
Referenced by TV::PauseAudioUntilBuffered().
| int AudioPlayer::GetCodec | ( | void | ) | const [inline] |
Definition at line 45 of file audioplayer.h.
Referenced by MythPlayer::GetCodecDescription(), and Transcode::TranscodeFile().
| int AudioPlayer::GetNumChannels | ( | void | ) | const [inline] |
Definition at line 46 of file audioplayer.h.
Referenced by VideoVisual::CanVisualise().
| int AudioPlayer::GetOrigChannels | ( | void | ) | const [inline] |
Definition at line 47 of file audioplayer.h.
Referenced by MythPlayer::GetCodecDescription().
| int AudioPlayer::GetSampleRate | ( | void | ) | const [inline] |
Definition at line 48 of file audioplayer.h.
Referenced by MythPlayer::GetPlaybackData().
Definition at line 224 of file audioplayer.cpp.
Referenced by AdjustVolume(), and SetVolume().
| uint AudioPlayer::AdjustVolume | ( | int | change | ) |
Definition at line 331 of file audioplayer.cpp.
| uint AudioPlayer::SetVolume | ( | int | newvolume | ) |
Definition at line 340 of file audioplayer.cpp.
| float AudioPlayer::GetStretchFactor | ( | void | ) | const [inline] |
Definition at line 52 of file audioplayer.h.
Referenced by MythPlayer::AVSync(), MythPlayer::EventLoop(), MythPlayer::IsNearEnd(), MythPlayer::SetVideoParams(), MythPlayer::StartPlaying(), MythPlayer::syncWithAudioStretch(), MythPlayer::UpdateFFRewSkip(), and MythPlayer::VideoStart().
| void AudioPlayer::SetStretchFactor | ( | float | factor | ) |
Definition at line 383 of file audioplayer.cpp.
Referenced by MythPlayer::ChangeSpeed(), PlayerContext::CreatePlayer(), and ReinitAudio().
Definition at line 357 of file audioplayer.cpp.
Referenced by EnableUpmix(), and TV::FillOSDMenuAudio().
| bool AudioPlayer::EnableUpmix | ( | bool | enable, |
| bool | toggle = false |
||
| ) |
Definition at line 365 of file audioplayer.cpp.
Referenced by TV::EnableUpmix().
Definition at line 375 of file audioplayer.cpp.
Referenced by TV::FillOSDMenuAudio().
Definition at line 444 of file audioplayer.cpp.
Referenced by AvFormatDecoder::DoPassThrough().
Definition at line 452 of file audioplayer.cpp.
Referenced by AvFormatDecoder::DecoderWillDownmix().
Definition at line 405 of file audioplayer.cpp.
Definition at line 410 of file audioplayer.cpp.
Definition at line 415 of file audioplayer.cpp.
Definition at line 420 of file audioplayer.cpp.
Definition at line 425 of file audioplayer.cpp.
Referenced by AvFormatDecoder::AutoSelectAudioTrack(), and AvFormatDecoder::DoPassThrough().
Definition at line 430 of file audioplayer.cpp.
Referenced by AvFormatDecoder::ProcessAudioPacket(), and AvFormatDecoder::SetupAudioStream().
Definition at line 437 of file audioplayer.cpp.
Definition at line 349 of file audioplayer.cpp.
Referenced by MythPlayer::AVSync(), MythPlayer::AVSyncGetAudiotime(), and VideoVisual::GetNode().
| bool AudioPlayer::IsMuted | ( | void | ) | [inline] |
Definition at line 68 of file audioplayer.h.
Referenced by SetMuted().
| bool AudioPlayer::SetMuted | ( | bool | mute | ) |
Definition at line 284 of file audioplayer.cpp.
Definition at line 323 of file audioplayer.cpp.
Referenced by IncrMuteState().
| MuteState AudioPlayer::SetMuteState | ( | MuteState | mstate | ) |
Definition at line 308 of file audioplayer.cpp.
Referenced by IncrMuteState(), ReinitAudio(), and SetMuted().
Definition at line 316 of file audioplayer.cpp.
| void AudioPlayer::AddAudioData | ( | char * | buffer, |
| int | len, | ||
| int64_t | timecode, | ||
| int | frames | ||
| ) |
Definition at line 463 of file audioplayer.cpp.
Referenced by NuppelDecoder::GetFrame(), and AvFormatDecoder::ProcessAudioPacket().
Definition at line 484 of file audioplayer.cpp.
Referenced by AvFormatDecoder::ProcessAudioPacket().
Definition at line 492 of file audioplayer.cpp.
Referenced by AvFormatDecoder::ProcessAudioPacket().
| bool AudioPlayer::GetBufferStatus | ( | uint & | fill, |
| uint & | total | ||
| ) |
Definition at line 500 of file audioplayer.cpp.
Referenced by IsBufferAlmostFull().
Definition at line 509 of file audioplayer.cpp.
Referenced by AvFormatDecoder::GetFrame(), MythPlayer::PrebufferEnoughFrames(), and AvFormatDecoder::ProcessAudioPacket().
| void AudioPlayer::AddVisuals | ( | void | ) | [private] |
Definition at line 53 of file audioplayer.cpp.
Referenced by ReinitAudio(), and SetAudioOutput().
| void AudioPlayer::RemoveVisuals | ( | void | ) | [private] |
Definition at line 63 of file audioplayer.cpp.
Referenced by DeleteOutput().
| void AudioPlayer::ResetVisuals | ( | void | ) | [private] |
Definition at line 73 of file audioplayer.cpp.
Referenced by ReinitAudio(), and SetAudioParams().
MythPlayer* AudioPlayer::m_parent [private] |
Definition at line 86 of file audioplayer.h.
Referenced by AddAudioData(), and ReinitAudio().
AudioOutput* AudioPlayer::m_audioOutput [private] |
Definition at line 87 of file audioplayer.h.
Referenced by AddAudioData(), addVisual(), AddVisuals(), AdjustVolume(), CanAC3(), CanDownmix(), CanDTS(), CanDTSHD(), CanEAC3(), CanPassthrough(), CanTrueHD(), CanUpmix(), DeleteOutput(), EnableUpmix(), GetAudioTime(), GetBufferStatus(), GetMaxChannels(), GetMaxHDRate(), GetMuteState(), GetVolume(), IncrMuteState(), IsPaused(), IsUpmixing(), LengthLastData(), NeedDecodingBeforePassthrough(), Pause(), PauseAudioUntilBuffered(), ReinitAudio(), removeVisual(), RemoveVisuals(), Reset(), ResetVisuals(), SetAudioOutput(), SetEffDsp(), SetMuted(), SetMuteState(), SetStretchFactor(), and SetVolume().
int AudioPlayer::m_channels [private] |
Definition at line 88 of file audioplayer.h.
Referenced by ReinitAudio(), and SetAudioParams().
int AudioPlayer::m_orig_channels [private] |
Definition at line 89 of file audioplayer.h.
Referenced by SetAudioParams().
int AudioPlayer::m_codec [private] |
Definition at line 90 of file audioplayer.h.
Referenced by ReinitAudio(), and SetAudioParams().
AudioFormat AudioPlayer::m_format [private] |
Definition at line 91 of file audioplayer.h.
Referenced by CheckFormat(), ReinitAudio(), and SetAudioParams().
int AudioPlayer::m_samplerate [private] |
Definition at line 92 of file audioplayer.h.
Referenced by ReinitAudio(), SetAudioInfo(), and SetAudioParams().
int AudioPlayer::m_codec_profile [private] |
Definition at line 93 of file audioplayer.h.
Referenced by ReinitAudio(), SetAudioInfo(), and SetAudioParams().
float AudioPlayer::m_stretchfactor [private] |
Definition at line 94 of file audioplayer.h.
Referenced by ReinitAudio(), and SetStretchFactor().
bool AudioPlayer::m_passthru [private] |
Definition at line 95 of file audioplayer.h.
Referenced by ReinitAudio(), and SetAudioParams().
QMutex AudioPlayer::m_lock [private] |
Definition at line 96 of file audioplayer.h.
Referenced by addVisual(), AddVisuals(), AdjustVolume(), CanUpmix(), DeleteOutput(), EnableUpmix(), GetAudioTime(), GetMuteState(), GetVolume(), IsPaused(), IsUpmixing(), Pause(), PauseAudioUntilBuffered(), ReinitAudio(), removeVisual(), RemoveVisuals(), Reset(), ResetVisuals(), SetAudioOutput(), SetEffDsp(), SetMuted(), SetMuteState(), SetStretchFactor(), and SetVolume().
bool AudioPlayer::m_muted_on_creation [private] |
Definition at line 97 of file audioplayer.h.
Referenced by ReinitAudio().
QString AudioPlayer::m_main_device [private] |
Definition at line 98 of file audioplayer.h.
Referenced by ReinitAudio(), and SetAudioInfo().
QString AudioPlayer::m_passthru_device [private] |
Definition at line 99 of file audioplayer.h.
Referenced by ReinitAudio(), and SetAudioInfo().
bool AudioPlayer::m_no_audio_in [private] |
Definition at line 100 of file audioplayer.h.
Referenced by CheckFormat(), and ReinitAudio().
bool AudioPlayer::m_no_audio_out [private] |
Definition at line 101 of file audioplayer.h.
Referenced by AddAudioData(), AdjustVolume(), CheckFormat(), DeleteOutput(), GetAudioTime(), GetBufferStatus(), GetMuteState(), GetVolume(), IncrMuteState(), IsPaused(), Pause(), PauseAudioUntilBuffered(), ReinitAudio(), SetEffDsp(), SetMuted(), SetMuteState(), and SetVolume().
bool AudioPlayer::m_controls_volume [private] |
Definition at line 102 of file audioplayer.h.
Referenced by AudioPlayer(), and ReinitAudio().
vector<MythTV::Visual*> AudioPlayer::m_visuals [private] |
Definition at line 103 of file audioplayer.h.
Referenced by addVisual(), AddVisuals(), removeVisual(), RemoveVisuals(), ResetVisuals(), and ~AudioPlayer().
1.7.6.1