Changeset 5955:2ae1c52c3610 in roaraudio for roard/streams.c


Ignore:
Timestamp:
11/20/13 16:43:30 (10 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Implemented read-only support for RAUM files using uniraum, support using libRAUM got disabled (See #233).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/streams.c

    r5823 r5955  
    566566 ROAR_DBG("streams_set_role(id=%i, role=%i) = ?", id, role); 
    567567 
    568  if ( old_role == role ) 
     568 if ( old_role == role ) { 
     569  ROAR_DBG("streams_set_role(id=%i, role=%i) = 0", id, role); 
    569570  return 0; 
     571 } 
    570572 
    571573 if ( old_role != role && old_role != -1 && role != -1 ) { 
     
    813815   break; 
    814816  default: 
     817    ROAR_DBG("streams_set_fh(id=%i, fh=%i): codec=%s(%i)", id, fh, roar_codec2str(s->info.codec), s->info.codec); 
    815818    if ( codecfilter_open(&(ss->codecfilter_inst), &(ss->codecfilter), NULL, 
    816819                     s->info.codec, ss) == -1 ) { 
    817820     streams_delete(id); // TODO: FIXME: is this correct? shoudn't we return -1 in any case here? 
     821     ROAR_DBG("streams_set_fh(id=%i, fh=%i) = -1", id, fh); 
    818822     return -1; 
    819823    } 
Note: See TracChangeset for help on using the changeset viewer.