I am trying to playback some simple wave files and running into problems. I create a simple MediaIObject and call play, like this:
music = Phonon::createPlayer( Phonon::MusicCategory, Phonon::MediaSource( path ) );
music->play();
music = Phonon::createPlayer( Phonon::MusicCategory, Phonon::MediaSource( path ) );
music->play();
To copy to clipboard, switch view to plain text mode
The sound doesn't play to the end, it stops early. I created a widget to show me the status of the playing, tracking stateChanged and tick and I get this info:
totalTime(): 2414ms
tick time: 928ms
remainingTime: 1486ms
currentTime: 928ms
The sound *can* be heard. The above seems to indicate that Phonon has intentionally stopped the playback. Logging the errorString on stateChanges is also always empty (no errors). The status changes I've also logged and look like:
StoppedState
BufferingState
PlayingState
StoppedState
Any ideas on why this is happening?
Bookmarks