Changeset 3070:c91953eb6c3c in roaraudio


Ignore:
Timestamp:
01/03/10 14:14:42 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added delay parameter to _DUMMY_FILTER()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/codecfilter.c

    r2839 r3070  
    3333#endif 
    3434 
    35 #define _DUMMY_FILTER(codec,name,desc,flags,subsystem) {(codec),(name),(desc),NULL,NULL,(flags),(subsystem), \ 
    36                                                         NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL        } 
     35#define _DUMMY_FILTER(codec,name,desc,flags,subsystem,delay) {(codec),(name),(desc),NULL,NULL,(flags),(subsystem), \ 
     36                                                              NULL, NULL, NULL, NULL, NULL, NULL, (delay), NULL    } 
    3737 
    3838#define _PCM_FILTER(codec) _DUMMY_FILTER(codec, "PCM", "Native PCM Support", \ 
    3939                                         ROAR_CODECFILTER_READ|ROAR_CODECFILTER_WRITE|ROAR_CODECFILTER_PRETHRU_NN, \ 
    40                                          ROAR_SUBSYS_WAVEFORM) 
     40                                         ROAR_SUBSYS_WAVEFORM, NULL) 
    4141 
    4242struct roar_codecfilter g_codecfilter[] = { 
    43  _DUMMY_FILTER(-1, "null", "null codec filter", ROAR_CODECFILTER_NONE, ROAR_SUBSYS_NONE), 
     43 _DUMMY_FILTER(-1, "null", "null codec filter", ROAR_CODECFILTER_NONE, ROAR_SUBSYS_NONE, NULL), 
    4444 _PCM_FILTER(ROAR_CODEC_PCM_S_LE), 
    4545 _PCM_FILTER(ROAR_CODEC_PCM_S_BE), 
     
    4949 _PCM_FILTER(ROAR_CODEC_PCM_U_PDP), 
    5050 _DUMMY_FILTER(ROAR_CODEC_MIDI, "MIDI", "Native MIDI Support", 
    51                ROAR_CODECFILTER_READ|ROAR_CODECFILTER_WRITE|ROAR_CODECFILTER_PRETHRU_NN, ROAR_SUBSYS_MIDI), 
     51               ROAR_CODECFILTER_READ|ROAR_CODECFILTER_WRITE|ROAR_CODECFILTER_PRETHRU_NN, ROAR_SUBSYS_MIDI, NULL), 
    5252 {ROAR_CODEC_DMX512,      "DMX512", "Native DMX512 Support", NULL, NULL, 
    5353                          ROAR_CODECFILTER_READ|ROAR_CODECFILTER_WRITE|ROAR_CODECFILTER_PRETHRU_NN, ROAR_SUBSYS_LIGHT, 
     
    191191 
    192192 _DUMMY_FILTER(ROAR_CODEC_ROARDMX, "RoarDMX", "Native RoarDMX Support", 
    193                ROAR_CODECFILTER_READ|ROAR_CODECFILTER_WRITE|ROAR_CODECFILTER_PRETHRU_NN, ROAR_SUBSYS_LIGHT), 
     193               ROAR_CODECFILTER_READ|ROAR_CODECFILTER_WRITE|ROAR_CODECFILTER_PRETHRU_NN, ROAR_SUBSYS_LIGHT, NULL), 
    194194 
    195195 {-1, NULL, NULL, NULL, NULL, ROAR_CODECFILTER_NONE, ROAR_SUBSYS_NONE, 
Note: See TracChangeset for help on using the changeset viewer.