Changeset 928:8d756b820e71 in roaraudio


Ignore:
Timestamp:
12/07/08 14:49:59 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

got codecfilter sndfile working with sources driver cf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/codecfilter_sndfile.c

    r851 r928  
    8181  return ret * obj->bytes; 
    8282 } else { 
    83   if ( (obj->state = sf_open_fd(s->fh, SFM_READ, &(obj->info), 0)) == NULL ) 
     83  if ( (obj->state = sf_open_fd(s->fh, SFM_READ, &(obj->info), 0)) == NULL ) { 
     84   ROAR_ERR("cf_sndfile_read(*): can not sf_open_fd(*)!"); 
    8485   return -1; 
     86  } 
    8587 
    8688  s->info.codec    = ROAR_CODEC_DEFAULT; 
     
    9799 
    98100  obj->opened      = 1; 
     101  errno = EAGAIN; 
    99102 } 
    100103 
Note: See TracChangeset for help on using the changeset viewer.