[asterisk-commits] tzafrir: branch 10 r370432 - in /branches/10: ./ channels/chan_oss.c

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


Author: tzafrir
Date: Tue Jul 24 12:08:40 2012
New Revision: 370432

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

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

Modified:
    branches/10/   (props changed)
    branches/10/channels/chan_oss.c

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

Modified: branches/10/channels/chan_oss.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/channels/chan_oss.c?view=diff&rev=370432&r1=370431&r2=370432
==============================================================================
--- branches/10/channels/chan_oss.c (original)
+++ branches/10/channels/chan_oss.c Tue Jul 24 12:08: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