MythTV
master
|
#include <mythplugins/mythmusic/mythmusic/mainvisual.h>
Public Slots | |
void | timeout () |
Public Member Functions | |
MainVisual (MythUIVideo *visualizer) | |
~MainVisual () override | |
VisualBase * | visual (void) const |
void | setVisual (const QString &name) |
void | stop (void) |
void | resize (QSize size) |
void | add (const void *buffer, unsigned long b_len, std::chrono::milliseconds timecode, int source_channel, int bits_per_sample) override |
void | prepare (void) override |
void | customEvent (QEvent *event) override |
void | setFrameRate (int newfps) |
int | frameRate (void) const |
QStringList | getVisualizations (void) |
int | getCurrentVisual (void) const |
Public Member Functions inherited from MythTV::Visual | |
Visual () | |
virtual | ~Visual () |
QMutex * | mutex () |
Private Attributes | |
MythUIVideo * | m_visualizerVideo {nullptr} |
QStringList | m_visualizers |
int | m_currentVisualizer {0} |
VisualBase * | m_vis {nullptr} |
QPixmap | m_pixmap |
QList< VisualNode * > | m_nodes |
bool | m_playing {false} |
int | m_fps {20} |
unsigned long | m_samples {SAMPLES_DEFAULT_SIZE} |
QTimer * | m_updateTimer {nullptr} |
Definition at line 34 of file mainvisual.h.
|
explicit |
Definition at line 32 of file mainvisual.cpp.
|
override |
Definition at line 54 of file mainvisual.cpp.
|
inline |
Definition at line 42 of file mainvisual.h.
Referenced by VisualizerView::keyPressEvent().
void MainVisual::setVisual | ( | const QString & | name | ) |
Definition at line 78 of file mainvisual.cpp.
Referenced by MusicCommon::switchVisualizer(), and MusicCommon::updateTrackInfo().
void MainVisual::stop | ( | void | ) |
Definition at line 67 of file mainvisual.cpp.
Referenced by timeout().
void MainVisual::resize | ( | QSize | size | ) |
Definition at line 256 of file mainvisual.cpp.
Referenced by MainVisual().
|
overridevirtual |
Implements MythTV::Visual.
Definition at line 145 of file mainvisual.cpp.
|
overridevirtual |
Implements MythTV::Visual.
Definition at line 136 of file mainvisual.cpp.
Referenced by PlaylistEditorView::keyPressEvent(), MusicCommon::seek(), and setVisual().
|
override |
Definition at line 265 of file mainvisual.cpp.
void MainVisual::setFrameRate | ( | int | newfps | ) |
|
inline |
Definition at line 56 of file mainvisual.h.
|
inline |
Definition at line 58 of file mainvisual.h.
Referenced by MusicCommon::init().
|
inline |
Definition at line 60 of file mainvisual.h.
Referenced by MusicCommon::init().
|
slot |
Definition at line 209 of file mainvisual.cpp.
Referenced by MainVisual().
|
private |
Definition at line 66 of file mainvisual.h.
Referenced by MainVisual(), resize(), setVisual(), and timeout().
|
private |
Definition at line 67 of file mainvisual.h.
Referenced by getVisualizations(), MainVisual(), and setVisual().
|
private |
Definition at line 68 of file mainvisual.h.
Referenced by getCurrentVisual(), MainVisual(), setVisual(), and ~MainVisual().
|
private |
Definition at line 69 of file mainvisual.h.
Referenced by resize(), setVisual(), stop(), timeout(), visual(), and ~MainVisual().
|
private |
Definition at line 70 of file mainvisual.h.
Referenced by resize(), setVisual(), and timeout().
|
private |
Definition at line 71 of file mainvisual.h.
Referenced by add(), prepare(), timeout(), and ~MainVisual().
Definition at line 72 of file mainvisual.h.
Referenced by customEvent(), and timeout().
|
private |
Definition at line 73 of file mainvisual.h.
Referenced by frameRate(), MainVisual(), and setVisual().
|
private |
Definition at line 74 of file mainvisual.h.
Referenced by add(), and setVisual().
|
private |
Definition at line 75 of file mainvisual.h.
Referenced by customEvent(), MainVisual(), setVisual(), stop(), timeout(), and ~MainVisual().