[asterisk-commits] tzafrir: branch 1.8 r370428 - /branches/1.8/channels/chan_oss.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jul 24 11:49:32 CDT 2012


Author: tzafrir
Date: Tue Jul 24 11:49:30 2012
New Revision: 370428

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=370428
Log:
chan_oss: fix "sample rate" error message

Modified:
    branches/1.8/channels/chan_oss.c

Modified: branches/1.8/channels/chan_oss.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_oss.c?view=diff&rev=370428&r1=370427&r2=370428
==============================================================================
--- branches/1.8/channels/chan_oss.c (original)
+++ branches/1.8/channels/chan_oss.c Tue Jul 24 11:49:30 2012
@@ -532,7 +532,7 @@
 	res = ioctl(fd, SNDCTL_DSP_SPEED, &fmt);
 
 	if (res < 0) {
-		ast_log(LOG_WARNING, "Failed to set audio device to mono\n");
+		ast_log(LOG_WARNING, "Failed to set sample rate to %d\n", desired);
 		return -1;
 	}
 	if (fmt != desired) {




More information about the asterisk-commits mailing list