Re: EuSFML2 Updated

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

Hi

I downloaded the package, and ran it under Phix.

If you

--/* 
include std/machine.e 
--*/ 
include EuSys2.ew 
include EuGfx2.ew 

and

                integer eventType = peek4s(event) 
                integer code = peek4s(event+4) 
                integer alt = peek4s(event+8) 
                atom control = peek4s(event+14) 
                atom shift = peek4s(event+16) 
                atom system = peek4s(event+20) 

at the beginning of the executable programs, and

--/* 
include std/dll.e 
include std/machine.e 
--*/ 

at the beginning of the includes, and add

--SoundBuffer Functions 
atom C_DWORDLONG = C_DOUBLE 

on line 449 of EuAud2.ew, then it works with Phix. (Phix doesn't have a C_DWORDLONG or a C_LONGLONG)

Note the audio demo asks to load test.wav, but you supply test.wma, which eusfml2 does not seem to support.

Sound doesn't sound right yet, but I will fiddle more and let you know if it works

Cheers

Chris

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

Search



Quick Links

User menu

Not signed in.

Misc Menu