Changeset 566:bbe262037cc9 in roaraudio


Ignore:
Timestamp:
08/19/08 00:27:45 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added obsoleted-warnings and set orginal codec in source type cf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/sources.c

    r556 r566  
    3838 struct roar_stream * s; 
    3939 
     40 ROAR_WARN("sources_add_raw(*): The raw source is obsolete, use source 'cf' (default)!"); 
     41 
    4042 if ( (fh = open(device, O_RDONLY, 0644)) == -1 ) { 
    4143  return -1; 
     
    6668 char buf[44]; 
    6769 struct roar_stream * s; 
     70 
     71 ROAR_WARN("sources_add_raw(*): The wav(e) source is obsolete, use source 'cf' (default)!"); 
    6872 
    6973 if ( (fh = open(device, O_RDONLY, 0644)) == -1 ) { 
     
    147151 s->info.codec = codec; 
    148152 
     153 ROAR_STREAM_SERVER(s)->codec_orgi = codec; 
     154 
    149155 streams_set_fh(stream, fh); 
    150156 
Note: See TracChangeset for help on using the changeset viewer.