mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
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.
This commit is contained in:
parent
2b32faad91
commit
940291dd38
7 changed files with 12 additions and 9 deletions
|
@ -1004,6 +1004,7 @@ tests/Makefile
|
||||||
tests/check/Makefile
|
tests/check/Makefile
|
||||||
tests/examples/Makefile
|
tests/examples/Makefile
|
||||||
tests/examples/app/Makefile
|
tests/examples/app/Makefile
|
||||||
|
tests/examples/audio/Makefile
|
||||||
tests/examples/dynamic/Makefile
|
tests/examples/dynamic/Makefile
|
||||||
tests/examples/encoding/Makefile
|
tests/examples/encoding/Makefile
|
||||||
tests/examples/gio/Makefile
|
tests/examples/gio/Makefile
|
||||||
|
|
2
gst-libs/gst/audio/.gitignore
vendored
2
gst-libs/gst/audio/.gitignore
vendored
|
@ -1,4 +1,4 @@
|
||||||
libgstaudio_la-multichannel-enumtypes.lo
|
libgstaudio_la-multichannel-enumtypes.lo
|
||||||
audio-enumtypes.c
|
audio-enumtypes.c
|
||||||
audio-enumtypes.h
|
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
|
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-@GST_MAJORMINOR@.la
|
||||||
libgstaudio_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
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
|
include $(top_srcdir)/common/gst-glib-gen.mak
|
||||||
|
|
||||||
if HAVE_INTROSPECTION
|
if HAVE_INTROSPECTION
|
||||||
|
|
|
@ -8,7 +8,7 @@ if USE_GIO
|
||||||
GIO_SUBDIRS = gio
|
GIO_SUBDIRS = gio
|
||||||
endif
|
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
|
DIST_SUBDIRS = app dynamic gio overlay seek snapshot playrec volume v4l encoding
|
||||||
|
|
||||||
|
|
1
tests/examples/audio/.gitignore
vendored
Normal file
1
tests/examples/audio/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
testchannels
|
6
tests/examples/audio/Makefile.am
Normal file
6
tests/examples/audio/Makefile.am
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
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.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "multichannel.c"
|
#include <gst/audio/multichannel.h>
|
||||||
#include "audio-enumtypes.c"
|
#include <gst/audio/audio-enumtypes.h>
|
||||||
|
|
||||||
gint
|
gint
|
||||||
main (gint argc, gchar * argv[])
|
main (gint argc, gchar * argv[])
|
Loading…
Reference in a new issue