Changeset 1253:b3dc719b129f in roaraudio for include/libroar/vio.h


Ignore:
Timestamp:
02/27/09 00:29:24 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

done a converter to let you use an FILE* (stdio) stream as an VIO object

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/vio.h

    r1252 r1253  
    135135off_t   roar_vio_re_lseek(struct roar_vio_calls * vio, off_t offset, int whence); 
    136136 
    137  
     137// stdio 
     138ssize_t roar_vio_stdio_read    (struct roar_vio_calls * vio, void *buf, size_t count); 
     139ssize_t roar_vio_stdio_write   (struct roar_vio_calls * vio, void *buf, size_t count); 
     140off_t   roar_vio_stdio_lseek   (struct roar_vio_calls * vio, off_t offset, int whence); 
     141int     roar_vio_stdio_sync    (struct roar_vio_calls * vio); 
     142int     roar_vio_stdio_close   (struct roar_vio_calls * vio); 
    138143 
    139144#endif 
Note: See TracChangeset for help on using the changeset viewer.