Changeset 5045:bbba9c469731 in roaraudio


Ignore:
Timestamp:
05/30/11 13:22:27 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

default_flags needs to be inited.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/output.c

    r5043 r5045  
    165165int output_add (char * drv, char * dev, char * opts, int prim, int count) { 
    166166 int stream; 
    167  int default_flags; 
     167 int default_flags = 0; 
    168168 struct roar_stream * s; 
    169169 struct roar_stream_server * ss; 
     
    202202 
    203203 if ( opts == NULL && count == 0 ) { 
     204  ROAR_DBG("add_output(drv='%s', dev='%s', opts='%s') = ?", drv, dev, opts); 
    204205  default_flags = ROAR_FLAG_AUTOCONF|ROAR_FLAG_RECSOURCE; 
    205206  sync = 1; 
Note: See TracChangeset for help on using the changeset viewer.