Changeset 5276:0eb24ca6810e in roaraudio for libroar/vio_buffer_store.c


Ignore:
Timestamp:
11/20/11 18:36:49 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

merged VIO's _nonblock() into _ctl() (Closes: #135)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vio_buffer_store.c

    r4708 r5276  
    5656 calls->inst     = self; 
    5757 calls->close    = roar_vio_buffer_store_close; 
    58  calls->nonblock = roar_vio_buffer_store_nonblock; 
    5958 calls->sync     = roar_vio_buffer_store_sync; 
    6059 calls->ctl      = roar_vio_buffer_store_ctl; 
     
    138137} 
    139138 
    140 int     roar_vio_buffer_store_nonblock(struct roar_vio_calls * vio, int state) { 
    141  return 0; // if we are in nonblock or not is the same for us. 
    142 } 
    143  
    144139int     roar_vio_buffer_store_sync    (struct roar_vio_calls * vio) { 
    145140 return 0; // we are always sync. 
     
    160155    return 0; 
    161156   break; 
     157  case ROAR_VIO_CTL_NONBLOCK: 
     158    return 0; // if we are in nonblock or not is the same for us. 
     159   break; 
    162160 } 
    163161 
Note: See TracChangeset for help on using the changeset viewer.