Changeset 5923:bd4b44c86d16 in roaraudio


Ignore:
Timestamp:
09/11/13 12:10:42 (6 years ago)
Author:
phi
Branch:
default
Message:

support debuging those new notify events

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/universal/debug-notify.c

    r5823 r5923  
    157157    break; 
    158158  } 
     159 } else if ( ROAR_NOTIFY_IS_DATA(ev) ) { 
     160  switch (ev) { 
     161   case ROAR_DATA_DMX512_CHANNEL_UPDATE: 
     162     snprintf(estr, sizeof(estr)-1, "/* ROAR_DATA_DMX512_CHANNEL_UPDATE */"); 
     163    break; 
     164   case ROAR_DATA_DMX512_EVENT: 
     165     snprintf(estr, sizeof(estr)-1, "/* ROAR_DATA_DMX512_EVENT */"); 
     166    break; 
     167   // DATA Default: 
     168   default: 
     169     snprintf(estr, sizeof(estr)-1, "/* ROAR_NOTIFY_EVENT2DATA(ROAR_DATA_GROUP(%s) + %lu) */", roar_dir2str(ROAR_DATA_EVENT2DIR(ROAR_NOTIFY_EVENT2DATA(ev))), (long unsigned int)ROAR_DATA_EVENT2EVENT(ROAR_NOTIFY_EVENT2DATA(ev))); 
     170    break; 
     171  } 
    159172 } else if ( ROAR_NOTIFY_IS_USER(ev) ) { 
    160173  snprintf(estr, sizeof(estr)-1, "/* ROAR_NOTIFY_USER2EVENT(%lu) */", (long unsigned int)ROAR_NOTIFY_EVENT2USER(ev)); 
Note: See TracChangeset for help on using the changeset viewer.