Sound Problem After Exiting An Allegro Program


el_pango

Member
Joined
May 31, 2006
Messages
145
Location
California
Hi,

I am doing something like the following in my code:

At the beginning:
CODE

install_sound(DIGI_AUTODETECT , MIDI_NONE, NULL);

/* sometimes, the volume is 0 on startup...? */
/* force the issue. */
global_vol = 127;
set_volume(global_vol,-1);



I am able to play sounds normally, but after the app exits, the device is totally silent, and no sounds can be heard until I reboot it. I am making sure to stop and destroy all sounds before exiting.

Has anyone else encountered anything like this?
 
Back
Top