Small directx sound problem

The Partridge Family were neither partridges nor a family. Discuss.
User avatar
Asimov
Posts: 814
Joined: May 19th, 2012, 11:38 pm

Small directx sound problem

Post by Asimov » July 9th, 2013, 4:47 pm

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.
----> Asimov
"You know no matter how much I think I have learnt. I always end up hitting brick walls"
http://www.asimoventerprises.co.uk

User avatar
LuisR14
Posts: 1248
Joined: May 23rd, 2013, 3:52 pm
Location: USA
Contact:

Re: Small directx sound problem

Post by LuisR14 » July 9th, 2013, 4:52 pm

haha, that is old and deprecated, and well i believe it's dmusic.h not dmusici.h :P (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 :mrgreen: --

User avatar
Asimov
Posts: 814
Joined: May 19th, 2012, 11:38 pm

Re: Small directx sound problem

Post by Asimov » July 9th, 2013, 5:02 pm

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.
----> Asimov
"You know no matter how much I think I have learnt. I always end up hitting brick walls"
http://www.asimoventerprises.co.uk

User avatar
LuisR14
Posts: 1248
Joined: May 23rd, 2013, 3:52 pm
Location: USA
Contact:

Re: Small directx sound problem

Post by LuisR14 » July 9th, 2013, 5:17 pm

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 :)
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 :mrgreen: --

User avatar
Asimov
Posts: 814
Joined: May 19th, 2012, 11:38 pm

Re: Small directx sound problem

Post by Asimov » July 9th, 2013, 5:23 pm

Hi Luis,

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

User avatar
LuisR14
Posts: 1248
Joined: May 23rd, 2013, 3:52 pm
Location: USA
Contact:

Re: Small directx sound problem

Post by LuisR14 » July 9th, 2013, 5:24 pm

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 :mrgreen: --

User avatar
Asimov
Posts: 814
Joined: May 19th, 2012, 11:38 pm

Re: Small directx sound problem

Post by Asimov » July 9th, 2013, 5:39 pm

Hi Luis,

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

User avatar
LuisR14
Posts: 1248
Joined: May 23rd, 2013, 3:52 pm
Location: USA
Contact:

Re: Small directx sound problem

Post by LuisR14 » July 9th, 2013, 6:22 pm

hehe lol, (lol, funny how you start each post with Hi Luis, :P)
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 :mrgreen: --

User avatar
Asimov
Posts: 814
Joined: May 19th, 2012, 11:38 pm

Re: Small directx sound problem

Post by Asimov » July 9th, 2013, 6:56 pm

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 :D
----> Asimov
"You know no matter how much I think I have learnt. I always end up hitting brick walls"
http://www.asimoventerprises.co.uk

User avatar
LuisR14
Posts: 1248
Joined: May 23rd, 2013, 3:52 pm
Location: USA
Contact:

Re: Small directx sound problem

Post by LuisR14 » July 9th, 2013, 7:31 pm

hehe, well it's just that it isn't really necessary being that i'm the only one who has posted in this thread :D (and for every post lol, and pretty much obvious that addressing me xD)
Asimov wrote:I learnt to type before computers could do 3D, so old fashioned I suppose :D
how old you are? o-o
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 :mrgreen: --

Post Reply