From: philburk Date: Thu, 8 Sep 2011 03:21:55 +0000 (+0000) Subject: moved example programs from test folder to examples folder X-Git-Tag: pa_stable_v19_20111121_r1788~25 X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=57dd0b608fd0495916ad99695089cd3aef7b1c6f;p=portaudio moved example programs from test folder to examples folder --- diff --git a/Makefile.in b/Makefile.in index 05229b8..45d1be9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -68,8 +68,16 @@ LOOPBACK_OBJS = \ qa/loopback/src/paqa.o EXAMPLES = \ - bin/paex_sine - + bin/pa_devs \ + bin/pa_fuzz \ + bin/paex_pink \ + bin/paex_read_write_wire \ + bin/paex_record \ + bin/paex_saw \ + bin/paex_sine \ + bin/paex_write_sine \ + bin/paex_write_sine_nonint + TESTS = \ bin/paqa_devs \ bin/paqa_errs \ @@ -88,13 +96,8 @@ TESTS = \ bin/patest_mono \ bin/patest_multi_sine \ bin/patest_out_underflow \ - bin/patest_pink \ bin/patest_prime \ - bin/patest_read_record \ - bin/patest_read_write_wire \ - bin/patest_record \ bin/patest_ringmix \ - bin/patest_saw \ bin/patest_sine8 \ bin/patest_sine_channelmaps \ bin/patest_sine_formats \ @@ -107,10 +110,6 @@ TESTS = \ bin/patest_two_rates \ bin/patest_underflow \ bin/patest_wire \ - bin/patest_write_sine \ - bin/patest_write_sine_nonint \ - bin/pa_devs \ - bin/pa_fuzz \ bin/pa_minlat # Most of these don't compile yet. Put them in TESTS, above, if diff --git a/test/pa_devs.c b/examples/pa_devs.c similarity index 99% rename from test/pa_devs.c rename to examples/pa_devs.c index 97454d2..e630900 100644 --- a/test/pa_devs.c +++ b/examples/pa_devs.c @@ -1,5 +1,5 @@ /** @file pa_devs.c - @ingroup test_src + @ingroup examples_src @brief List available devices, including device information. @author Phil Burk http://www.softsynth.com diff --git a/test/pa_fuzz.c b/examples/pa_fuzz.c similarity index 99% rename from test/pa_fuzz.c rename to examples/pa_fuzz.c index 0b42e38..d5f99ec 100644 --- a/test/pa_fuzz.c +++ b/examples/pa_fuzz.c @@ -1,5 +1,5 @@ /** @file pa_fuzz.c - @ingroup test_src + @ingroup examples_src @brief Distort input like a fuzz box. @author Phil Burk http://www.softsynth.com */ diff --git a/test/patest_mono_asio_channel_select.c b/examples/paex_mono_asio_channel_select.c similarity index 98% rename from test/patest_mono_asio_channel_select.c rename to examples/paex_mono_asio_channel_select.c index 3a4ade2..a7cf9ac 100644 --- a/test/patest_mono_asio_channel_select.c +++ b/examples/paex_mono_asio_channel_select.c @@ -1,5 +1,5 @@ -/** @file pa_test_mono_asio_channel_select.c - @ingroup test_src +/** @file paex_mono_asio_channel_select.c + @ingroup examples_src @brief Play a monophonic sine wave on a specific ASIO channel. @author Ross Bencina @author Phil Burk diff --git a/test/patest_pink.c b/examples/paex_pink.c similarity index 99% rename from test/patest_pink.c rename to examples/paex_pink.c index 7075687..3714ba7 100644 --- a/test/patest_pink.c +++ b/examples/paex_pink.c @@ -1,5 +1,5 @@ -/** @file patest_pink.c - @ingroup test_src +/** @file paex_pink.c + @ingroup examples_src @brief Generate Pink Noise using Gardner method. Optimization suggested by James McCartney uses a tree diff --git a/test/patest_read_write_wire.c b/examples/paex_read_write_wire.c similarity index 96% rename from test/patest_read_write_wire.c rename to examples/paex_read_write_wire.c index a0a042c..52cc6bd 100644 --- a/test/patest_read_write_wire.c +++ b/examples/paex_read_write_wire.c @@ -1,5 +1,5 @@ -/** @file patest_read_write_wire.c - @ingroup test_src +/** @file paex_read_write_wire.c + @ingroup examples_src @brief Tests full duplex blocking I/O by passing input straight to output. @author Bjorn Roche. XO Audio LLC for Z-Systems Engineering. @author based on code by: Phil Burk http://www.softsynth.com diff --git a/test/patest_record.c b/examples/paex_record.c similarity index 99% rename from test/patest_record.c rename to examples/paex_record.c index d44f123..99226fc 100644 --- a/test/patest_record.c +++ b/examples/paex_record.c @@ -1,5 +1,5 @@ -/** @file patest_record.c - @ingroup test_src +/** @file paex_record.c + @ingroup examples_src @brief Record input into an array; Save array to a file; Playback recorded data. @author Phil Burk http://www.softsynth.com */ diff --git a/test/patest_saw.c b/examples/paex_saw.c similarity index 99% rename from test/patest_saw.c rename to examples/paex_saw.c index eec8ff5..235f247 100644 --- a/test/patest_saw.c +++ b/examples/paex_saw.c @@ -1,5 +1,5 @@ -/** @file patest_saw.c - @ingroup test_src +/** @file paex_saw.c + @ingroup examples_src @brief Play a simple (aliasing) sawtooth wave. @author Phil Burk http://www.softsynth.com */ diff --git a/examples/paex_sine.c b/examples/paex_sine.c index a64232b..ed4cb52 100644 --- a/examples/paex_sine.c +++ b/examples/paex_sine.c @@ -1,5 +1,5 @@ -/** @file patest_sine.c - @ingroup test_src +/** @file paex_sine.c + @ingroup examples_src @brief Play a sine wave for several seconds. @author Ross Bencina @author Phil Burk diff --git a/test/patest_wmme_ac3.c b/examples/paex_wmme_ac3.c similarity index 100% rename from test/patest_wmme_ac3.c rename to examples/paex_wmme_ac3.c diff --git a/test/patest_wmme_surround.c b/examples/paex_wmme_surround.c similarity index 100% rename from test/patest_wmme_surround.c rename to examples/paex_wmme_surround.c diff --git a/test/patest_write_sine.c b/examples/paex_write_sine.c similarity index 99% rename from test/patest_write_sine.c rename to examples/paex_write_sine.c index bc79555..720cc36 100644 --- a/test/patest_write_sine.c +++ b/examples/paex_write_sine.c @@ -1,5 +1,5 @@ -/** @file patest_write_sine.c - @ingroup test_src +/** @file paex_write_sine.c + @ingroup examples_src @brief Play a sine wave for several seconds using the blocking API (Pa_WriteStream()) @author Ross Bencina @author Phil Burk diff --git a/test/patest_write_sine_nonint.c b/examples/paex_write_sine_nonint.c similarity index 98% rename from test/patest_write_sine_nonint.c rename to examples/paex_write_sine_nonint.c index c9900d1..3a038e1 100644 --- a/test/patest_write_sine_nonint.c +++ b/examples/paex_write_sine_nonint.c @@ -1,5 +1,5 @@ -/** @file patest_write_sine_nonint.c - @ingroup test_src +/** @file paex_write_sine_nonint.c + @ingroup examples_src @brief Play a non-interleaved sine wave using the blocking API (Pa_WriteStream()) @author Ross Bencina @author Phil Burk