Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, December 2007
Issue with sound in qt4


Message 1 in thread

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

--
 [ signature omitted ]