Direct Sound error
Here is the error:
error C2065: 'DSBCAPS_CTRLDEFAULT' : undeclared identifier
Now, I am pretty sure I know where this error is coming from. I am somehow not including a library which tells my code what the DBSCAPS_CTRLDEFAULT flag means. Here is a list of the included files:
#include dsound.h
#include dmksctrl.h
#include dmusici.h
#include dmusicc.h
#include dmusicf.h
(*I removed the greater than and less than signs so they wouldn't be stripped out as HTML tags)
Also, I have included dsound.lib in my compiler settings.
Anyone have any ideas?
Edited by - Washizu on 11/15/00 1:48:11 AM
That flag became obsolete a while back... don''t ask me why. This is the same as specifying the DSBCAPS_CTRLPAN, DSBCAPS_CTRLVOLUME, and DSBCAPS_CTRLFREQUENCY flags.
I''m running DirectX 7a.
I tried DSBCAPS_CTRLALL and it didn''t know what that was either.
I tried DSBCAPS_CTRLALL and it didn''t know what that was either.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement