     }
 
     private func handleQualityEvent(event: QualityAdjustmentEventProducer.QualityAdjustmentEvent) {
-
+        switch event {
+        case .GoDown:
+            guard let quality = AudioQuality(rawValue: currentQuality.rawValue - 1) else {
+                return
+            }
+            handleQualityChange(quality)
+
+        case .GoUp:
+            guard let quality = AudioQuality(rawValue: currentQuality.rawValue + 1) else {
+                return
+            }
+            handleQualityChange(quality)
+        }
     }
 
     func onEvent(event: Event, generetedBy eventProducer: EventProducer) {

        }
    }
}

        }
    }

    // MARK: Background

    /// The backround task identifier if a background task started. Nil if not.
