Changeset 1140:443d39e4ba48 in roaraudio for libroar/vio.c


Ignore:
Timestamp:
01/21/09 22:38:21 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added basic roar_vio_ctl() code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vio.c

    r1125 r1140  
    125125 
    126126 return vio->sync(vio); 
     127} 
     128 
     129int     roar_vio_ctl     (struct roar_vio_calls * vio, int cmd, void * data) { 
     130 if ( vio == NULL ) 
     131  return -1; 
     132 
     133 if ( vio->ctl == NULL ) 
     134  return -1; 
     135 
     136 return vio->ctl(vio, cmd, data); 
    127137} 
    128138 
Note: See TracChangeset for help on using the changeset viewer.