Jump to content

problem playing wav with resources


Recommended Posts

Hi I use resources.au3 '?do=embed' frameborder='0' data-embedContent>>but I have problems in including a wav file and playing it.

In my code I have declared

#AutoIt3Wrapper_Res_File_Add=1.wav, sound, TEST_WAV_1
#include "resources.au3"

and where I want to play the wav:

; play WAV from resource (sync/async)
_ResourcePlaySound("TEST_WAV_1")
_ResourcePlaySound("TEST_WAV_1", $SND_ASYNC)

but it does not work!

I need some help please on this

Edited by neazoi
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...