Ignore:
Timestamp:
09/02/09 12:27:54 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

add MONITOR and RECOARD streams to the list of displayed streams, I think this should not break the protocol.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/roard/protocol-esound.c

    r2541 r2542  
    428428    continue; 
    429429 
    430    if ( streams_get_dir(i) != ROAR_DIR_PLAY ) 
    431     continue; 
     430   switch (streams_get_dir(i)) { 
     431    case ROAR_DIR_PLAY:    format |= ESD_PLAY;    break; 
     432    case ROAR_DIR_MONITOR: format |= ESD_MONITOR; break; 
     433    case ROAR_DIR_RECORD:  format |= ESD_RECORD;  break; 
     434    default:               continue;              break; 
     435   } 
    432436 
    433437   info = &(ROAR_STREAM(ss)->info); 
     
    435439   id = i; 
    436440   rate = info->rate; 
    437  
    438    format |= ESD_PLAY; 
    439441 
    440442   switch (info->bits) { 
Note: See TracChangeset for help on using the changeset viewer.