Changeset 2117:2e7146368ea6 in roaraudio for plugins/gstreamer0.10


Ignore:
Timestamp:
07/22/09 17:36:36 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added support for non-default roard...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/gstreamer0.10/roarmixer.c

    r2116 r2117  
    117117    case GST_STATE_CHANGE_NULL_TO_READY: 
    118118      if (!this->mixer) { 
    119         this->mixer = gst_roarmixer_new ("/dev/mixer", GST_ROAR_MIXER_ALL); 
     119        this->mixer = gst_roarmixer_new(NULL, GST_ROAR_MIXER_ALL); 
    120120      } 
    121121      break; 
     
    173173*/ 
    174174 
    175   if ( roar_simple_connect(&(ret->con), NULL, "gstroarmixer") == -1 ) 
     175  if ( roar_simple_connect(&(ret->con), (char*)device, "gstroarmixer") == -1 ) 
    176176   goto error; 
    177177 
Note: See TracChangeset for help on using the changeset viewer.