Changeset 3214:df7983de831f in roaraudio


Ignore:
Timestamp:
01/24/10 05:56:23 (10 years ago)
Author:
phi
Branch:
default
Message:

set mixer streams on setting of direction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/streams.c

    r3213 r3214  
    311311 } 
    312312 
     313 if ( dir != ROAR_DIR_MIXING ) { 
     314  switch (streams_get_subsys(id)) { 
     315   case ROAR_SUBSYS_WAVEFORM: 
     316     streams_set_mixer_stream(id, g_waveform_mixer.stream); 
     317    break; 
     318#ifndef ROAR_WITHOUT_DCOMP_MIDI 
     319   case ROAR_SUBSYS_MIDI: 
     320     streams_set_mixer_stream(id, g_midi_mixer.stream); 
     321    break; 
     322#endif 
     323#ifndef ROAR_WITHOUT_DCOMP_LIGHT 
     324   case ROAR_SUBSYS_LIGHT: 
     325     streams_set_mixer_stream(id, g_light_mixer.stream); 
     326    break; 
     327#endif 
     328  } 
     329 } else { 
     330  streams_set_mixer_stream(id, id); 
     331 } 
     332 
    313333 ROAR_DBG("streams_set_dir(*) = 0"); 
    314334 return 0; 
Note: See TracChangeset for help on using the changeset viewer.