Mail Archives: djgpp/1997/02/25/19:15:43
Paul Derbyshire wrote:
> SEVERE BUG #1: After running an Allegro program that executes a
> play_sample at some point, then returning to DOS, if you then run another
> DOS program that uses sound, e.g. the test-sbc program that comes with a
> creative labs soundblaster, the result is a squawk from the soundcard and
> a system hang.
Have you been able to reproduce this event using any of the example
programs that come with Allegro? Does this happen on computers other
than yours? If so, there might be something wrong with Allegro's
sound. Otherwise, it could be an "operator error" or a quirk with your
computer.
> SEVERE BUG #2: load_sample always returns NULL, even if the string it is
> sent as parameter is the fille name of a mono WAV exactly as per
> instructions. For instance, if I have C:\DJGPP\SOUND001.WAV, and the
> current directory is C:\DJGPP, absolutely NONE of these work,
> load_sample("SOUND001") or load_sample("SOUND001.WAV") or
> load_sample("C:\DJGPP\SOUND001.WAV") and it shoulld CERTAINLY WORK in the
> latter case, where it was given a FULL FILE PATH to a file that definitely
> EXISTS and is indeed a WAV file that is mono and not stereo.
Erm.. Using 'load_sample("C:\DJGPP\SOUND001.WAV");' should *not* work.
Use forward slashes or double-backslashes instead of single backslashes
in the pathname.
(also, you'll tend to get better replies if you don't sound angry)
-- Yamaha / XYZZ "May farce the with be you."
mailto:scriven AT CS DOT ColoState DOT edu
mailto:scriven AT VIS DOT ColoState DOT edu
http://www.vis.colostate.edu/~scriven/
- Raw text -