aboutsummaryrefslogtreecommitdiffstats
path: root/channels/gentone.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2001-11-10 20:31:39 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2001-11-10 20:31:39 +0000
commit774aa6110735642abb903085c3ea82cd6e88a109 (patch)
treea00b65b0d9783c6f40bcf60e3a8e245ed40f0dae /channels/gentone.c
parente10d894a83c04547972136ed016761e796589943 (diff)
Version 0.1.10 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@388 f38db490-d61c-443f-a65b-d21fe96a405b
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);