LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Madplay in slave mode??? (https://www.linuxquestions.org/questions/linux-software-2/madplay-in-slave-mode-708789/)

billy242 03-03-2009 07:39 AM

Madplay in slave mode???
 
Please I need help..I can't use Madplay in slave mode(in backend)..
I developpe an MP3 player with QT. I should comminucate whith Madplay(QProcess) to play, pause, stop...when I click on the play,stop buttons ...
How can I write in the stdin of Madplay????

Code:

QStringList args;

QProcess mplay=new Qprocess();
args<< "-v"; 
//args << "-slave"; //?
mplay.start("madplay",args);

//....
mplay.write("pause\n"); //?????



All times are GMT -5. The time now is 04:27 AM.