[Sumover-dev] [svn commit] r3822 - rat/trunk

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Fri Sep 8 19:22:56 BST 2006


Author: piers
Date: Fri Sep  8 19:23:30 2006
New Revision: 3822

Modified:
   rat/trunk/auddev_oss.c

Log:
Changed perror() call to debug_msg call using strerr() to obtain error message. This
message can get printed alot which is just abit distracting - unless of course one
wants to see it - which can be enabled in bedug mode.


Modified: rat/trunk/auddev_oss.c
==============================================================================
--- rat/trunk/auddev_oss.c	(original)
+++ rat/trunk/auddev_oss.c	Fri Sep  8 19:23:30 2006
@@ -860,7 +860,7 @@
         read_len  = read(devices[ad].audio_rfd, (char *)buf, available);
 	if (read_len < 0) {
 #ifndef HAVE_NETBSD_AUDIO
-		perror("audio_read");
+		debug_msg("audio_read %s\n", strerror(errno));
 #endif
 		return 0;
         }



More information about the Sumover-dev mailing list