Sign in to follow this  
Followers 0
neazoi

problem playing wav with resources

1 post in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
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
Sign in to follow this  
Followers 0