Re: play sound repeatedly
hi,
did u try
QSound void setLoops ( int l ) ;
hope it helps
Bala
Re: play sound repeatedly
Have you tried MediaObject::setCurrentSource where it will change the source of the file you want to execute rather than keep creating it like you are doing which is wrong. Then just call play when you need it.
Re: play sound repeatedly
@Bala, thank for your suggestion. But QSound doesn't support multiple sound. Each time i touch another label, the other sound is off
@comaWhite, yes i already try that. But that technique won't let my program use multiple sound.
thx for your suggestion...
Re: play sound repeatedly
what do you mean with multiple? Do you mean you want to play two ore more files at the same moment? If so, you have to construct two or more players. If you play them in a sequence see the queue functions.