DirectAudio and DevC++
Hi,
Has anyone had any luck running code in DevC++ using DirectAudio? Im getting the following error in DevC++:
C:/Program Files/Dev-Cpp/include/dls1.h:264: changes meaning of `WLOOP'' from `
typedef struct _rloop WLOOP''
I tried the same code on my mates PC using MSVC and it worked fine. It looks like theres a problem in the header file but im sure its prolly something else.
Anyone experienced this? All Im doing is including the dmusicc.h and dmusici.h header files!
Thanks,
Harley.
BreakoutX
I got the same problem using Dev-C++.
The problem is that the structure is declared in both dmusicc.h and dls1.h. I don''t have the fix with me but if you rename one declaration or mabye use #ifdef that should work.
The problem is that the structure is declared in both dmusicc.h and dls1.h. I don''t have the fix with me but if you rename one declaration or mabye use #ifdef that should work.
Thanks mate. I had gone to OpenAL. Its pretty good although took a while to get used to its syntax with all of the "al" prefixes and the ALblahblah data types, but its very simple to use.
Just so Im not changing the wrong thing, I changed the WLOOP[1] variable in the DMUS_REGION struct in dmdls.h to WLOOPS[1]. Is this what you meant? Things are working now, I can play a sound at least but I would have thought this would have stuffed things up later on.
Thanks again.
Harley
BreakoutX
Just so Im not changing the wrong thing, I changed the WLOOP[1] variable in the DMUS_REGION struct in dmdls.h to WLOOPS[1]. Is this what you meant? Things are working now, I can play a sound at least but I would have thought this would have stuffed things up later on.
Thanks again.
Harley
BreakoutX
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement