MythTV  master
Public Types | Public Slots | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
MusicPlayer Class Reference

#include <musicplayer.h>

Inheritance diagram for MusicPlayer:
Inheritance graph
[legend]
Collaboration diagram for MusicPlayer:
Collaboration graph
[legend]

Public Types

enum  PlayMode { PLAYMODE_TRACKSPLAYLIST = 0, PLAYMODE_TRACKSEDITOR, PLAYMODE_RADIO }
 
enum  RepeatMode { REPEAT_OFF = 0, REPEAT_TRACK, REPEAT_ALL, MAX_REPEAT_MODES }
 
enum  ShuffleMode {
  SHUFFLE_OFF = 0, SHUFFLE_RANDOM, SHUFFLE_INTELLIGENT, SHUFFLE_ALBUM,
  SHUFFLE_ARTIST, MAX_SHUFFLE_MODES
}
 
enum  ResumeMode {
  RESUME_OFF, RESUME_FIRST, RESUME_TRACK, RESUME_EXACT,
  MAX_RESUME_MODES
}
 

Public Slots

void StartPlayback (void)
 
void StopPlayback (void)
 

Public Member Functions

 MusicPlayer (QObject *parent)
 
 ~MusicPlayer (void)
 
void setPlayMode (PlayMode mode)
 
PlayMode getPlayMode (void)
 
void playFile (const MusicMetadata &mdata)
 
void addListener (QObject *listener)
 
void removeListener (QObject *listener)
 
void addVisual (MainVisual *visual)
 
void removeVisual (MainVisual *visual)
 
void toggleMute (void)
 
MuteState getMuteState (void) const
 
bool isMuted (void) const
 
void setVolume (int volume)
 
void incVolume (void)
 
void decVolume (void)
 
uint getVolume (void) const
 
void setSpeed (float speed)
 
void incSpeed ()
 
void decSpeed ()
 
float getSpeed ()
 
void play (void)
 
void stop (bool stopAll=false)
 
void pause (void)
 
void next (void)
 
void previous (void)
 
void nextAuto (void)
 
bool isPlaying (void)
 
bool isPaused (void)
 
bool isStopped (void)
 
bool hasClient (void)
 
void autoShowPlayer (bool autoShow)
 This will allow/disallow the mini player showing on track changes. More...
 
bool getAutoShowPlayer (void)
 
void canShowPlayer (bool canShow)
 This will allow/disallow the mini player showing even using its jumppoint. More...
 
bool getCanShowPlayer (void)
 
DecodergetDecoder (void)
 
DecoderHandlergetDecoderHandler (void)
 
AudioOutputgetOutput (void)
 
void loadPlaylist (void)
 
void loadStreamPlaylist (void)
 
PlaylistgetCurrentPlaylist (void)
 
StreamListgetStreamList (void)
 
void removeTrack (int trackID)
 
void addTrack (int trackID, bool updateUI)
 
void moveTrackUpDown (bool moveUp, int whichTrack)
 
QList< MusicMetadata * > & getPlayedTracksList (void)
 
int getCurrentTrackPos (void)
 
bool setCurrentTrackPos (int pos)
 
void changeCurrentTrack (int trackNo)
 change the current track to the given track More...
 
int getCurrentTrackTime (void)
 
void activePlaylistChanged (int trackID, bool deleted)
 
void playlistChanged (int playlistID)
 
void savePosition (void)
 
void restorePosition (void)
 
void setAllowRestorePos (bool allow)
 
void seek (int pos)
 
MusicMetadatagetCurrentMetadata (void)
 get the metadata for the current track in the playlist More...
 
MusicMetadatagetNextMetadata (void)
 get the metadata for the next track in the playlist More...
 
void sendMetadataChangedEvent (int trackID)
 
void sendTrackStatsChangedEvent (int trackID)
 
void sendAlbumArtChangedEvent (int trackID)
 
void sendTrackUnavailableEvent (int trackID)
 
void sendCDChangedEvent (void)
 
void toMap (InfoMap &infoMap)
 
void showMiniPlayer (void)
 
RepeatMode getRepeatMode (void)
 
void setRepeatMode (RepeatMode mode)
 
RepeatMode toggleRepeatMode (void)
 
ShuffleMode getShuffleMode (void)
 
void setShuffleMode (ShuffleMode mode)
 
ShuffleMode toggleShuffleMode (void)
 
ResumeMode getResumeMode (void)
 
void getBufferStatus (int *bufferAvailable, int *bufferSize)
 
- Public Member Functions inherited from MythObservable
 MythObservable ()
 
virtual ~MythObservable ()
 
void addListener (QObject *listener)
 Add a listener to the observable. More...
 
void removeListener (QObject *listener)
 Remove a listener to the observable. More...
 
void dispatch (const MythEvent &event)
 Dispatch an event to all listeners. More...
 
bool hasListeners (void)
 

Protected Member Functions

void customEvent (QEvent *event) override
 

Private Member Functions

void loadSettings (void)
 
void stopDecoder (void)
 
bool openOutputDevice (void)
 
void updateLastplay (void)
 
void updateVolatileMetadata (void)
 
void sendVolumeChangedEvent (void)
 
int getNotificationID (const QString &hostname)
 
void sendNotification (int notificationID, const QString &title, const QString &author, const QString &desc)
 
void setupDecoderHandler (void)
 
void decoderHandlerReady (void)
 

Private Attributes

int m_currentTrack {-1}
 
int m_currentTime {0}
 
MusicMetadatam_oneshotMetadata {nullptr}
 
AudioOutputm_output {nullptr}
 
DecoderHandlerm_decoderHandler {nullptr}
 
QSet< QObject * > m_visualisers
 
PlayMode m_playMode {PLAYMODE_TRACKSPLAYLIST}
 
bool m_isPlaying {false}
 
bool m_isAutoplay {false}
 
bool m_canShowPlayer {true}
 
bool m_autoShowPlayer {true}
 
bool m_wasPlaying {false}
 
bool m_updatedLastplay {false}
 
bool m_allowRestorePos {true}
 
int m_lastplayDelay {LASTPLAY_DELAY}
 
ShuffleMode m_shuffleMode {SHUFFLE_OFF}
 
RepeatMode m_repeatMode {REPEAT_OFF}
 
ResumeMode m_resumeModePlayback {RESUME_EXACT}
 
ResumeMode m_resumeModeEditor {RESUME_OFF}
 
ResumeMode m_resumeModeRadio {RESUME_TRACK}
 
float m_playSpeed {1.0F}
 
bool m_showScannerNotifications {true}
 
QMap< QString, int > m_notificationMap
 
QList< MusicMetadata * > m_playedList
 
int m_lastTrackStart {0}
 
int m_bufferAvailable {0}
 
int m_bufferSize {0}
 
int m_errorCount {0}
 

Additional Inherited Members

- Protected Attributes inherited from MythObservable
QMutex * m_lock {nullptr}
 
QSet< QObject * > m_listeners
 

Detailed Description

Definition at line 54 of file musicplayer.h.

Member Enumeration Documentation

◆ PlayMode

Enumerator
PLAYMODE_TRACKSPLAYLIST 
PLAYMODE_TRACKSEDITOR 
PLAYMODE_RADIO 

Definition at line 62 of file musicplayer.h.

◆ RepeatMode

Enumerator
REPEAT_OFF 
REPEAT_TRACK 
REPEAT_ALL 
MAX_REPEAT_MODES 

Definition at line 157 of file musicplayer.h.

◆ ShuffleMode

Enumerator
SHUFFLE_OFF 
SHUFFLE_RANDOM 
SHUFFLE_INTELLIGENT 
SHUFFLE_ALBUM 
SHUFFLE_ARTIST 
MAX_SHUFFLE_MODES 

Definition at line 163 of file musicplayer.h.

◆ ResumeMode

Enumerator
RESUME_OFF 
RESUME_FIRST 
RESUME_TRACK 
RESUME_EXACT 
MAX_RESUME_MODES 

Definition at line 172 of file musicplayer.h.

Constructor & Destructor Documentation

◆ MusicPlayer()

MusicPlayer::MusicPlayer ( QObject *  parent)
explicit

Definition at line 53 of file musicplayer.cpp.

◆ ~MusicPlayer()

MusicPlayer::~MusicPlayer ( void  )

Definition at line 86 of file musicplayer.cpp.

Member Function Documentation

◆ setPlayMode()

void MusicPlayer::setPlayMode ( PlayMode  mode)

Definition at line 945 of file musicplayer.cpp.

Referenced by StreamView::Create(), and MusicCommon::init().

◆ getPlayMode()

PlayMode MusicPlayer::getPlayMode ( void  )
inline

◆ playFile()

void MusicPlayer::playFile ( const MusicMetadata mdata)

Definition at line 223 of file musicplayer.cpp.

Referenced by customEvent(), and ImportMusicDialog::playPressed().

◆ addListener()

void MusicPlayer::addListener ( QObject *  listener)

Definition at line 143 of file musicplayer.cpp.

Referenced by MusicCommon::init().

◆ removeListener()

void MusicPlayer::removeListener ( QObject *  listener)

◆ addVisual()

void MusicPlayer::addVisual ( MainVisual visual)

Definition at line 175 of file musicplayer.cpp.

Referenced by MusicCommon::startVisualizer().

◆ removeVisual()

void MusicPlayer::removeVisual ( MainVisual visual)

Definition at line 189 of file musicplayer.cpp.

Referenced by MusicCommon::stopVisualizer().

◆ toggleMute()

void MusicPlayer::toggleMute ( void  )

Definition at line 1395 of file musicplayer.cpp.

Referenced by MusicCommon::toggleMute(), and MythMusicVolumeDialog::toggleMute().

◆ getMuteState()

MuteState MusicPlayer::getMuteState ( void  ) const

Definition at line 1404 of file musicplayer.cpp.

Referenced by isMuted().

◆ isMuted()

bool MusicPlayer::isMuted ( void  ) const
inline

◆ setVolume()

void MusicPlayer::setVolume ( int  volume)

Definition at line 1379 of file musicplayer.cpp.

Referenced by customEvent().

◆ incVolume()

void MusicPlayer::incVolume ( void  )

◆ decVolume()

void MusicPlayer::decVolume ( void  )

◆ getVolume()

uint MusicPlayer::getVolume ( void  ) const

◆ setSpeed()

void MusicPlayer::setSpeed ( float  speed)

Definition at line 1304 of file musicplayer.cpp.

Referenced by decSpeed(), and incSpeed().

◆ incSpeed()

void MusicPlayer::incSpeed ( )

Definition at line 1313 of file musicplayer.cpp.

Referenced by MusicCommon::changeSpeed().

◆ decSpeed()

void MusicPlayer::decSpeed ( )

Definition at line 1319 of file musicplayer.cpp.

Referenced by MusicCommon::changeSpeed().

◆ getSpeed()

float MusicPlayer::getSpeed ( )
inline

Definition at line 92 of file musicplayer.h.

◆ play()

void MusicPlayer::play ( void  )

◆ stop()

void MusicPlayer::stop ( bool  stopAll = false)

◆ pause()

void MusicPlayer::pause ( void  )

Definition at line 288 of file musicplayer.cpp.

Referenced by customEvent(), MusicCommon::pause(), and stop().

◆ next()

void MusicPlayer::next ( void  )

Definition at line 423 of file musicplayer.cpp.

Referenced by MusicCommon::customEvent(), MusicCommon::next(), nextAuto(), and play().

◆ previous()

void MusicPlayer::previous ( void  )

Definition at line 460 of file musicplayer.cpp.

Referenced by MusicCommon::previous().

◆ nextAuto()

void MusicPlayer::nextAuto ( void  )

Definition at line 491 of file musicplayer.cpp.

Referenced by customEvent().

◆ isPlaying()

bool MusicPlayer::isPlaying ( void  )
inline

◆ isPaused()

bool MusicPlayer::isPaused ( void  )
inline

◆ isStopped()

bool MusicPlayer::isStopped ( void  )
inline

Definition at line 104 of file musicplayer.h.

Referenced by MusicCommon::init().

◆ hasClient()

bool MusicPlayer::hasClient ( void  )
inline

Definition at line 105 of file musicplayer.h.

Referenced by handleMedia(), showMiniPlayer(), and ~MusicPlayer().

◆ autoShowPlayer()

void MusicPlayer::autoShowPlayer ( bool  autoShow)
inline

This will allow/disallow the mini player showing on track changes.

Definition at line 108 of file musicplayer.h.

Referenced by MiniPlayer::keyPressEvent().

◆ getAutoShowPlayer()

bool MusicPlayer::getAutoShowPlayer ( void  )
inline

Definition at line 109 of file musicplayer.h.

Referenced by MiniPlayer::keyPressEvent().

◆ canShowPlayer()

void MusicPlayer::canShowPlayer ( bool  canShow)
inline

This will allow/disallow the mini player showing even using its jumppoint.

Definition at line 112 of file musicplayer.h.

◆ getCanShowPlayer()

bool MusicPlayer::getCanShowPlayer ( void  )
inline

Definition at line 113 of file musicplayer.h.

◆ getDecoder()

Decoder* MusicPlayer::getDecoder ( void  )
inline

◆ getDecoderHandler()

DecoderHandler* MusicPlayer::getDecoderHandler ( void  )
inline

◆ getOutput()

AudioOutput* MusicPlayer::getOutput ( void  )
inline

◆ loadPlaylist()

void MusicPlayer::loadPlaylist ( void  )

Definition at line 957 of file musicplayer.cpp.

Referenced by MusicData::loadMusic(), and setPlayMode().

◆ loadStreamPlaylist()

void MusicPlayer::loadStreamPlaylist ( void  )

◆ getCurrentPlaylist()

Playlist * MusicPlayer::getCurrentPlaylist ( void  )

◆ getStreamList()

StreamList * MusicPlayer::getStreamList ( void  )

Definition at line 1610 of file musicplayer.cpp.

◆ removeTrack()

void MusicPlayer::removeTrack ( int  trackID)

◆ addTrack()

void MusicPlayer::addTrack ( int  trackID,
bool  updateUI 
)

Definition at line 1593 of file musicplayer.cpp.

Referenced by PlaylistEditorView::treeItemClicked().

◆ moveTrackUpDown()

void MusicPlayer::moveTrackUpDown ( bool  moveUp,
int  whichTrack 
)

Definition at line 1010 of file musicplayer.cpp.

Referenced by MusicCommon::keyPressEvent().

◆ getPlayedTracksList()

QList<MusicMetadata*>& MusicPlayer::getPlayedTracksList ( void  )
inline

◆ getCurrentTrackPos()

int MusicPlayer::getCurrentTrackPos ( void  )
inline

◆ setCurrentTrackPos()

bool MusicPlayer::setCurrentTrackPos ( int  pos)

◆ changeCurrentTrack()

void MusicPlayer::changeCurrentTrack ( int  trackNo)

change the current track to the given track

Definition at line 1128 of file musicplayer.cpp.

Referenced by MusicCommon::customEvent(), next(), previous(), and setCurrentTrackPos().

◆ getCurrentTrackTime()

int MusicPlayer::getCurrentTrackTime ( void  )
inline

Definition at line 136 of file musicplayer.h.

Referenced by LyricsView::customEvent().

◆ activePlaylistChanged()

void MusicPlayer::activePlaylistChanged ( int  trackID,
bool  deleted 
)

◆ playlistChanged()

void MusicPlayer::playlistChanged ( int  playlistID)

Definition at line 1483 of file musicplayer.cpp.

Referenced by MusicCommon::customEvent(), and Playlist::resync().

◆ savePosition()

void MusicPlayer::savePosition ( void  )

◆ restorePosition()

void MusicPlayer::restorePosition ( void  )

Definition at line 1060 of file musicplayer.cpp.

Referenced by MusicCommon::init(), and MusicData::reloadMusic().

◆ setAllowRestorePos()

void MusicPlayer::setAllowRestorePos ( bool  allow)
inline

Definition at line 143 of file musicplayer.h.

Referenced by MusicCommon::switchView().

◆ seek()

void MusicPlayer::seek ( int  pos)

Definition at line 1100 of file musicplayer.cpp.

Referenced by decoderHandlerReady(), and restorePosition().

◆ getCurrentMetadata()

MusicMetadata * MusicPlayer::getCurrentMetadata ( void  )

◆ getNextMetadata()

MusicMetadata * MusicPlayer::getNextMetadata ( void  )

get the metadata for the next track in the playlist

Definition at line 1162 of file musicplayer.cpp.

Referenced by TrackInfoPopup::Create(), MusicCommon::customEvent(), and MusicCommon::updateTrackInfo().

◆ sendMetadataChangedEvent()

void MusicPlayer::sendMetadataChangedEvent ( int  trackID)

Definition at line 1331 of file musicplayer.cpp.

Referenced by customEvent(), and EditMetadataCommon::saveToDatabase().

◆ sendTrackStatsChangedEvent()

void MusicPlayer::sendTrackStatsChangedEvent ( int  trackID)

Definition at line 1337 of file musicplayer.cpp.

Referenced by MusicCommon::changeRating(), and updateVolatileMetadata().

◆ sendAlbumArtChangedEvent()

void MusicPlayer::sendAlbumArtChangedEvent ( int  trackID)

Definition at line 1343 of file musicplayer.cpp.

Referenced by EditMetadataCommon::~EditMetadataCommon().

◆ sendTrackUnavailableEvent()

void MusicPlayer::sendTrackUnavailableEvent ( int  trackID)

Definition at line 1349 of file musicplayer.cpp.

Referenced by play().

◆ sendCDChangedEvent()

void MusicPlayer::sendCDChangedEvent ( void  )

Definition at line 1355 of file musicplayer.cpp.

Referenced by handleMedia().

◆ toMap()

void MusicPlayer::toMap ( InfoMap infoMap)

◆ showMiniPlayer()

void MusicPlayer::showMiniPlayer ( void  )

Definition at line 1111 of file musicplayer.cpp.

Referenced by showMiniPlayer().

◆ getRepeatMode()

RepeatMode MusicPlayer::getRepeatMode ( void  )
inline

Definition at line 180 of file musicplayer.h.

Referenced by MusicCommon::createRepeatMenu(), and MusicCommon::updateRepeatMode().

◆ setRepeatMode()

void MusicPlayer::setRepeatMode ( RepeatMode  mode)
inline

Definition at line 181 of file musicplayer.h.

Referenced by MusicCommon::customEvent(), and MusicPlayer().

◆ toggleRepeatMode()

MusicPlayer::RepeatMode MusicPlayer::toggleRepeatMode ( void  )

Definition at line 1187 of file musicplayer.cpp.

Referenced by MusicCommon::keyPressEvent().

◆ getShuffleMode()

ShuffleMode MusicPlayer::getShuffleMode ( void  )
inline

◆ setShuffleMode()

void MusicPlayer::setShuffleMode ( ShuffleMode  mode)

◆ toggleShuffleMode()

MusicPlayer::ShuffleMode MusicPlayer::toggleShuffleMode ( void  )

Definition at line 1208 of file musicplayer.cpp.

Referenced by MusicCommon::keyPressEvent().

◆ getResumeMode()

MusicPlayer::ResumeMode MusicPlayer::getResumeMode ( void  )

Definition at line 203 of file musicplayer.cpp.

Referenced by decoderHandlerReady(), loadPlaylist(), and restorePosition().

◆ getBufferStatus()

void MusicPlayer::getBufferStatus ( int *  bufferAvailable,
int *  bufferSize 
)

Definition at line 939 of file musicplayer.cpp.

Referenced by MusicCommon::updateProgressBar().

◆ StartPlayback

void MusicPlayer::StartPlayback ( void  )
slot

Definition at line 527 of file musicplayer.cpp.

Referenced by MusicPlayer().

◆ StopPlayback

void MusicPlayer::StopPlayback ( void  )
slot

Definition at line 537 of file musicplayer.cpp.

Referenced by MusicPlayer().

◆ customEvent()

void MusicPlayer::customEvent ( QEvent *  event)
overrideprotected

Definition at line 548 of file musicplayer.cpp.

◆ loadSettings()

void MusicPlayer::loadSettings ( void  )
private

Definition at line 212 of file musicplayer.cpp.

Referenced by customEvent(), and MusicPlayer().

◆ stopDecoder()

void MusicPlayer::stopDecoder ( void  )
private

Definition at line 355 of file musicplayer.cpp.

Referenced by play(), and stop().

◆ openOutputDevice()

bool MusicPlayer::openOutputDevice ( void  )
private

Definition at line 361 of file musicplayer.cpp.

Referenced by play().

◆ updateLastplay()

void MusicPlayer::updateLastplay ( void  )
private

Definition at line 1266 of file musicplayer.cpp.

Referenced by customEvent().

◆ updateVolatileMetadata()

void MusicPlayer::updateVolatileMetadata ( void  )
private

Definition at line 1277 of file musicplayer.cpp.

Referenced by changeCurrentTrack().

◆ sendVolumeChangedEvent()

void MusicPlayer::sendVolumeChangedEvent ( void  )
private

Definition at line 1325 of file musicplayer.cpp.

Referenced by decVolume(), incVolume(), setVolume(), and toggleMute().

◆ getNotificationID()

int MusicPlayer::getNotificationID ( const QString &  hostname)
private

Definition at line 1615 of file musicplayer.cpp.

Referenced by customEvent().

◆ sendNotification()

void MusicPlayer::sendNotification ( int  notificationID,
const QString &  title,
const QString &  author,
const QString &  desc 
)
private

Definition at line 1623 of file musicplayer.cpp.

Referenced by customEvent().

◆ setupDecoderHandler()

void MusicPlayer::setupDecoderHandler ( void  )
private

Definition at line 1489 of file musicplayer.cpp.

Referenced by play().

◆ decoderHandlerReady()

void MusicPlayer::decoderHandlerReady ( void  )
private

Definition at line 1505 of file musicplayer.cpp.

Referenced by customEvent().

Member Data Documentation

◆ m_currentTrack

int MusicPlayer::m_currentTrack {-1}
private

◆ m_currentTime

int MusicPlayer::m_currentTime {0}
private

Definition at line 213 of file musicplayer.h.

Referenced by customEvent(), decoderHandlerReady(), getCurrentTrackTime(), and savePosition().

◆ m_oneshotMetadata

MusicMetadata* MusicPlayer::m_oneshotMetadata {nullptr}
private

◆ m_output

AudioOutput* MusicPlayer::m_output {nullptr}
private

◆ m_decoderHandler

DecoderHandler* MusicPlayer::m_decoderHandler {nullptr}
private

◆ m_visualisers

QSet<QObject*> MusicPlayer::m_visualisers
private

Definition at line 220 of file musicplayer.h.

Referenced by addVisual(), decoderHandlerReady(), openOutputDevice(), and removeVisual().

◆ m_playMode

PlayMode MusicPlayer::m_playMode {PLAYMODE_TRACKSPLAYLIST}
private

◆ m_isPlaying

bool MusicPlayer::m_isPlaying {false}
private

Definition at line 223 of file musicplayer.h.

Referenced by decoderHandlerReady(), isPlaying(), nextAuto(), pause(), stop(), and StopPlayback().

◆ m_isAutoplay

bool MusicPlayer::m_isAutoplay {false}
private

Definition at line 224 of file musicplayer.h.

Referenced by addListener(), customEvent(), nextAuto(), and removeListener().

◆ m_canShowPlayer

bool MusicPlayer::m_canShowPlayer {true}
private

Definition at line 225 of file musicplayer.h.

Referenced by canShowPlayer(), customEvent(), getCanShowPlayer(), nextAuto(), and showMiniPlayer().

◆ m_autoShowPlayer

bool MusicPlayer::m_autoShowPlayer {true}
private

◆ m_wasPlaying

bool MusicPlayer::m_wasPlaying {false}
private

Definition at line 227 of file musicplayer.h.

Referenced by StartPlayback(), and StopPlayback().

◆ m_updatedLastplay

bool MusicPlayer::m_updatedLastplay {false}
private

Definition at line 228 of file musicplayer.h.

Referenced by customEvent(), decoderHandlerReady(), and updateLastplay().

◆ m_allowRestorePos

bool MusicPlayer::m_allowRestorePos {true}
private

Definition at line 229 of file musicplayer.h.

Referenced by restorePosition(), and setAllowRestorePos().

◆ m_lastplayDelay

int MusicPlayer::m_lastplayDelay {LASTPLAY_DELAY}
private

Definition at line 231 of file musicplayer.h.

Referenced by customEvent(), and loadSettings().

◆ m_shuffleMode

ShuffleMode MusicPlayer::m_shuffleMode {SHUFFLE_OFF}
private

Definition at line 233 of file musicplayer.h.

Referenced by getShuffleMode(), setShuffleMode(), toggleShuffleMode(), and ~MusicPlayer().

◆ m_repeatMode

RepeatMode MusicPlayer::m_repeatMode {REPEAT_OFF}
private

◆ m_resumeModePlayback

ResumeMode MusicPlayer::m_resumeModePlayback {RESUME_EXACT}
private

Definition at line 235 of file musicplayer.h.

Referenced by getResumeMode(), and loadSettings().

◆ m_resumeModeEditor

ResumeMode MusicPlayer::m_resumeModeEditor {RESUME_OFF}
private

Definition at line 236 of file musicplayer.h.

Referenced by getResumeMode(), and loadSettings().

◆ m_resumeModeRadio

ResumeMode MusicPlayer::m_resumeModeRadio {RESUME_TRACK}
private

Definition at line 237 of file musicplayer.h.

Referenced by getResumeMode(), and loadSettings().

◆ m_playSpeed

float MusicPlayer::m_playSpeed {1.0F}
private

Definition at line 239 of file musicplayer.h.

Referenced by decSpeed(), getSpeed(), incSpeed(), and setSpeed().

◆ m_showScannerNotifications

bool MusicPlayer::m_showScannerNotifications {true}
private

Definition at line 242 of file musicplayer.h.

◆ m_notificationMap

QMap<QString, int> MusicPlayer::m_notificationMap
private

Definition at line 243 of file musicplayer.h.

Referenced by getNotificationID(), and ~MusicPlayer().

◆ m_playedList

QList<MusicMetadata*> MusicPlayer::m_playedList
private

Definition at line 246 of file musicplayer.h.

Referenced by customEvent(), getPlayedTracksList(), and ~MusicPlayer().

◆ m_lastTrackStart

int MusicPlayer::m_lastTrackStart {0}
private

Definition at line 247 of file musicplayer.h.

Referenced by customEvent(), and decoderHandlerReady().

◆ m_bufferAvailable

int MusicPlayer::m_bufferAvailable {0}
private

Definition at line 248 of file musicplayer.h.

Referenced by customEvent(), and getBufferStatus().

◆ m_bufferSize

int MusicPlayer::m_bufferSize {0}
private

Definition at line 249 of file musicplayer.h.

Referenced by customEvent(), and getBufferStatus().

◆ m_errorCount

int MusicPlayer::m_errorCount {0}
private

Definition at line 251 of file musicplayer.h.

Referenced by customEvent(), and play().


The documentation for this class was generated from the following files: