Changeset 59

Show
Ignore:
Timestamp:
02/01/05 14:45:10 (19 years ago)
Author:
pieterpalmers
Message:

- Added two example programs based upon the libiec61883 examples:

  • tests/test-freebob-midi:

Implements an ALSA sequencer client that allows you to send/receive
from the FreeBoB device's MIDI ports. Due to lack of ALSA sequencer
knowledge the send functionallity only works for one port. Receiving
works for both ports.

  • tests/test-freebob-audio:

Implements very basic audio I/O. Records from a hardcoded channel to
a 48Khz, 16bit mono PCM stream. Plays a 48Khz, 16bit mono PCM stream
to all outputs at once.

NOTE: settings are hardcoded for an ESI QuataFire? 610.

- Added ALSA lib detection code to configure.ac (needed for ALSA seq).
- Added a Makefile for the tests/ directory

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freebob/configure.ac

    r45 r59  
    8989PKG_CHECK_MODULES(LIBIEC61883, libiec61883 >= 0.1.0) 
    9090 
     91PKG_CHECK_MODULES(ALSA, alsa >= 1.0.0) 
     92 
    9193AC_SUBST([LIBSIGC_CFLAGS]) 
    9294AC_SUBST([LIBSIGC_LIBS]) 
     
    99101 
    100102AC_CONFIG_FILES([Makefile 
    101                  src/Makefile]) 
     103                 src/Makefile 
     104                 tests/Makefile]) 
    102105AC_OUTPUT 
    103106 
  • trunk/freebob/Makefile.am

    r4 r59  
    1616# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    1717 
    18 SUBDIRS = src 
     18SUBDIRS = src tests 
    1919 
    2020$(srcdir)/configure: configure.ac aclocal.m4