Advertisement

Direct Sound error

Started by November 15, 2000 01:19 AM
3 comments, last by Washizu 24 years, 1 month ago
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
What version of Direct X are you running.

Advertisement
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.
Cool, using those three seemed to work. I guess I was using an outdated reference. Thanks!

This topic is closed to new replies.

Advertisement