PlaySound doesn't work

Discussion in 'Scar/Simba Help' started by Tiri, Jul 17, 2007.

PlaySound doesn't work
  1. Unread #1 - Jul 17, 2007 at 3:54 PM
  2. Tiri
    Referrals:
    0

    Tiri Guest

    PlaySound doesn't work

    my message didn't post correctly, so i repeat my msg

    hi.

    i would like to know, how to use this procedure? when i put it into my script, it just doesn't work. i don't get any sound.

    look at this example:
    Code:
     WriteLn(IntToStr(GetSoundDuration('C:\WINDOWS\Media\ding.wav')));
      PlaySound('C:\WINDOWS\Media\ding.wav'); 
    it properly finds that file, prints it duration, but sound is not played.

    what can be reasons for this? does this procedure needs any initialization or setup? should i check some settings?
     
  3. Unread #2 - Jul 18, 2007 at 10:06 PM
  4. Chippy
    Joined:
    Jun 29, 2007
    Posts:
    250
    Referrals:
    0
    Sythe Gold:
    0

    Chippy Forum Addict

    PlaySound doesn't work

    Make sure you have the updated SCAR and updated SRL just incase, make sure you have the RIGHT link to the sound object before you do this.
     
  5. Unread #3 - Jul 19, 2007 at 1:20 AM
  6. Tiri
    Referrals:
    0

    Tiri Guest

    PlaySound doesn't work

    Versions are fine. SCAR Divi 3.11, SRL 3.8.

    Any other ideas? :)

    and by the way, how to make these forums be viewed as plain text? like simple version or something
     
< color picking thing ? | Please Help >

Users viewing this thread
1 guest


 
 
Adblock breaks this site