Results 1 to 3 of 3

Thread: Phonon

  1. #1
    Join Date
    Jul 2008
    Location
    Bangalore, India
    Posts
    24
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Unhappy Phonon

    Hi, guys

    I was trying out phonon lately.....These are the prerequisites i have

    Windows Vista Business
    Windows SDK 6.0 (Is it mandatory to have 6.1 ?)
    DirectX SDK March 2008
    Qt 4.4.3


    Phonon::MediaObject *music = Phonon::createPlayer(Phonon::MusicCategory, Phonon::MediaSource("Alien.wav"));
    music->play();

    However while executing i am getting a runtime error
    "This application has requested the runtime to terminate in an unusual way.....".

    Could someone help me out with this....
    Regards
    QTInfinity

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Phonon

    Try debugging. Maybe the problem is not with Phonon itself but with the way you use it.

  3. #3
    Join Date
    Jul 2008
    Location
    Bangalore, India
    Posts
    24
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Phonon

    I did try out the code from assistant to create the graph manually

    Phonon::MediaObject *mediaObject = new Phonon::MediaObject(this);
    mediaObject->setCurrentSource(Phonon::MediaSource("/mymusic/barbiegirl.wav"));
    Phonon::AudioOutput *audioOutput = new Phonon::AudioOutput(Phonon::MusicCategory, this);
    Phonon::Path path = Phonon::createPath(mediaObject, audioOutput);

    This works fine....

    Issues with the backend technology??

    Regards
    QTInfinity

Similar Threads

  1. I cannot run the phonon demos in the PXA270!Can someone help me?
    By Justin_W in forum Qt for Embedded and Mobile
    Replies: 8
    Last Post: 19th February 2010, 10:14
  2. Alternatives for Phonon ?
    By dano in forum Qt Programming
    Replies: 10
    Last Post: 31st August 2009, 11:19
  3. phonon on QT4.4
    By coolk in forum Installation and Deployment
    Replies: 15
    Last Post: 15th January 2009, 13:38
  4. Phonon and Mac
    By SidGBF in forum Qt Programming
    Replies: 5
    Last Post: 8th September 2008, 13:11
  5. Is it possible to stream data from device with phonon ?
    By Elder Orb in forum Qt-based Software
    Replies: 0
    Last Post: 24th July 2008, 19:58

Tags for this Thread

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.