|
MythTV
0.27pre
|
#include <audioplayer.h>

Private Member Functions | |
| void | AddVisuals (void) |
| void | RemoveVisuals (void) |
| void | ResetVisuals (void) |
Private Attributes | |
| MythPlayer * | m_parent |
| AudioOutput * | m_audioOutput |
| int | m_channels |
| int | m_orig_channels |
| int | m_codec |
| AudioFormat | m_format |
| int | m_samplerate |
| int | m_codec_profile |
| float | m_stretchfactor |
| bool | m_passthru |
| QMutex | m_lock |
| bool | m_muted_on_creation |
| QString | m_main_device |
| QString | m_passthru_device |
| bool | m_no_audio_in |
| bool | m_no_audio_out |
| bool | m_controls_volume |
| vector< MythTV::Visual * > | m_visuals |
Definition at line 15 of file audioplayer.h.
| AudioPlayer::AudioPlayer | ( | MythPlayer * | parent, |
| bool | muted | ||
| ) |
Definition at line 7 of file audioplayer.cpp.
| AudioPlayer::~AudioPlayer | ( | ) |
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().
| void AudioPlayer::SetAudioOutput | ( | AudioOutput * | ao | ) |
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().
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().
Definition at line 38 of file audioplayer.h.
Referenced by PlayerContext::CreatePlayer(), and VideoPerformanceTest::Test().
Definition at line 39 of file audioplayer.h.
Referenced by AvFormatDecoder::ProcessAudioPacket(), AvFormatDecoder::RemoveAudioStreams(), and AvFormatDecoder::ScanStreams().
Definition at line 40 of file audioplayer.h.
Referenced by MythPlayer::AVSync(), MythPlayer::ChangeSpeed(), PlayerContext::CreatePlayer(), MythPlayer::DecoderLoop(), and MythPlayer::syncWithAudioStretch().
Definition at line 41 of file audioplayer.h.
Referenced by TV::GetStatus().
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().
Definition at line 46 of file audioplayer.h.
Referenced by MythPlayer::GetCodecDescription(), and Transcode::TranscodeFile().
Definition at line 47 of file audioplayer.h.
Referenced by VideoVisual::CanVisualise().
Definition at line 48 of file audioplayer.h.
Referenced by MythPlayer::GetCodecDescription().
Definition at line 49 of file audioplayer.h.
Referenced by MythPlayer::GetPlaybackData().
Definition at line 224 of file audioplayer.cpp.
Referenced by AdjustVolume(), and SetVolume().
Definition at line 331 of file audioplayer.cpp.
Definition at line 340 of file audioplayer.cpp.
|
inline |
Definition at line 53 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::PlaybackMenuInit().
Definition at line 365 of file audioplayer.cpp.
Referenced by TV::EnableUpmix().
Definition at line 375 of file audioplayer.cpp.
Referenced by TV::PlaybackMenuInit().
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.
| int64_t AudioPlayer::GetAudioTime | ( | void | ) |
Definition at line 349 of file audioplayer.cpp.
Referenced by MythPlayer::AVSync(), MythPlayer::AVSyncGetAudiotime(), and VideoVisual::GetNode().
Definition at line 69 of file audioplayer.h.
Referenced by SetMuted().
Definition at line 284 of file audioplayer.cpp.
Definition at line 323 of file audioplayer.cpp.
Referenced by IncrMuteState().
Definition at line 308 of file audioplayer.cpp.
Referenced by IncrMuteState(), ReinitAudio(), and SetMuted().
Definition at line 316 of file audioplayer.cpp.
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().
| int64_t AudioPlayer::LengthLastData | ( | void | ) |
Definition at line 492 of file audioplayer.cpp.
Referenced by AvFormatDecoder::ProcessAudioPacket().
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().
Definition at line 53 of file audioplayer.cpp.
Referenced by ReinitAudio(), and SetAudioOutput().
Definition at line 63 of file audioplayer.cpp.
Referenced by DeleteOutput().
Definition at line 73 of file audioplayer.cpp.
Referenced by ReinitAudio(), and SetAudioParams().
|
private |
Definition at line 87 of file audioplayer.h.
Referenced by AddAudioData(), and ReinitAudio().
|
private |
Definition at line 88 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().
|
private |
Definition at line 89 of file audioplayer.h.
Referenced by ReinitAudio(), and SetAudioParams().
|
private |
Definition at line 90 of file audioplayer.h.
Referenced by SetAudioParams().
|
private |
Definition at line 91 of file audioplayer.h.
Referenced by ReinitAudio(), and SetAudioParams().
|
private |
Definition at line 92 of file audioplayer.h.
Referenced by CheckFormat(), ReinitAudio(), and SetAudioParams().
|
private |
Definition at line 93 of file audioplayer.h.
Referenced by ReinitAudio(), SetAudioInfo(), and SetAudioParams().
|
private |
Definition at line 94 of file audioplayer.h.
Referenced by ReinitAudio(), SetAudioInfo(), and SetAudioParams().
|
private |
Definition at line 95 of file audioplayer.h.
Referenced by ReinitAudio(), and SetStretchFactor().
|
private |
Definition at line 96 of file audioplayer.h.
Referenced by ReinitAudio(), and SetAudioParams().
|
private |
Definition at line 97 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().
|
private |
Definition at line 98 of file audioplayer.h.
Referenced by ReinitAudio().
|
private |
Definition at line 99 of file audioplayer.h.
Referenced by ReinitAudio(), and SetAudioInfo().
|
private |
Definition at line 100 of file audioplayer.h.
Referenced by ReinitAudio(), and SetAudioInfo().
|
private |
Definition at line 101 of file audioplayer.h.
Referenced by CheckFormat(), and ReinitAudio().
|
private |
Definition at line 102 of file audioplayer.h.
Referenced by AddAudioData(), AdjustVolume(), CheckFormat(), DeleteOutput(), GetAudioTime(), GetBufferStatus(), GetMuteState(), GetVolume(), IncrMuteState(), IsPaused(), Pause(), PauseAudioUntilBuffered(), ReinitAudio(), SetEffDsp(), SetMuted(), SetMuteState(), and SetVolume().
|
private |
Definition at line 103 of file audioplayer.h.
Referenced by AudioPlayer(), and ReinitAudio().
|
private |
Definition at line 104 of file audioplayer.h.
Referenced by addVisual(), AddVisuals(), removeVisual(), RemoveVisuals(), ResetVisuals(), and ~AudioPlayer().
1.8.1.2