Changeset 4876:06a2f29d0450 in roaraudio for roarclients


Ignore:
Timestamp:
04/26/11 12:06:37 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

some updates to handle error values better with DSTR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarvio.c

    r4837 r4876  
    213213 
    214214 if ( roar_vio_open_dstr(&vio, file, &def, 1) == -1 ) { 
    215   ROAR_ERR("Can not open file: %s: %s", file, strerror(errno)); 
     215  ROAR_ERR("Can not open file: %s: %s", file, roar_error2str(roar_error)); 
    216216  return 1; 
    217217 } 
     
    230230 } 
    231231 
     232 if ( roar_error != ROAR_ERROR_NONE ) { 
     233  ROAR_ERR("Can not push data: %s", roar_error2str(roar_error)); 
     234 } 
     235 
    232236 roar_vio_close(&vio); 
    233237 
Note: See TracChangeset for help on using the changeset viewer.