Changeset 218:184285b1499a in roaraudio


Ignore:
Timestamp:
07/21/08 23:02:56 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

use the new api func roar_simple_play_file() as it make sthe prog even smaller

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarcatplay.c

    r216 r218  
    4141 
    4242 
    43  if ( roar_simple_connect(&con, server, "roarcatplay") == -1 ) { 
    44   ROAR_DBG("roar_simple_play(*): roar_simple_connect() faild!"); 
    45   return -1; 
    46  } 
    47  
    48  
    4943 if ( file == NULL ) 
    5044  file = "/dev/stdin"; 
    5145 
    52  roar_file_play(&con, file, 1); 
     46 if ( roar_simple_play_file(file, server, "roarcatplay") == -1 ) 
     47  return 1; 
    5348 
    5449 return 0; 
Note: See TracChangeset for help on using the changeset viewer.