thanhluanbk88
21st March 2011, 02:18
Hi,
When i play sound with Sleep function.But it can not play immediately.
I play 2 wav files,but it plays at the same time
Here is my code
sound1 = new QSound("head.wav");
sound2 = new QSound("donkey.wav");
sound1->play();
Sleeper::sleep(15);
sound2->play();
How can i play 2 wav files with Delay between them?
Thanks and best regard!
When i play sound with Sleep function.But it can not play immediately.
I play 2 wav files,but it plays at the same time
Here is my code
sound1 = new QSound("head.wav");
sound2 = new QSound("donkey.wav");
sound1->play();
Sleeper::sleep(15);
sound2->play();
How can i play 2 wav files with Delay between them?
Thanks and best regard!