Changeset 4978:8271ee7bcf5f in roaraudio


Ignore:
Timestamp:
05/16/11 15:56:43 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

avoid usage of roar_simple_{play,monitor,record,filter}() in flavor of roar_simple_stream() to smooth the transition path a bit for 1.0beta*

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroaresd/esdstream.c

    r4708 r4978  
    6969 } 
    7070 
    71  return roar_simple_play(rate, channels, bits, codec, (char*)host, (char*) name); 
     71 return roar_simple_stream(rate, channels, bits, codec, (char*)host, ROAR_DIR_PLAY, (char*) name); 
    7272} 
    7373 
     
    106106 } 
    107107 
    108  return roar_simple_monitor(rate, channels, bits, codec, (char*)host, (char*)name); 
     108 return roar_simple_stream(rate, channels, bits, codec, (char*)host, ROAR_DIR_MONITOR, (char*)name); 
    109109} 
    110110/* int esd_monitor_stream_fallback( esd_format_t format, int rate ); */ 
     
    130130 } 
    131131 
    132  return roar_simple_record(rate, channels, bits, codec, (char*)host, (char*)name); 
     132 return roar_simple_stream(rate, channels, bits, codec, (char*)host, ROAR_DIR_RECORD, (char*)name); 
    133133} 
    134134int esd_record_stream_fallback( esd_format_t format, int rate, 
     
    161161 } 
    162162 
    163  return roar_simple_filter(rate, channels, bits, codec, (char*)host, (char*)name); 
     163 return roar_simple_stream(rate, channels, bits, codec, (char*)host, ROAR_DIR_FILTER, (char*)name); 
    164164} 
    165165 
Note: See TracChangeset for help on using the changeset viewer.