Small directx sound problem
Small directx sound problem
Hi all, or LUX cos he probably knows this,
I have a book on directx sound, and I hit the first stumbling point.
I am trying to include this
#include <dmusici.h>
Trouble is I get the red squiggly so obviously it is not being found.
Is there something I need to link to get rid of the squiggly?
I am already linked to the directx libs and includes, so it can't be that.
I have a book on directx sound, and I hit the first stumbling point.
I am trying to include this
#include <dmusici.h>
Trouble is I get the red squiggly so obviously it is not being found.
Is there something I need to link to get rid of the squiggly?
I am already linked to the directx libs and includes, so it can't be that.
----> Asimov
"You know no matter how much I think I have learnt. I always end up hitting brick walls"
http://www.asimoventerprises.co.uk
"You know no matter how much I think I have learnt. I always end up hitting brick walls"
http://www.asimoventerprises.co.uk
Re: Small directx sound problem
haha, that is old and deprecated, and well i believe it's dmusic.h not dmusici.h (older than dsound, i think lol)
always available, always on, about ~10 years c/c++, java[script], win32/directx api, [x]html/css/php/some asp/sql experience. (all self taught)
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat --
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat --
Re: Small directx sound problem
Hi Luis,
Well I am trying to learn directx sound by not cheating and nicking Chilli's code LOL.
I have this book "DirectX 9 Audio Exposed: Interactive Audio Development" and it definately does #include <dmusici.h>.
Also I found a few websites including this as well eg
http://www.two-kings.de/tutorials/dxaud ... dio01.html
I am doing directx9 so it will be quite old anyway I suppose. I know chillis directx sound used dsound.h though, but I am having trouble finding decent tutorials.
Doing sprites was a breeze compared with directx sound heh heh.
Well I am trying to learn directx sound by not cheating and nicking Chilli's code LOL.
I have this book "DirectX 9 Audio Exposed: Interactive Audio Development" and it definately does #include <dmusici.h>.
Also I found a few websites including this as well eg
http://www.two-kings.de/tutorials/dxaud ... dio01.html
I am doing directx9 so it will be quite old anyway I suppose. I know chillis directx sound used dsound.h though, but I am having trouble finding decent tutorials.
Doing sprites was a breeze compared with directx sound heh heh.
----> Asimov
"You know no matter how much I think I have learnt. I always end up hitting brick walls"
http://www.asimoventerprises.co.uk
"You know no matter how much I think I have learnt. I always end up hitting brick walls"
http://www.asimoventerprises.co.uk
Re: Small directx sound problem
hmm, now that i remember it, dmusic isn't included in the latest dx sdk (deprecated, outdated ofcourse so they removed it heh)
edit: yep, just checked my dx sdk dirs and it's not there, i even checked the win 7 sdk and what i find there is instead dmusicc.h and dmusics.h
edit: yep, just checked my dx sdk dirs and it's not there, i even checked the win 7 sdk and what i find there is instead dmusicc.h and dmusics.h
Last edited by LuisR14 on July 9th, 2013, 5:23 pm, edited 1 time in total.
always available, always on, about ~10 years c/c++, java[script], win32/directx api, [x]html/css/php/some asp/sql experience. (all self taught)
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat --
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat --
Re: Small directx sound problem
Hi Luis,
Doh back to square one looking for another tutorials LOL.
Doh back to square one looking for another tutorials LOL.
----> Asimov
"You know no matter how much I think I have learnt. I always end up hitting brick walls"
http://www.asimoventerprises.co.uk
"You know no matter how much I think I have learnt. I always end up hitting brick walls"
http://www.asimoventerprises.co.uk
Re: Small directx sound problem
heh, just edited my post above ._.
always available, always on, about ~10 years c/c++, java[script], win32/directx api, [x]html/css/php/some asp/sql experience. (all self taught)
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat --
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat --
Re: Small directx sound problem
Hi Luis,
The book I got is from 2004. That explains it LOL, but it was pretty cheap ahem.
The book I got is from 2004. That explains it LOL, but it was pretty cheap ahem.
----> Asimov
"You know no matter how much I think I have learnt. I always end up hitting brick walls"
http://www.asimoventerprises.co.uk
"You know no matter how much I think I have learnt. I always end up hitting brick walls"
http://www.asimoventerprises.co.uk
Re: Small directx sound problem
hehe lol, (lol, funny how you start each post with Hi Luis, )
always available, always on, about ~10 years c/c++, java[script], win32/directx api, [x]html/css/php/some asp/sql experience. (all self taught)
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat --
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat --
Re: Small directx sound problem
Hi Luis,
Well if I was talking to Lux I would probably put Hi Lux LOL.
It is either hi or dear, and most ppl prefer hi I suppose.
I learnt to type before computers could do 3D, so old fashioned I suppose
Well if I was talking to Lux I would probably put Hi Lux LOL.
It is either hi or dear, and most ppl prefer hi I suppose.
I learnt to type before computers could do 3D, so old fashioned I suppose
----> Asimov
"You know no matter how much I think I have learnt. I always end up hitting brick walls"
http://www.asimoventerprises.co.uk
"You know no matter how much I think I have learnt. I always end up hitting brick walls"
http://www.asimoventerprises.co.uk
Re: Small directx sound problem
hehe, well it's just that it isn't really necessary being that i'm the only one who has posted in this thread (and for every post lol, and pretty much obvious that addressing me xD)
how old you are? o-oAsimov wrote:I learnt to type before computers could do 3D, so old fashioned I suppose
always available, always on, about ~10 years c/c++, java[script], win32/directx api, [x]html/css/php/some asp/sql experience. (all self taught)
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat --
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat --