Changeset 3914:dea153d2eff3 in roaraudio


Ignore:
Timestamp:
06/06/10 16:20:02 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added roar_sync() and dummy roar_wait_msg()

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/basic.h

    r3913 r3914  
    9191                                 void * userdata); 
    9292 
     93int roar_sync         (struct roar_connection * con); 
     94int roar_wait_msg     (struct roar_connection * con, int16_t seq, int16_t seqmask); 
     95 
    9396int roar_noop         (struct roar_connection * con); 
    9497 
  • libroar/basic.c

    r3913 r3914  
    315315} 
    316316 
     317int roar_sync         (struct roar_connection * con) { 
     318 // wait for any non-client reqs 
     319 return roar_wait_msg(con, 0x0000, 0x8000); 
     320} 
     321 
     322int roar_wait_msg     (struct roar_connection * con, int16_t seq, int16_t seqmask) { 
     323 return -1; 
     324} 
    317325 
    318326int roar_noop         (struct roar_connection * con) { 
Note: See TracChangeset for help on using the changeset viewer.