Changeset 3671:b99065c57cec in roaraudio


Ignore:
Timestamp:
04/06/10 03:50:12 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fixed a problem with the channel mapping

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/streams.c

    r3630 r3671  
    7676   } 
    7777 
     78   memset(s, 0, sizeof(struct roar_stream_server)); 
     79 
    7880   n->id         = i; 
    7981   n->fh         = -1; 
     
    972974  case STREAM_DIR_IN: 
    973975  case STREAM_DIR_NONE: 
     976    memset(ss->chanmap.in, 0, sizeof(ss->chanmap.in)); 
     977 
    974978    if ( map != NULL ) 
    975979     memcpy(ss->chanmap.in, map, len); 
     
    978982   break; 
    979983  case STREAM_DIR_OUT: 
     984    memset(ss->chanmap.out, 0, sizeof(ss->chanmap.out)); 
     985 
    980986    if ( map != NULL ) 
    981987     memcpy(ss->chanmap.out, map, len); 
Note: See TracChangeset for help on using the changeset viewer.