57 bool isPlaying()
const;
71 qint64 duration()
const;
75 qint64 position()
const;
79 void setPosition(qint64 position);
88 void setVolume(
int volume);
96 void setMuted(
bool muted);
101 void setEnhanced(Enhance type);
105 Enhance enhanced()
const;
115 void durationChanged(qint64 duration);
119 void positionChanged(qint64 position);
137 void setEqualizerEffect(
const TTKIntList &hz);
141 void setEnabledEffect(
bool enabled);
145 void setEqualizerConfig();
155 void generateDuration();
181 #endif // MUSICPLAYER_H
#define TTK_MODULE_EXPORT
MusicPlaylist * m_playlist
The class of the music player.
#define TTK_DECLARE_MODULE(Class)
The class of the music play list.
The SoundCore class provides a simple interface for audio playback.