Changeset 4829:2da845cb0c30 in roaraudio


Ignore:
Timestamp:
04/03/11 09:58:19 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added a dirty trick to find out if we are a pass- or a re-vio.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vio.c

    r4730 r4829  
    651651     return -1; 
    652652 
    653     *(char**)data = "pass"; 
     653    // dirty trick to get real name... 
     654    if ( vio->read == roar_vio_re_read ) { 
     655     *(char**)data = "re"; 
     656    } else { 
     657     *(char**)data = "pass"; 
     658    } 
    654659    return 0; 
    655660   break; 
Note: See TracChangeset for help on using the changeset viewer.