[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#167897: Patch



Here is a quick patch that I whipped together to solve this bug. Please consider applying.

bwindle@razor:~/wavtools$ diff -u wavtools-1.3.2.orig/wav_play.c /tmp/wav_play.c
--- wavtools-1.3.2.orig/wav_play.c      2002-11-05 12:32:25.000000000 -0500
+++ /tmp/wav_play.c     2002-11-05 12:33:15.000000000 -0500
@@ -51,7 +51,14 @@
        int i, p;

        dsp_fd = open("/dev/dsp", O_WRONLY, 0);
+       if (dsp_fd<0) {
+               fprintf(stderr,"Cannot initialize DSP:");
+               perror("");
+               exit(0);
+                     }
+





Burton Windle
Information Systems Specialist
Campus USA Credit Union
352-335-9090 x 1109

CONFIDENTIALITY NOTICE: The information contained in this electronic message is legally privileged and confidential and intended only for the use of the individual or entity named above.  If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this e-mail or any of it?s components is strictly prohibited.  If you have received this email in error, please contact the sender at Campus USA Credit Union at (352) 335-9090.





Reply to: