[asterisk-commits] tzafrir: trunk r370433 - in /trunk: ./ channels/chan_oss.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jul 24 12:16:42 CDT 2012


Author: tzafrir
Date: Tue Jul 24 12:16:40 2012
New Revision: 370433

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

Merged revisions 370428 from http://svn.asterisk.org/svn/asterisk/branches/1.8

Merged revisions 370432 from http://svn.asterisk.org/svn/asterisk/branches/10

Modified:
    trunk/   (props changed)
    trunk/channels/chan_oss.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-10-merged' - no diff available.

Modified: trunk/channels/chan_oss.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_oss.c?view=diff&rev=370433&r1=370432&r2=370433
==============================================================================
--- trunk/channels/chan_oss.c (original)
+++ trunk/channels/chan_oss.c Tue Jul 24 12:16:40 2012
@@ -531,7 +531,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