3 registered members (Ayumi, AndrewAMD, TedMar),
1,016
guests, and 2
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Playing sounds problem
[Re: 4gottenname]
#274852
06/28/09 21:30
06/28/09 21:30
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
Theres not much to go wrong with beep. As long as you are using just beep(); with the brackets, and no numbers in the brackets. This triggers the windows "default beep", so it should always work.
Can you post the first 10 lines of an acklog.txt? Or at least check for these three lines with the first 10 lines. MM mixer opened DSOUND device opened DI interface opened
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
Re: Playing sounds problem
[Re: EvilSOB]
#274857
06/28/09 22:09
06/28/09 22:09
|
Joined: Jun 2009
Posts: 22 Finland
4gottenname
OP
Newbie
|
OP
Newbie
Joined: Jun 2009
Posts: 22
Finland
|
Took me a while to find the diag option thing... MM mixer opened DSOUND device opened DI interface opened Start Window opened (c)Conitec . Dieburg . San Diego . www.3dgamestudio.comAtari Lite-C - Free Edition V1.70.1 - Feb 5 2009 Development version Mouse found SB Live! Wave Device opened NVIDIA GeForce 7600 GS pure T&L device 1ff9 detected D3D device NVIDIA GeForce 7600 GS 1ff9 selected.
|
|
|
Re: Playing sounds problem
[Re: EvilSOB]
#274858
06/28/09 22:18
06/28/09 22:18
|
Joined: Jul 2008
Posts: 1,178 England
MrGuest
Serious User
|
Serious User
Joined: Jul 2008
Posts: 1,178
England
|
just try
void main(){
wait(1);
beep();
}
if this works i'm guessing you've not set mouse_mode, so there's no recognition of the mouse being over the panel
|
|
|
Re: Playing sounds problem
[Re: 4gottenname]
#274875
06/28/09 23:48
06/28/09 23:48
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
Question, go to windows 'Control Panel'/'Sounds and Audio Devices'/'Sounds' Tab/Page. Then look in the "events" list to see if there is a WAV attached to the "Default Beep" event.
This is the sound 3DGS will play when it hits a beep(); function. If it is empty, put anything in it (for now), and then test MrGuest's code again.
How did it go?
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
Re: Playing sounds problem
[Re: EvilSOB]
#274930
06/29/09 09:31
06/29/09 09:31
|
Joined: Jun 2009
Posts: 22 Finland
4gottenname
OP
Newbie
|
OP
Newbie
Joined: Jun 2009
Posts: 22
Finland
|
Ahh, thanx EvilSOB! That solved my beep problem Default beep was empty! I had it on windows default so kinda strange. Now I can finaly test if my functions actually are called but I don't think it will solve the other music/wav playing problems. EDIT: Suddenly got the wav working when copy and pasting from AUM 69 menu code, that changed the name from testwav = "mouseover.wav"; to mouseover_wav = "mouseover.wav"; What was wrong with testwav?? EDIT2: And what format should I use for the music files, since mp3 not suported? Need to find a converter...
Last edited by 4gottenname; 06/29/09 10:07.
|
|
|
|