Changeset 4621:c20151c5eb6f in roaraudio for libroar/stream.c


Ignore:
Timestamp:
11/23/10 15:34:24 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

test for correct set of mixer in case of forced mixer connect

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/stream.c

    r4583 r4621  
    3636#include "libroar.h" 
    3737 
    38 int roar_stream_connect (struct roar_connection * con, struct roar_stream * s, int dir) { 
     38int roar_stream_connect  (struct roar_connection * con, struct roar_stream * s, int dir) { 
     39 return roar_stream_connect2(con, s, dir, -1); 
     40} 
     41 
     42int roar_stream_connect2 (struct roar_connection * con, struct roar_stream * s, int dir, int mixer) { 
    3943 struct roar_libroar_config * config = roar_libroar_get_config(); 
    4044 struct roar_stream  ms; 
     
    4751 
    4852 m.cmd     = ROAR_CMD_NEW_STREAM; 
    49  m.stream  = -1; 
     53 m.stream  = mixer; 
    5054 m.pos     = 0; 
    5155 
Note: See TracChangeset for help on using the changeset viewer.