Hello,
I am creating a music player in Qt using phonon but I have a problem with the volume slider. I wrote this code but volume slider doesn't work , I mean its not turning the volume up or down or mute it .
Phonon::VolumeSlider * volume = new Phonon::VolumeSlider(this);
Phonon::AudioOutput * audio = new Phonon::AudioOutput (Phonon::MusicCategory,this);
volume->setAudioOutput(audio);
Phonon::VolumeSlider * volume = new Phonon::VolumeSlider(this);
Phonon::AudioOutput * audio = new Phonon::AudioOutput (Phonon::MusicCategory,this);
volume->setAudioOutput(audio);
To copy to clipboard, switch view to plain text mode
the second thing is I created a label and I want the song title to appear on that label but I don't know how to write the code for it.
Can someone help me ?
Thanks in advance
Bookmarks