PDA

View Full Version : QSound question



franco.amato
13th June 2012, 21:22
Good morning I would know if the play of a sound in qt using QSound is a multithreading process or the application flow is blocked untill the play process finish?
Regards,
Franco

wysota
13th June 2012, 21:50
To quote the docs:

Qt provides the most commonly required audio operation in GUI applications: asynchronously playing a sound file.

franco.amato
13th June 2012, 23:55
To quote the docs:

Hi Wysota thanx. Yes I read that but in my case I got a strange behavior, some operations are not performed (like rendering a qwidget) 'till the audio is not completely finished.....I would know where is my mistake. I'll post some code