![]() |
|
Cannot play Sound |
raphael01
Member #7,618
August 2006
|
I have problems by playing sound.
I see the picture, the application sleeps 5 secounds, but I hear no sound. |
Richard Phipps
Member #1,632
November 2001
![]() |
First. Add error checking to make sure the sound system is being setup correctly and that the sound is being loaded correctly. If that finds no errors, then try moving the install sound line till after the gfx mode has been setup. |
raphael01
Member #7,618
August 2006
|
There is no message. |
Audric
Member #907
January 2001
|
If the allegro examples work, the difference may be caused by a allegro.cfg with different settings, in the same directory as the exe. |
Arthur Kalliokoski
Second in Command
February 2005
![]() |
Probably not the problem, but you can hear sounds from other apps, right? I've had that bite me a few times when reinstalling OS. They all watch too much MSNBC... they get ideas. |
CIRCLE
Member #5,301
December 2004
|
I get an error every time I run it changing sounds to everything I have but to early in morning for me to see the problem -I edit a lot. Prepare thyself. |
raphael01
Member #7,618
August 2006
|
Yes, only Allegro cannot play sound. |
Audric
Member #907
January 2001
|
The setup program should help troubleshoot. If none of the proposed drivers work, there's definitely a problem between your machine and allegro. |
raphael01
Member #7,618
August 2006
|
I don't have got the Setup-Program, because I used the Allegro DevPack.:-/ |
LennyLen
Member #5,313
December 2004
![]() |
Quote: I don't have got the Setup-Program, because I used the Allegro DevPack Then download and build the library yourself.
|
gnolam
Member #2,030
March 2002
![]() |
And please post the corrected version of your code. The one with full error checking. -- |
CIRCLE
Member #5,301
December 2004
|
Just got home from work and noticed that there are no replies that 'help' so try this out
You shouldn't have to change anything I used all your variables and file locations just compile and run. If there is an error this will tell you. This is you old code I just moved a few things around and works fine now
-I edit a lot. Prepare thyself. |
|