Changeset 2413:7b9408399581 in roaraudio


Ignore:
Timestamp:
08/18/09 03:59:28 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added support for recsource, passmixer and made passmixer the default for output streams

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/roard.c

    r2364 r2413  
    211211 
    212212 g_config->streams[ROAR_DIR_PLAY    ].flags = ROAR_FLAG_META; 
     213 g_config->streams[ROAR_DIR_OUTPUT  ].flags = ROAR_FLAG_PASSMIXER; 
    213214 g_config->streams[ROAR_DIR_FILTER  ].flags = ROAR_FLAG_SYNC; 
    214215 g_config->streams[ROAR_DIR_MIDI_OUT].flags = ROAR_FLAG_SYNC; 
     
    264265  } else if ( !strcmp(k, "antiecho") ) { 
    265266   flag = ROAR_FLAG_ANTIECHO; 
     267  } else if ( !strcmp(k, "passmixer") ) { 
     268   flag = ROAR_FLAG_PASSMIXER; 
    266269  } else { 
    267270   return -1; 
     
    405408  } else if ( strcmp(k, "autoconf") == 0 ) { 
    406409   streams_set_flag(stream, ROAR_FLAG_AUTOCONF); 
     410  } else if ( strcmp(k, "recsource") == 0 ) { 
     411   streams_set_flag(stream, ROAR_FLAG_RECSOURCE); 
     412  } else if ( strcmp(k, "passmixer") == 0 ) { 
     413   streams_set_flag(stream, ROAR_FLAG_PASSMIXER); 
    407414  } else { 
    408415   ROAR_ERR("add_output(*): unknown option '%s'", k); 
Note: See TracChangeset for help on using the changeset viewer.