~cjcurran/+junk/port-unavailability-bug

« back to all changes in this revision

Viewing changes to soundnua/gvc-mixer-control.c

  • Committer: Conor Curran
  • Date: 2012-04-25 19:07:55 UTC
  • Revision ID: conor.curran@canonical.com-20120425190755-392flwy25qcju0dp
remove the g_prints in prep for sru

Show diffs side-by-side

added added

removed removed

Lines of Context:
673
673
        
674
674
        // Finally if we are not on the correct stream, swap over.              
675
675
        if (stream != default_stream){
676
 
                g_print ("\n change-input - attempting to swap over to stream %s \n",
 
676
                g_debug ("\n change-input - attempting to swap over to stream %s \n",
677
677
                         gvc_mixer_stream_get_description(stream));
678
678
                gvc_mixer_control_set_default_source (control, stream);
679
679
        }
1602
1602
                is_new = TRUE;
1603
1603
        } else if (gvc_mixer_stream_is_running (stream)) {
1604
1604
                /* Ignore events if volume changes are outstanding */
1605
 
                g_print ("Ignoring event, volume changes are outstanding");
 
1605
                g_debug ("Ignoring event, volume changes are outstanding");
1606
1606
                return;
1607
1607
        }
1608
1608
 
1616
1616
        gvc_mixer_stream_set_is_muted (stream, info->mute);
1617
1617
        gvc_mixer_stream_set_can_decibel (stream, !!(info->flags & PA_SOURCE_DECIBEL_VOLUME));
1618
1618
        gvc_mixer_stream_set_base_volume (stream, (guint32) info->base_volume);
1619
 
        g_print ("\n update source \n");
 
1619
        g_debug ("\n update source \n");
1620
1620
 
1621
1621
        if (info->active_port != NULL){
1622
1622
                if (is_new){