Changeset 4383:5e587feaae19 in roaraudio


Ignore:
Timestamp:
09/14/10 22:57:44 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

extend the subsys match to MIXING streams

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/streams.c

    r4379 r4383  
    460460    return streams_get_subsys(ROAR_STREAM(ss)->pos_rel_id); 
    461461   break; 
     462  case ROAR_DIR_MIXING: 
     463    return ROAR_SUBSYS_NONE; 
     464   break; 
    462465 } 
    463466 
     
    969972 int i; 
    970973 int subsys; 
     974 int tsubsys; 
    971975 
    972976 _CHECK_SID(id); 
     
    982986   if ( (pmss = g_streams[i]) != NULL ) { 
    983987    if ( streams_get_flag(i, ROAR_FLAG_PASSMIXER) == 1 ) { 
    984      if ( streams_get_subsys(i) == subsys ) { 
     988     tsubsys = streams_get_subsys(i); 
     989     if ( tsubsys == subsys || tsubsys == ROAR_SUBSYS_NONE ) { 
    985990      if ( &(pmss->mixer) != &(ss->mixer) ) { 
    986991       memcpy(&(pmss->mixer), &(ss->mixer), sizeof(struct roar_mixer_settings)); 
Note: See TracChangeset for help on using the changeset viewer.