Changeset 5992:02a3b1aabf06 in roaraudio


Ignore:
Timestamp:
02/24/14 16:23:28 (5 years ago)
Author:
phi
Branch:
default
Message:

allow adding events within file2filter created filter structures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/universal/filter-slfi-file2filter.c

    r5990 r5992  
    2828 
    2929#define MAX_STACKSIZE 16 
     30 
     31static int __cb_event_add(struct roar_slfi_inst * inst, void * userdata, uint8_t event) { 
     32 (void)inst; 
     33 return roar_slfi_event_add(userdata, event); 
     34} 
    3035 
    3136static struct roar_slfi_inst * __parse_filter(char * p) { 
     
    173178  return -1; 
    174179 
     180 roar_slfi_cb_set_event_add(inst->userdata, __cb_event_add, inst); 
     181 
    175182 return 0; 
    176183} 
Note: See TracChangeset for help on using the changeset viewer.