diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2012-07-24 17:16:40 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2012-07-24 17:16:40 +0000 |
commit | 6f8bb4783362af8b4472ebb61b492b476b58035e (patch) | |
tree | 5535b032fbbb0928a05847851ef61b2d0e6a166d /channels | |
parent | af3ef19d006723daef84165f22ddeafc24ef37a6 (diff) |
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
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_oss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_oss.c b/channels/chan_oss.c index 8cd20296d..bcf6dd8ad 100644 --- a/channels/chan_oss.c +++ b/channels/chan_oss.c @@ -531,7 +531,7 @@ static int setformat(struct chan_oss_pvt *o, int mode) 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) { |