mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 05:18:31 +00:00
Tone generate modified to export the descriptor creation and deletion.
This commit is contained in:
1 parent
bc13e944c6
commit
f87bf812e7
3 files changed
+87
-62
No files matched your search
@@ -22,7 +22,7 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*
|
||||
* $Id: tone_generate_tests.c,v 1.22 2009/05/30 15:23:14 steveu Exp $
|
||||
* $Id: tone_generate_tests.c,v 1.23 2010/05/22 13:20:18 steveu Exp $
|
||||
*/
|
||||
|
||||
/*! \page tone_generate_tests_page Tone generation tests
|
||||
@@ -66,7 +66,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
/* Try a tone pair */
|
||||
make_tone_gen_descriptor(&tone_desc,
|
||||
tone_gen_descriptor_init(&tone_desc,
|
||||
440,
|
||||
-10,
|
||||
620,
|
||||
@@ -88,7 +88,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
/* Try a different tone pair */
|
||||
make_tone_gen_descriptor(&tone_desc,
|
||||
tone_gen_descriptor_init(&tone_desc,
|
||||
350,
|
||||
-10,
|
||||
440,
|
||||
@@ -110,7 +110,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
/* Try a different tone pair */
|
||||
make_tone_gen_descriptor(&tone_desc,
|
||||
tone_gen_descriptor_init(&tone_desc,
|
||||
400,
|
||||
-10,
|
||||
450,
|
||||
@@ -132,7 +132,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
/* Try a single tone */
|
||||
make_tone_gen_descriptor(&tone_desc,
|
||||
tone_gen_descriptor_init(&tone_desc,
|
||||
400,
|
||||
-10,
|
||||
0,
|
||||
@@ -154,7 +154,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
/* Try a single non-repeating tone */
|
||||
make_tone_gen_descriptor(&tone_desc,
|
||||
tone_gen_descriptor_init(&tone_desc,
|
||||
820,
|
||||
-10,
|
||||
0,
|
||||
@@ -176,7 +176,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
/* Try a single non-repeating tone at 0dBm0 */
|
||||
make_tone_gen_descriptor(&tone_desc,
|
||||
tone_gen_descriptor_init(&tone_desc,
|
||||
820,
|
||||
0,
|
||||
0,
|
||||
@@ -198,7 +198,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
/* Try an AM modulated tone at a modest modulation level (25%) */
|
||||
make_tone_gen_descriptor(&tone_desc,
|
||||
tone_gen_descriptor_init(&tone_desc,
|
||||
425,
|
||||
-10,
|
||||
-50,
|
||||
@@ -220,7 +220,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
/* Try an AM modulated tone at maximum modulation level (100%) */
|
||||
make_tone_gen_descriptor(&tone_desc,
|
||||
tone_gen_descriptor_init(&tone_desc,
|
||||
425,
|
||||
-10,
|
||||
-50,
|
||||
|
||||
Reference in new issue
Block a user