qt-interest@trolltech.com
[Top] [All Lists]

Issue with sound in qt4

Subject: Issue with sound in qt4
From: Paul England
Date: Wed, 05 Dec 2007 23:00:02 +0900
I've got a qt3 application and qt4 application that does basically the
same thing: listens on a socket, and plays a sound according to the
messages it gets.  The qt3 version is stable, but the qt4 one crashes. 
I have no clue why.  It doesn't core dump, but I get this in stderr
before it dies:

Audio Error of failed request:  BadFlow (invalid Flow parameter)
  Major opcode of failed request:  21 (Au_SetElementStates)
  Serial number of failed request:  899
  Current serial number in output stream:  901

The sound it was trying to play just before it printed this it had
played 100 times prior at least.

The code is quite simple

while ( got_new_line ) {
    my_sound->play();
}


It ran for a good 2 hours before crashing on me today, and I didn't have
ulimit set, so no core file.  Hopefully I can get one tomorrow.

Thanks

--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>
  • Issue with sound in qt4, Paul England <=