![]() |
|
|
|
#1
|
|||
|
|||
|
Hi!
If I play a sound with sndPlay function then if it's a lont sound how can I stop it for example after 3 seconds? Thx. in advance ![]() gLes
|
|
#2
|
|||
|
|||
|
Use a timer, and once 3 seconds are up, then stop it using something like this:
SndPlaySound(nil); |
|
#3
|
|||
|
|||
|
I tried it but it didn't work...anything else?
|
|
#4
|
|||
|
|||
|
I looked it up, as I was not sure if that was correct or not, and this is what I used in my program.
sndPlaySound(nil, 0); If that does not work, give me your code of your playing of the sound file. |
|
#5
|
|||
|
|||
|
Thx...it works now...I tried it all kind of ways and it always came up with some conversion error...it's fine now...thx
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|