Changeset 1285:7f5173de7de6 in roaraudio


Ignore:
Timestamp:
03/01/09 01:48:06 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

structs and prototypes for tee and split VIO parts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/vio_ops.h

    r1284 r1285  
    3838#include "libroar.h" 
    3939 
     40#define ROAR_VIO_TEE_MAX_SLOTS 32 
     41 
     42struct roar_vio_tee { 
     43 int next; 
     44 struct roar_vio_calls * slots[ROAR_VIO_TEE_MAX_SLOTS]; 
     45}; 
     46 
     47struct roar_split { 
     48 struct roar_vio_calls * reader; 
     49 struct roar_vio_calls * writer; 
     50}; 
     51 
    4052ssize_t roar_vio_copy_data   (struct roar_vio_calls * out, struct roar_vio_calls * in); 
     53 
     54int roar_vio_open_tee (struct roar_vio_calls * calls); 
     55 
     56int roar_vio_open_split (struct roar_vio_calls * calls, struct roar_vio_calls * reader, struct roar_vio_calls * writer); 
    4157 
    4258#endif 
Note: See TracChangeset for help on using the changeset viewer.