root/trunk/libffado/tests/Makefile.am

Revision 554, 3.0 kB (checked in by ppalmers, 17 years ago)

Merge echoaudio branch into trunk.

This adds support for the Echo Audiofire devices to FFADO. Possibly also other devices working with the Apple Class Driver will work with this code. It is not fully complete yet, but the main rework is
done.

First of all the IAvDevice class/interface is renamed to FFADODevice, in order to separate the AV/C code from the FFADO API code. A device supported by FFADO implements a FFADODevice.

The BeBoB device has been split up into three groups:
- libavc/* : all code and commands that are specified by AV/C specs. Note that a lot of the code that used to be in BeBoB::AvDevice? now resides in AVC::Unit
- genericavc/* : a FFADODevice that uses AV/C descriptors & commands for discovery and config
- bebob/* : the bebob FFADODevice that inherits from GenericAVC::AvDevice? but that uses BridgeCo? commands for discovery

Everything has been moved as high as possible in the class hierarchy. If necessary, a subclass that uses device specific commands is introduced (e.g. BeBoB::Plug inherits from AVC::Plug and uses the
BridgeCo? extended plug info command to discover it's properties).

There are some other fixes along the way that have been done too.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 # Makefile.am
2 #
3 # Copyright (C) 2005-2007 by Daniel Wagner.
4 # Copyright (C) 2005-2007 by Pieter Palmers.
5 #
6 # This file is part of FFADO.
7 # FFADO = Free Firewire (pro-)audio drivers for linux
8 #
9 # FFADO is based upon FreeBoB.
10 #
11 # FFADO is free software.
12 #
13 # you can redistribute and/or modify the applications
14 # under the terms of the GNU General Public License
15 # version 2, as published by the Free Software Foundation
16 #
17 # FFADO is distributed in the hope that it will be useful,
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20 # GNU (Lesser) General Public License for more details.
21 #
22 # You should have received a copy of the GNU (Lesser) General Public License
23 # along with FFADO; if not, write to the Free Software
24 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
25
26 SUBDIRS=streaming
27
28 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src $(LIBXML_CFLAGS) \
29         $(LIBAVC1394_CFLAGS) $(LIBXMLCPP_CFLAGS)
30
31 noinst_PROGRAMS =
32
33 if BUILD_TESTS
34 #noinst_PROGRAMS += test-ffado test-extplugcmd test-fw410 test-echo \
35 #            test-volume test-mixer test-cycletimer test-sytmonitor \
36 #            test-timestampedbuffer test-ieee1394service test-streamdump
37 noinst_PROGRAMS += test-ffado test-echo
38 endif
39
40 noinst_HEADERS =
41
42 test_ffado_SOURCES = test-ffado.cpp
43 test_ffado_LDADD   = $(top_builddir)/src/libffado.la \
44         $(LIBXML_LIBS) $(LIBAVC1394_LIBS) $(LIBIEC61883_LIBS)
45
46 # test_extplugcmd_SOURCES = test-extplugcmd.cpp
47 # test_extplugcmd_LDADD = $(top_builddir)/src/libffado.la \
48 #       $(LIBAVC1394_LIBS)
49 #
50 # test_volume_SOURCES = test-volume.cpp
51 # test_volume_LDADD = $(top_builddir)/src/libffado.la \
52 #       $(LIBAVC1394_LIBS)
53 #
54 # test_mixer_SOURCES = test-mixer.cpp
55 # test_mixer_LDADD = $(top_builddir)/src/libffado.la \
56 #       $(LIBAVC1394_LIBS)
57 #
58 # test_fw410_SOURCES = test-fw410.cpp
59 # test_fw410_LDADD   = $(LIBAVC1394_LIBS) $(LIBIEC61883_LIBS) -lrom1394
60 #
61 test_echo_SOURCES = test-echo.cpp
62 test_echo_LDADD   = $(LIBAVC1394_LIBS) $(LIBIEC61883_LIBS) $(LIBRAW1394_LIBS) -lrom1394
63 #
64 # test_streamdump_SOURCES = test-streamdump.cpp
65 # test_streamdump_LDADD   = $(LIBAVC1394_LIBS) $(LIBIEC61883_LIBS) -lrom1394
66 #
67 # test_ieee1394service_SOURCES = test-ieee1394service.cpp
68 # test_ieee1394service_LDADD   = $(top_builddir)/src/libffado.la \
69 #                                  $(LIBAVC1394_LIBS) $(LIBIEC61883_LIBS) -lrom1394
70
71 #TESTS_ENVIRONMENT
72 TEST = test-ffado test-echo
73 #
74 # test_cycletimer_LDADD = $(top_builddir)/src/libffado.la $(LIBIEC61883_LIBS) \
75 #       $(LIBRAW1394_LIBS) $(LIBAVC1394_LIBS)
76 # test_cycletimer_SOURCES = test-cycletimer.cpp
77 #
78 # test_sytmonitor_LDADD = $(top_builddir)/src/libffado.la $(LIBIEC61883_LIBS) \
79 #       $(LIBRAW1394_LIBS) $(LIBAVC1394_LIBS)
80 # test_sytmonitor_SOURCES = test-sytmonitor.cpp SytMonitor.cpp \
81 #                             SytMonitor.h
82 #
83 # test_timestampedbuffer_LDADD = $(top_builddir)/src/libffado.la $(LIBIEC61883_LIBS) \
84 #       $(LIBRAW1394_LIBS) $(LIBAVC1394_LIBS)
85 # test_timestampedbuffer_SOURCES = test-timestampedbuffer.cpp
Note: See TracBrowser for help on using the browser.