sink: Oops. I didn't mean to comment this out in the previous commit.

This commit is contained in:
Colin Guthrie 2011-07-22 09:50:22 +01:00
parent 9784b9d76d
commit a03fa60f41
1 changed files with 3 additions and 3 deletions

View File

@ -52,9 +52,9 @@ void SinkWidget::executeVolumeUpdate() {
pa_operation_unref(o);
//ca_context_playing(ca_gtk_context_get(), 2, &playing);
//if (playing)
// return;
ca_context_playing(ca_gtk_context_get(), 2, &playing);
if (playing)
return;
snprintf(dev, sizeof(dev), "%lu", (unsigned long) index);
ca_context_change_device(ca_gtk_context_get(), dev);