Changeset 5908:66940b2023ee in roaraudio


Ignore:
Timestamp:
09/02/13 00:15:33 (6 years ago)
Author:
phi
Branch:
default
Message:

Added roard driver: i2cdmx.

Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r5902 r5908  
    44        * Added GPIO service. 
    55        * Added GPIO driver: piface. 
     6        * Added roard driver: i2cdmx. 
    67 
    78v. 1.0beta9 - Mon Feb 18 2013 23:28 CET 
  • configure

    r5902 r5908  
    662662test_lib_defmake ROAR_HAVE_H_ICONV       %            iconv.h       c          -- iconv.h 
    663663test_lib_defmake ROAR_HAVE_H_NETINET_IN  %            'netinet/in.h' c         -- 'netinet/in.h' 
    664 test_lib_defmake ROAR_HAVE_H_LINUX_REBOOT %            linux/reboot.h c        -- linux/reboot.h 
    665 test_lib_defmake ROAR_HAVE_H_LINUX_SPI_SPIDEV %            linux/spi/spidev.h c        -- linux/spi/spidev.h 
     664test_lib_defmake ROAR_HAVE_H_LINUX_REBOOT %           linux/reboot.h c         -- linux/reboot.h 
     665test_lib_defmake ROAR_HAVE_H_LINUX_SPI_SPIDEV %       linux/spi/spidev.h c     -- linux/spi/spidev.h 
     666test_lib_defmake ROAR_HAVE_H_LINUX_I2C   %            linux/i2c.h   c          -- linux/i2c.h 
     667test_lib_defmake ROAR_HAVE_H_LINUX_I2C_DEV   %        linux/i2c-dev.h   c      -- linux/i2c-dev.h 
    666668test_lib_defmake ROAR_HAVE_H_WINDOWS     %            windows.h     c          -- windows.h 
    667669test_lib_defmake ROAR_HAVE_H_WINSOCK     %            winsock.h     c          -- winsock.h 
  • roard/Makefile

    r5851 r5908  
    33OBJ=roard.o driver.o mixer.o output.o signals.o loop.o clients.o streams.o network.o commands.o req.o sources.o sample.o meta.o codecfilter.o lib.o ssynth.o container_framework.o plugins.o memlock.o hwmixer.o auth.o caps.o rolestack.o 
    44SUBSYS=midi.o light.o raw.o rdtcs.o waveform.o beep.o 
    5 DRV=driver_esd.o driver_ao.o driver_roar.o driver_oss.o driver_shout.o driver_sndio.o driver_dmx.o driver_pwmled.o driver_sysclock.o driver_wmm.o driver_dstr.o driver_alsa.o driver_rsound.o driver_portaudio.o driver_pulsesimple.o driver_jack.o driver_artsc.o 
     5DRV=driver_esd.o driver_ao.o driver_roar.o driver_oss.o driver_shout.o driver_sndio.o driver_dmx.o driver_pwmled.o driver_i2cdmx.o driver_sysclock.o driver_wmm.o driver_dstr.o driver_alsa.o driver_rsound.o driver_portaudio.o driver_pulsesimple.o driver_jack.o driver_artsc.o 
    66CF_CODEC=codecfilter_cmd.o codecfilter_vorbis.o codecfilter_celt.o codecfilter_speex.o codecfilter_alaw.o codecfilter_mulaw.o codecfilter_sndfile.o codecfilter_fishsound.o codecfilter_flac.o 
    77CF_CONTAINER=codecfilter_wave.o codecfilter_raum.o codecfilter_au.o 
  • roard/driver.c

    r5823 r5908  
    8181 {"pwmled", "PWM LED driver", "/dev/ttyS0", STREAM_DIR_OUT, DRV_FLAG_FHSEC, ROAR_SUBSYS_LIGHT, 
    8282  NULL, NULL, driver_pwmled_open_vio}, 
     83#endif 
     84#ifdef ROAR_HAVE_DRIVER_I2CDMX 
     85 {"i2cdmx", "I^2C DMX Interface driver", "/dev/i2c-1", STREAM_DIR_BIDIR, DRV_FLAG_NONE, ROAR_SUBSYS_LIGHT, 
     86  NULL, NULL, driver_i2cdmx_open_vio}, 
    8387#endif 
    8488#ifdef ROAR_HAVE_DRIVER_SYSCLOCK 
  • roard/include/driver.h

    r5823 r5908  
    115115#endif 
    116116 
     117#if !defined(ROAR_WITHOUT_VIO_DSTR) && !defined(ROAR_WITHOUT_DCOMP_DMX) && defined(ROAR_HAVE_H_LINUX_I2C) && defined(ROAR_HAVE_H_LINUX_I2C_DEV) 
     118#define ROAR_HAVE_DRIVER_I2CDMX 
     119int driver_i2cdmx_open_vio  (struct roar_vio_calls * inst, char * device, struct roar_audio_info * info, int fh, struct roar_stream_server * sstream); 
     120#endif 
     121 
    117122#define DRV_FLAG_NONE           0x00 
    118123#define DRV_FLAG_FHSEC          0x01 
Note: See TracChangeset for help on using the changeset viewer.