Changeset 943:0e5abb55ef23 in roaraudio for libroar/vio.c


Ignore:
Timestamp:
12/07/08 22:32:01 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added null io read/write for vio

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vio.c

    r897 r943  
    128128} 
    129129 
     130// null 
     131ssize_t roar_vio_null_rw    (struct roar_vio_calls * vio, void *buf, size_t count) { 
     132 if ( vio == NULL || buf == NULL ) 
     133  return -1; 
     134 
     135 return 0; 
     136} 
     137 
    130138// pass 
    131139ssize_t roar_vio_pass_read (struct roar_vio_calls * vio, void *buf, size_t count) { 
Note: See TracChangeset for help on using the changeset viewer.