Changeset 465:82fd66e50dc3 in roaraudio for include


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

Location:
include
Files:
2 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); 
  • include/roaraudio/proto.h

    r352 r465  
    4646#define ROAR_SET_ACL           26 /* set ACL, may have subtypes */ 
    4747 
     48#define ROAR_CMD_GET_STREAM_PARA   27 /* Get addition stream parameters like blocksizes */ 
     49#define ROAR_CMD_SET_STREAM_PARA   28 /* set specal stream parameter */ 
    4850 
    4951 
Note: See TracChangeset for help on using the changeset viewer.