PlaySound(); only plays short sound files. What is the function for long sound files?
PlaySound(); only plays short sound files. What is the function for long sound files?
Compiler: MingW(IDE: Bloodshed Dev-C++ 4.01)
Web Site: Zoo Crew
Forums: Zoo Boards
E-mail: [email protected]
"Do you wanna go to jail or do you wanna go home?!?!" - Alonzo(Training Day)
I can't play songs period, anyone know how to??
#include <iostream>
#include <windows.h>
#include <mmsystem.h>
int main(void)
{
PlaySound("soundfilehere.wav", NULL, PND_ASYNC); // This plays the file in the backround
cout << "Yo!!" << endl;
Sleep(400);
return 0;
}
Compiler: MingW(IDE: Bloodshed Dev-C++ 4.01)
Web Site: Zoo Crew
Forums: Zoo Boards
E-mail: [email protected]
"Do you wanna go to jail or do you wanna go home?!?!" - Alonzo(Training Day)
So this is death, eh ruf?
This is also a windows question.
same difference
Compiler: MingW(IDE: Bloodshed Dev-C++ 4.01)
Web Site: Zoo Crew
Forums: Zoo Boards
E-mail: [email protected]
"Do you wanna go to jail or do you wanna go home?!?!" - Alonzo(Training Day)
No it isn't.
Thats why there is a board for C++ and a board for windows programming.
If you own a piece of land and there is an volcano on it and it ruins a
nearby town, do you have to pay for the property damage?
ok................how do you upload a sound file into a C++ program?
(the windows forum is dead and this is a windows/C++ function).
You guys want me to post it elsewhere because you don't like me. I've seen people post links to their games on the C++ forum, why won't they post it on the game programming forum??
Compiler: MingW(IDE: Bloodshed Dev-C++ 4.01)
Web Site: Zoo Crew
Forums: Zoo Boards
E-mail: [email protected]
"Do you wanna go to jail or do you wanna go home?!?!" - Alonzo(Training Day)
just post your codes
codes can be used to whatever!
forget it man, no one wants to help me
Compiler: MingW(IDE: Bloodshed Dev-C++ 4.01)
Web Site: Zoo Crew
Forums: Zoo Boards
E-mail: [email protected]
"Do you wanna go to jail or do you wanna go home?!?!" - Alonzo(Training Day)
Because you're a rude, stubborn a*shole
he did nothing wrong, just asked if there is way do play sound!
pode,
You are rather underinformed on the subject. He did, in fact, do something wrong, on the GD board.
this isn't the GD board and answer my question
Compiler: MingW(IDE: Bloodshed Dev-C++ 4.01)
Web Site: Zoo Crew
Forums: Zoo Boards
E-mail: [email protected]
"Do you wanna go to jail or do you wanna go home?!?!" - Alonzo(Training Day)
ok man THIS is what he asked
anyone know how to upload long sound files into a program?
didn't he?
he didn't ask for a windows code right there!!