Commit 940291dd authored by Stefan Kost's avatar Stefan Kost
Browse files

audio: move testchannels example to 'tests/examples' dir

Also fix it up a little to not include 'c' file but link to the libs instead.
parent 2b32faad
......@@ -1004,6 +1004,7 @@ tests/Makefile
tests/check/Makefile
tests/examples/Makefile
tests/examples/app/Makefile
tests/examples/audio/Makefile
tests/examples/dynamic/Makefile
tests/examples/encoding/Makefile
tests/examples/gio/Makefile
......
libgstaudio_la-multichannel-enumtypes.lo
audio-enumtypes.c
audio-enumtypes.h
testchannels
......@@ -52,11 +52,6 @@ libgstaudio_@GST_MAJORMINOR@_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) \
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-@GST_MAJORMINOR@.la
libgstaudio_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
noinst_PROGRAMS = testchannels
testchannels_SOURCES = testchannels.c
testchannels_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
testchannels_LDADD = $(GST_LIBS)
include $(top_srcdir)/common/gst-glib-gen.mak
if HAVE_INTROSPECTION
......
......@@ -8,7 +8,7 @@ if USE_GIO
GIO_SUBDIRS = gio
endif
SUBDIRS = app dynamic $(FT2_SUBDIRS) $(GIO_SUBDIRS) overlay playrec volume v4l encoding
SUBDIRS = app audio dynamic $(FT2_SUBDIRS) $(GIO_SUBDIRS) overlay playrec volume v4l encoding
DIST_SUBDIRS = app dynamic gio overlay seek snapshot playrec volume v4l encoding
......
noinst_PROGRAMS = testchannels
testchannels_SOURCES = testchannels.c
testchannels_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
testchannels_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_MAJORMINOR) $(GST_LIBS)
......@@ -17,8 +17,8 @@
* Boston, MA 02111-1307, USA.
*/
#include "multichannel.c"
#include "audio-enumtypes.c"
#include <gst/audio/multichannel.h>
#include <gst/audio/audio-enumtypes.h>
gint
main (gint argc, gchar * argv[])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment