MythTV  master
Classes | Macros | Functions | Variables
musicplayer.h File Reference
#include <audiooutput.h>
#include <mythobservable.h>
#include <musicmetadata.h>
#include "decoderhandler.h"
Include dependency graph for musicplayer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MusicPlayerEvent
 
class  MusicPlayer
 

Macros

#define LASTPLAY_DELAY   15
 

Functions

 Q_DECLARE_METATYPE (MusicPlayer::ResumeMode)
 
 Q_DECLARE_METATYPE (MusicPlayer::RepeatMode)
 
 Q_DECLARE_METATYPE (MusicPlayer::ShuffleMode)
 

Variables

MPUBLIC MusicPlayergPlayer
 
MPUBLIC QString gCDdevice
 

Macro Definition Documentation

◆ LASTPLAY_DELAY

#define LASTPLAY_DELAY   15

Definition at line 15 of file musicplayer.h.

Function Documentation

◆ Q_DECLARE_METATYPE() [1/3]

Q_DECLARE_METATYPE ( MusicPlayer::ResumeMode  )

◆ Q_DECLARE_METATYPE() [2/3]

Q_DECLARE_METATYPE ( MusicPlayer::RepeatMode  )

◆ Q_DECLARE_METATYPE() [3/3]

Q_DECLARE_METATYPE ( MusicPlayer::ShuffleMode  )

Variable Documentation

◆ gPlayer

MPUBLIC MusicPlayer* gPlayer

Definition at line 35 of file musicplayer.cpp.

Referenced by StreamView::addStream(), Playlist::addTrack(), MusicCommon::byAlbum(), MusicCommon::byArtist(), MusicCommon::byGenre(), MusicCommon::byTitle(), MusicCommon::byYear(), MusicCommon::changeRating(), MusicCommon::changeSpeed(), MusicCommon::changeVolume(), avfDecoder::checkMetatdata(), LyricsView::Create(), StreamView::Create(), TrackInfoPopup::Create(), PlaylistEditorView::Create(), MusicCommon::createPlayerMenu(), MusicCommon::createQuickPlaylistsMenu(), MusicCommon::createRepeatMenu(), MusicCommon::createShuffleMenu(), MusicCommon::createSubMenu(), LyricsView::customEvent(), SearchView::customEvent(), StreamView::customEvent(), MusicCommon::customEvent(), MusicPlayer::customEvent(), AlbumArt::cycleImage(), MythMusicVolumeDialog::decreaseVolume(), StreamView::deleteStream(), MusicCommon::doUpdatePlaylist(), AlbumArt::draw(), Playlist::fillSongsFromSonglist(), PlaylistEditorView::filterTracks(), AlbumArt::findFrontCover(), LyricsView::findLyrics(), PlaylistEditorView::getCDTracks(), PlaylistEditorView::getPlaylistTracks(), PlaylistEditorView::getSmartPlaylistTracks(), AlbumArt::handleKeyPress(), handleMedia(), MythMusicVolumeDialog::increaseVolume(), MusicCommon::init(), avfDecoder::initialize(), MiniPlayer::keyPressEvent(), LyricsView::keyPressEvent(), MusicCommon::keyPressEvent(), MusicData::loadMusic(), mythplugin_destroy(), mythplugin_init(), AlbumArt::needsUpdate(), MusicCommon::next(), MusicCommon::pause(), MusicCommon::play(), MusicCommon::playFirstTrack(), MusicCommon::playlistItemClicked(), ImportMusicDialog::playPressed(), MusicCommon::previous(), MusicData::reloadMusic(), Playlist::removeTrack(), MusicCommon::restorePosition(), MusicPlayer::restorePosition(), Playlist::resync(), EditMetadataCommon::saveToDatabase(), MusicCommon::seek(), LyricsView::setLyricTime(), SearchView::ShowMenu(), LyricsView::ShowMenu(), showMiniPlayer(), MusicCommon::showPlaylistOptionsMenu(), VisualizerView::showTrackInfoPopup(), GeneralSettings::slotDoResetDB(), MusicCommon::startVisualizer(), MusicCommon::stop(), MusicCommon::stopAll(), MusicCommon::stopVisualizer(), StreamView::streamItemClicked(), MusicCommon::switchView(), MainVisual::timeout(), MusicCommon::toggleMute(), MythMusicVolumeDialog::toggleMute(), MusicCommon::toggleUpmix(), SearchView::trackClicked(), PlaylistEditorView::treeItemClicked(), MythMusicVolumeDialog::updateDisplay(), MusicCommon::updatePlaylistStats(), MusicCommon::updateProgressBar(), MusicCommon::updateRepeatMode(), PlaylistEditorView::updateSelectedTracks(), MusicCommon::updateShuffleMode(), StreamView::updateStream(), StreamView::updateStreamList(), MusicCommon::updateTrackInfo(), SearchView::updateTracksList(), MusicCommon::updateUIPlayedList(), MusicCommon::updateUIPlaylist(), MusicCommon::updateVolume(), EditMetadataCommon::~EditMetadataCommon(), ImportMusicDialog::~ImportMusicDialog(), MiniPlayer::~MiniPlayer(), and MusicCommon::~MusicCommon().

◆ gCDdevice

MPUBLIC QString gCDdevice

Definition at line 36 of file musicplayer.cpp.

Referenced by MusicPlayer::decoderHandlerReady().