Changeset 465:82fd66e50dc3 in roaraudio for include/libroar/stream.h


Ignore:
Timestamp:
08/12/08 15:37:57 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added support to get the size of optimal read() and write()s

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/stream.h

    r229 r465  
    1414                           "unknown" ) 
    1515 
     16struct roar_stream_info { 
     17 int block_size; 
     18}; 
     19 
    1620int roar_stream_connect (struct roar_connection * con, struct roar_stream * s, int dir); 
    1721 
     
    2428int roar_stream_add_data (struct roar_connection * con, struct roar_stream * s, char * data, size_t len); 
    2529 
     30int roar_stream_get_info (struct roar_connection * con, struct roar_stream * s, struct roar_stream_info * info); 
     31 
    2632int roar_stream_s2m     (struct roar_stream * s, struct roar_message * m); 
    2733int roar_stream_m2s     (struct roar_stream * s, struct roar_message * m); 
Note: See TracChangeset for help on using the changeset viewer.