Changeset 2588:1b7ef61d7dd2 in roaraudio for libroar/stream.c


Ignore:
Timestamp:
09/08/09 18:42:58 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added roar_stream_[gs]et_dir()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/stream.c

    r2338 r2588  
    158158} 
    159159 
     160int roar_stream_set_dir (struct roar_stream * s, int dir) { 
     161 if ( s == NULL ) 
     162  return -1; 
     163 
     164 s->dir = dir; 
     165 
     166 return 0; 
     167} 
     168 
     169int roar_stream_get_dir (struct roar_stream * s) { 
     170 if ( s == NULL ) 
     171  return -1; 
     172 
     173 return s->dir; 
     174} 
     175 
    160176 
    161177int roar_stream_exec    (struct roar_connection * con, struct roar_stream * s) { 
Note: See TracChangeset for help on using the changeset viewer.