MythTV
master
mythtv
libs
libmythtv
mythplayeraudioui.h
Go to the documentation of this file.
1
#ifndef MYTHPLAYERAUDIOUI_H
2
#define MYTHPLAYERAUDIOUI_H
3
4
// MythTV
5
#include "
libmyth/audio/volumebase.h
"
6
#include "
libmyth/audio/audiooutputgraph.h
"
7
#include "
mythplayeroverlayui.h
"
8
9
class
MTV_PUBLIC
MythPlayerAudioUI
:
public
MythPlayerOverlayUI
10
{
11
Q_OBJECT
12
13
signals:
14
void
AudioStateChanged(
MythAudioState
State
);
15
16
public
slots:
17
void
RefreshAudioState();
18
19
protected
slots:
20
void
InitialiseState
()
override
;
21
void
ChangeMuteState(
bool
CycleChannels);
22
void
ChangeVolume(
bool
Direction,
int
Volume);
23
void
ResetAudio();
24
void
ReinitAudio();
25
void
EnableUpmix(
bool
Enable,
bool
Toggle =
false
);
26
void
PauseAudioUntilBuffered();
27
void
AdjustAudioTimecodeOffset(std::chrono::milliseconds Delta, std::chrono::milliseconds Value);
28
29
public
:
30
MythPlayerAudioUI
(
MythMainWindow
* MainWindow,
TV
* Tv,
PlayerContext
* Context,
PlayerFlags
Flags);
31
32
const
AudioOutputGraph
& GetAudioGraph()
const
;
33
void
SetupAudioGraph (
double
VideoFrameRate);
34
void
ClearAudioGraph ();
35
36
private
:
37
Q_DISABLE_COPY(
MythPlayerAudioUI
)
38
void
SetupAudioOutput(
float
TimeStretch
);
39
40
AudioOutputGraph
m_audioGraph
;
41
};
42
43
#endif
MythPlayerAudioUI::m_audioGraph
AudioOutputGraph m_audioGraph
Definition:
mythplayeraudioui.h:40
AudioOutputGraph
Definition:
audiooutputgraph.h:14
TimeStretch
Definition:
playgroup.cpp:93
PlayerFlags
PlayerFlags
Definition:
mythplayer.h:64
MythPlayerUIBase::InitialiseState
virtual void InitialiseState()
Definition:
mythplayeruibase.cpp:22
MythPlayerAudioUI
Acts as the interface between the UI and the underlying AudioPlayer object.
Definition:
mythplayeraudioui.h:9
State
State
Definition:
zmserver.h:68
MythPlayerOverlayUI
Definition:
mythplayeroverlayui.h:7
mythplayeroverlayui.h
audiooutputgraph.h
volumebase.h
MTV_PUBLIC
#define MTV_PUBLIC
Definition:
mythtvexp.h:15
PlayerContext
Definition:
playercontext.h:49
MythAudioState
A simple wrapper around audio state used to signal changes in the current state.
Definition:
mythplayerstate.h:47
MythMainWindow
Definition:
mythmainwindow.h:28
TV
Control TV playback.
Definition:
tv_play.h:152
Generated on Tue Dec 24 2024 03:16:28 for MythTV by
1.8.17