Talk:Phonon: Difference between revisions

From KDE TechBase
(New page: I come here to learn something about phonon, but this page is not helpful at all. Basically it gives a lot of meta-information (the confidency index of this page is 0, what is a confidency...)
 
(It goes easier)
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
I come here to learn something about phonon, but this page is not helpful at all. Basically it gives a lot of meta-information (the confidency index of this page is 0, what is a confidency index) that can only be useful if the "bulk" text is useful. The "bulk" text consist of the message that you can as well use as develop the phonon api. An example how to use the phonon api would have been enough to make my day. --[[User:Tstaerk|Tstaerk]] 06:57, 15 October 2008 (UTC)
This does not play anything, does not give an error message, and the article does not give a hint how to track this problem down. --[[User:Tstaerk|Tstaerk]] 16:26, 2 May 2009 (UTC)
: Now it works but I cannot use the mixer --[[User:Tstaerk|Tstaerk]] 10:08, 7 June 2009 (UTC)
 
----
 
It goes easier:
int main(int argc, char** argv)
{
    QApplication app(argc, argv);
    QApplication::setApplicationName("Phonon Test");
    QWidget widget;
    Phonon::MediaObject* source = new Phonon::MediaObject(&widget);
    Phonon::AudioOutput* sink = new Phonon::AudioOutput(Phonon::MusicCategory, &widget);
    createPath(source, sink);
    source->setCurrentSource(QString("sample.mp3"));
    source->play();
    widget.show();
    return app.exec();
}

Revision as of 13:40, 4 October 2010

This does not play anything, does not give an error message, and the article does not give a hint how to track this problem down. --Tstaerk 16:26, 2 May 2009 (UTC)

Now it works but I cannot use the mixer --Tstaerk 10:08, 7 June 2009 (UTC)

It goes easier:

int main(int argc, char** argv)
{
   QApplication app(argc, argv);
   QApplication::setApplicationName("Phonon Test");
   QWidget widget;
   Phonon::MediaObject* source = new Phonon::MediaObject(&widget);
   Phonon::AudioOutput* sink = new Phonon::AudioOutput(Phonon::MusicCategory, &widget);
   createPath(source, sink);
   source->setCurrentSource(QString("sample.mp3"));
   source->play();
   widget.show();
   return app.exec();
}