]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
FS-5568 --resolve the real problem is that L=-1 is not valid because the L param...
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 2 Jul 2013 13:44:47 +0000 (08:44 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 2 Jul 2013 13:44:47 +0000 (08:44 -0500)
commitd2a2e4ce1537bad92937c42178a0d8ec3f4cb438
tree6199b5af7128bfdb6771f10de576660bc88685d8
parenta0043b8ca20a109d5b521426d8cdde510cbdc99b
FS-5568 --resolve the real problem is that L=-1 is not valid because the L param is about how many times to generate the output while generating the tone so -1 is impossible because it can never end to let you hear it.  The real fix is to not allow -1 loops=-1 is the correct way to do this because that is parsed after the tone is generated and repeats the entire thing.  Doing something like L=100 actually generates the whole slinear audio 100 times into memore where loops=100 only generates the little snippet and repeats it after it was generated.
libs/freetdm/src/libteletone_generate.c
libs/libteletone/src/libteletone_generate.c