]> Repos - portaudio/commitdiff
moved example programs from test folder to examples folder
authorphilburk <philburk@0f58301d-fd10-0410-b4af-bbb618454e57>
Thu, 8 Sep 2011 03:21:55 +0000 (03:21 +0000)
committerphilburk <philburk@0f58301d-fd10-0410-b4af-bbb618454e57>
Thu, 8 Sep 2011 03:21:55 +0000 (03:21 +0000)
13 files changed:
Makefile.in
examples/pa_devs.c [moved from test/pa_devs.c with 99% similarity]
examples/pa_fuzz.c [moved from test/pa_fuzz.c with 99% similarity]
examples/paex_mono_asio_channel_select.c [moved from test/patest_mono_asio_channel_select.c with 98% similarity]
examples/paex_pink.c [moved from test/patest_pink.c with 99% similarity]
examples/paex_read_write_wire.c [moved from test/patest_read_write_wire.c with 96% similarity]
examples/paex_record.c [moved from test/patest_record.c with 99% similarity]
examples/paex_saw.c [moved from test/patest_saw.c with 99% similarity]
examples/paex_sine.c
examples/paex_wmme_ac3.c [moved from test/patest_wmme_ac3.c with 100% similarity]
examples/paex_wmme_surround.c [moved from test/patest_wmme_surround.c with 100% similarity]
examples/paex_write_sine.c [moved from test/patest_write_sine.c with 99% similarity]
examples/paex_write_sine_nonint.c [moved from test/patest_write_sine_nonint.c with 98% similarity]

index 05229b8bcdddbf66106c81a955c1da2a3b8b08ca..45d1be950bfc77872b5ef62ab52deed078713ad9 100644 (file)
@@ -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
similarity index 99%
rename from test/pa_devs.c
rename to examples/pa_devs.c
index 97454d2b1b64f737b28c6aee9b7d89aed4a21456..e6309001f26ef050a5765d186b83f51723a81c77 100644 (file)
@@ -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
 
similarity index 99%
rename from test/pa_fuzz.c
rename to examples/pa_fuzz.c
index 0b42e3860198d2b226f01d41e74d1364c6703632..d5f99eca269f8be9de1ac6a6abb5670a287180f4 100644 (file)
@@ -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
 */
similarity index 98%
rename from test/patest_mono_asio_channel_select.c
rename to examples/paex_mono_asio_channel_select.c
index 3a4ade229dd732fbf341de8e6e21dc9ed5b97117..a7cf9ac6cc9f56a38c7e06a0a56012150f40809e 100644 (file)
@@ -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 <rossb@audiomulch.com>
        @author Phil Burk <philburk@softsynth.com>
similarity index 99%
rename from test/patest_pink.c
rename to examples/paex_pink.c
index 7075687b6f1fdce6a7cef7338fae9caa40892e6f..3714ba7603ac2543f2b648efecdd102dcd3d15b0 100644 (file)
@@ -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
similarity index 96%
rename from test/patest_read_write_wire.c
rename to examples/paex_read_write_wire.c
index a0a042c6bef5c860a04859911281cd74f00e1457..52cc6bda0828486639e4ee1cb8e804771b04cb50 100644 (file)
@@ -1,5 +1,5 @@
-/** @file patest_read_write_wire.c\r
-       @ingroup test_src\r
+/** @file paex_read_write_wire.c\r
+       @ingroup examples_src\r
        @brief Tests full duplex blocking I/O by passing input straight to output.\r
        @author Bjorn Roche. XO Audio LLC for Z-Systems Engineering.\r
     @author based on code by: Phil Burk  http://www.softsynth.com\r
similarity index 99%
rename from test/patest_record.c
rename to examples/paex_record.c
index d44f1234bf883dbaff2a9f15e747abe9b5bacd80..99226fca84e9167926a4c504b391da3e00cc9f83 100644 (file)
@@ -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
 */
similarity index 99%
rename from test/patest_saw.c
rename to examples/paex_saw.c
index eec8ff5fc8bbfa9ec5b9d46004c27dced03aab56..235f247e92b3c3f08aa6b877ac7691fc8320966c 100644 (file)
@@ -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
 */
index a64232ba5fac7a45f34088fb67548ad76e50ee35..ed4cb52156a07294d26efcd53ccbd503aa8dfb3b 100644 (file)
@@ -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 <rossb@audiomulch.com>
     @author Phil Burk <philburk@softsynth.com>
similarity index 99%
rename from test/patest_write_sine.c
rename to examples/paex_write_sine.c
index bc79555890733266414314e4e4709f6f515a27c4..720cc367bab88e0e7b8ee95337b15b9ff9948821 100644 (file)
@@ -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 <rossb@audiomulch.com>
     @author Phil Burk <philburk@softsynth.com>
similarity index 98%
rename from test/patest_write_sine_nonint.c
rename to examples/paex_write_sine_nonint.c
index c9900d109291e2672588cef5e67351e29c6aa1b4..3a038e18588202598773987e0d3c1ef85f1432e3 100644 (file)
@@ -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 <rossb@audiomulch.com>
     @author Phil Burk <philburk@softsynth.com>