Results 1 to 2 of 2

Thread: two questions : phonon volume slider and displaying song tiltle

  1. #1

    Default two questions : phonon volume slider and displaying song tiltle

    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 .
    Qt Code:
    1. Phonon::VolumeSlider * volume = new Phonon::VolumeSlider(this);
    2. Phonon::AudioOutput * audio = new Phonon::AudioOutput (Phonon::MusicCategory,this);
    3. 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

  2. #2

    Default Re: two questions : phonon volume slider and displaying song tiltle

    no one can help me ?

Similar Threads

  1. How to set volume of phonon audio output
    By athulms in forum Newbie
    Replies: 4
    Last Post: 9th November 2011, 09:38
  2. Replies: 0
    Last Post: 19th September 2011, 10:11
  3. Phonon and Volume Slider (Nokia N8)
    By abashir in forum Newbie
    Replies: 0
    Last Post: 6th January 2011, 22:46
  4. Replies: 2
    Last Post: 21st March 2010, 09:01
  5. Displaying YUV data through Phonon
    By heminm in forum Qt Programming
    Replies: 0
    Last Post: 10th October 2009, 16:16

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.