Changeset 5536:72763f8d8270 in roaraudio for roarclients/roarcat.c


Ignore:
Timestamp:
06/12/12 15:32:44 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

make use of new function roar_stream_new_by_info()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarcat.c

    r5534 r5536  
    185185 } 
    186186 
    187  if ( roar_stream_new(&s, info.rate, info.channels, info.bits, info.codec) == -1 ) { 
     187 if ( roar_stream_new_by_info(&s, &info) == -1 ) { 
    188188  fprintf(stderr, "Error: can not create stream\n"); 
    189189  roar_disconnect(&con); 
Note: See TracChangeset for help on using the changeset viewer.