57 bool isPlaying()
const noexcept;
71 qint64 duration()
const;
75 qint64 position() const;
79 void setPosition(qint64 position);
88 void setVolume(
int volume);
92 bool isMuted() const noexcept;
96 void setMuted(
bool muted);
101 void setEnhanced(Enhance type);
105 Enhance enhanced() const noexcept;
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();
165 void setCurrentPlayState(
TTK::
PlayState state) noexcept;
171 QString m_currentMedia;
181 #endif // MUSICPLAYER_H
#define TTK_MODULE_EXPORT
The class of the music player.
The namespace of the application object.
#define TTK_DECLARE_MODULE(Class)
The class of the music play list.
The SoundCore class provides a simple interface for audio playback.