summaryrefslogtreecommitdiff
path: root/channels/gentone.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2001-11-10 20:31:39 +0000
committerMark Spencer <markster@digium.com>2001-11-10 20:31:39 +0000
commit5da86a52903cf76faea421421e0257ed32564e92 (patch)
treea00b65b0d9783c6f40bcf60e3a8e245ed40f0dae /channels/gentone.c
parent364f8735737dd02ef5698190b1cfb8c3e97d9fb1 (diff)
Version 0.1.10 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@388 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/gentone.c')
-rwxr-xr-xchannels/gentone.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/gentone.c b/channels/gentone.c
index 00f5af179..530db0eef 100755
--- a/channels/gentone.c
+++ b/channels/gentone.c
@@ -69,10 +69,10 @@ int main(int argc, char *argv[])
if ((f = fopen(fn, "w"))) {
if (freq2)
fprintf(f, "/* %s: Generated from frequencies %d and %d \n"
- " by gensound. %d samples */\n", fn, freq1, freq2, samples);
+ " by gentone. %d samples */\n", fn, freq1, freq2, samples);
else
fprintf(f, "/* %s: Generated from frequency %d\n"
- " by gensound. %d samples */\n", fn, freq1, samples);
+ " by gentone. %d samples */\n", fn, freq1, samples);
fprintf(f, "static short %s[%d] = {\n\t", argv[1], samples);
for (x=0;x<samples;x++) {
val = loudness * sin((freq1 * 2.0 * M_PI * x)/8000.0);