summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>1999-12-25 22:31:01 +0000
committerMark Spencer <markster@digium.com>1999-12-25 22:31:01 +0000
commite2aa31c8ce772fecd4becbbf335bb98605a636b2 (patch)
tree1c4f4a9a06b7a9d7eb2db49114a7695a897c2775 /apps
parenta261bdc235632d2b2e2fe20ad95f59a4b7b2341f (diff)
Version 0.1.2 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rwxr-xr-xapps/app_intercom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_intercom.c b/apps/app_intercom.c
index d7f253c80..97b427ba1 100755
--- a/apps/app_intercom.c
+++ b/apps/app_intercom.c
@@ -59,7 +59,7 @@ static int write_audio(short *data, int len)
pthread_mutex_unlock(&sound_lock);
return -1;
}
- res = write(sound, data, len);
+ res = write(sound, data, len);
pthread_mutex_unlock(&sound_lock);
return res;
}
@@ -97,7 +97,7 @@ static int create_audio()
return -1;
}
if (fmt != desired) {
- ast_log(LOG_WARNING, "Requested %d Hz, got %d Hz -- sound may be choppy\n");
+ ast_log(LOG_WARNING, "Requested %d Hz, got %d Hz -- sound may be choppy\n", desired, fmt);
}
#if 1
/* 2 bytes * 15 units of 2^5 = 32 bytes per buffer */
@@ -146,7 +146,7 @@ static int intercom_exec(struct ast_channel *chan, void *data)
res = 0;
} else
ast_log(LOG_DEBUG, "Unable to handle non-signed linear frame (%d)\n", f->subclass);
- }
+ }
}
ast_frfree(f);
} else