Changeset 358 for trunk/libfreebob

Show
Ignore:
Timestamp:
12/29/06 13:25:01 (17 years ago)
Author:
wagi
Message:

basic bebob serializing code added.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libfreebob/config.h.in

    r185 r358  
    8484#undef const 
    8585 
    86 /* Define to `unsigned' if <sys/types.h> does not define. */ 
     86/* Define to `unsigned int' if <sys/types.h> does not define. */ 
    8787#undef size_t 
    8888 
  • trunk/libfreebob/configure.ac

    r336 r358  
    118118PKG_CHECK_MODULES(ALSA, alsa >= 1.0.0) 
    119119PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= 2.6.0) 
     120PKG_CHECK_MODULES(LIBXMLCPP, libxml++-2.6 >= 2.14.0) 
    120121 
    121122# Setup CFLAGS and CXXFLAGS 
  • trunk/libfreebob/src/Makefile.am

    r338 r358  
    2020        $(LIBRAW1394_CFLAGS) $(LIBIEC61883_CFLAGS)      \ 
    2121        $(LIBAVC1394_CFLAGS) $(LIBXML_CFLAGS)           \ 
     22        $(LIBXMLCPP_CFLAGS)                             \ 
    2223        -I$(top_srcdir) -I$(top_srcdir)/src 
    2324 
    2425lib_LTLIBRARIES = libfreebob.la 
    25 noinst_HEADERS =                               
     26noinst_HEADERS =                                       
    2627        configrom.h                                     \ 
    2728        csr1212.h                                       \ 
    2829        devicemanager.h                                 \ 
    2930        fbtypes.h                                       \ 
    30       bounce/bounce_avdevice.h                        \ 
    31       motu/motu_avdevice.h                            \ 
    32       rme/rme_avdevice.h 
     31      bounce/bounce_avdevice.h                        \ 
     32      motu/motu_avdevice.h                            \ 
     33      rme/rme_avdevice.h 
    3334 
    3435libfreebob_la_SOURCES =                                 \ 
     
    5657        bebob/bebob_dl_bcd.h                            \ 
    5758        bebob/bebob_dl_bcd.cpp                          \ 
    58         motu/motu_avdevice.cpp                          \ 
    59         motu/motu_avdevice.h                            \ 
    60         rme/rme_avdevice.cpp                            \ 
    61         rme/rme_avdevice.h                              \ 
     59        bebob/bebob_serialize.h                         \ 
     60        bebob/bebob_serialize.cpp                       \ 
     61        motu/motu_avdevice.cpp                          \ 
     62        motu/motu_avdevice.h                            \ 
     63        rme/rme_avdevice.cpp                            \ 
     64        rme/rme_avdevice.h                              \ 
    6265        bounce/bounce_avdevice.h                        \ 
    6366        bounce/bounce_avdevice.cpp                      \ 
     
    9497        debugmodule/debugmodule.h                       \ 
    9598        debugmodule/debugmodule.cpp                     \ 
    96         libstreaming/cip.c     
    97         libstreaming/freebob_streaming.cpp     
    98         libstreaming/IsoHandler.cpp     
    99         libstreaming/IsoHandlerManager.cpp     
    100         libstreaming/IsoStream.cpp     
    101         libstreaming/PacketBuffer.cpp   
    102         libstreaming/PortManager.cpp   
    103         libstreaming/Port.cpp   
    104         libstreaming/StreamProcessor.cpp       
    105         libstreaming/StreamProcessorManager.cpp
    106         libstreaming/AmdtpPortInfo.cpp 
    107         libstreaming/AmdtpPort.cpp     
    108         libstreaming/AmdtpStreamProcessor.cpp   
    109         libstreaming/ringbuffer.c       
    110         libstreaming/streamstatistics.cpp       
    111         libstreaming/MotuStreamProcessor.cpp   
    112         libstreaming/MotuPort.cpp       
    113         libstreaming/MotuPortInfo.cpp
    114         libutil/DelayLockedLoop.h       
    115         libutil/Atomic.h       
    116         libutil/PosixThread.h   
    117         libutil/Thread.h       
    118         libutil/DelayLockedLoop.cpp     
     99        libstreaming/cip.c                             
     100        libstreaming/freebob_streaming.cpp             
     101        libstreaming/IsoHandler.cpp                    
     102        libstreaming/IsoHandlerManager.cpp             
     103        libstreaming/IsoStream.cpp                     
     104        libstreaming/PacketBuffer.cpp                  
     105        libstreaming/PortManager.cpp                   
     106        libstreaming/Port.cpp                          
     107        libstreaming/StreamProcessor.cpp               
     108        libstreaming/StreamProcessorManager.cpp        
     109        libstreaming/AmdtpPortInfo.cpp                 
     110        libstreaming/AmdtpPort.cpp                     
     111        libstreaming/AmdtpStreamProcessor.cpp          
     112        libstreaming/ringbuffer.c                      
     113        libstreaming/streamstatistics.cpp              
     114        libstreaming/MotuStreamProcessor.cpp           
     115        libstreaming/MotuPort.cpp                      
     116        libstreaming/MotuPortInfo.cpp                  
     117        libutil/DelayLockedLoop.h                      
     118        libutil/Atomic.h                               
     119        libutil/PosixThread.h                          
     120        libutil/Thread.h                               
     121        libutil/DelayLockedLoop.cpp                    
    119122        libutil/PosixThread.cpp  
    120123 
     
    122125        -version-info $(LT_VERSION) $(LIBRAW1394_LIBS)  \ 
    123126        $(LIBIEC61883_LIBS) $(LIBAVC1394_LIBS)          \ 
    124         $(LIBXML_LIBS) -lpthread 
     127        $(LIBXML_LIBS) $(LIBXMLCPP_LIBS) -lpthread 
    125128 
    126129nobase_dist_pkgdata_DATA =                              \ 
    127130        maudio/refdesign.xml                            \ 
    128         maudio/fw410.xml                                       
     131        maudio/fw410.xml                               
    129132        maudio/fwap.xml 
    130133 
    131134bin_PROGRAMS = freebob_downloader freebob_sync 
    132135 
    133 freebob_downloader_SOURCES =   
     136freebob_downloader_SOURCES =                           
    134137        freebob-downloader.cpp 
    135 freebob_downloader_LDADD =     
    136         libfreebob.la           
    137         $(LIBRAW1394_LIBS)     
    138         $(LIBIEC61883_LIBS)     
    139         $(LIBAVC1394_LIBS)     
     138freebob_downloader_LDADD =                             
     139        libfreebob.la                                  
     140        $(LIBRAW1394_LIBS)                             
     141        $(LIBIEC61883_LIBS)                            
     142        $(LIBAVC1394_LIBS)                             
    140143        -lpthread 
    141144 
    142 freebob_sync_SOURCES =   
     145freebob_sync_SOURCES =                                 
    143146        freebob-sync.cpp 
    144 freebob_sync_LDADD =     
    145         libfreebob.la           
    146         $(LIBRAW1394_LIBS)     
    147         $(LIBIEC61883_LIBS)     
    148         $(LIBAVC1394_LIBS)     
     147freebob_sync_LDADD =                                  
     148        libfreebob.la                                  
     149        $(LIBRAW1394_LIBS)                             
     150        $(LIBIEC61883_LIBS)                            
     151        $(LIBAVC1394_LIBS)                             
    149152        -lpthread 
    150153 
     
    156159test_debugmodule_SOURCES = debugmodule/test_debugmodule.cpp 
    157160test_debugmodule_LDADD = libfreebob.la 
     161 
     162noinst_PROGRAMS = bebob_unittests 
     163 
     164bebob_unittests_SOURCES = bebob/bebob_unittests.cpp 
     165bebob_unittests_LDADD   = $(top_builddir)/src/libfreebob.la \ 
     166        $(LIBXMLCPP_LIBS) $(LIBAVC1394_LIBS) $(LIBIEC61883_LIBS)