Re: wxEuphoria sound

new topic     » goto parent     » topic index » view thread      » older message » newer message
--sound_test.exw 
 
include wxeu/wxeud.e 
 
atom x, void, sound 
 
--s = create( wxSound, {"minewinner.wav"})  
--in /demo/mines.exw:   
--         sndWinner = create( wxSound, {"resources/minewinner.wav"}) 
 
s = sound_create( sound, "minewinner.wav", 1) 
  --variable sound has not been assigned a value  
   
x = sound_play (s, wxSOUND_ASYNC) 

I think sound_create is not required, the wav file is already.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu