Changeset 5908:66940b2023ee in roaraudio for roard


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

Added roard driver: i2cdmx.

Location:
roard
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • 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.