Future<void> setVolumePan(double volume, double pan) async { await _lock.synchronized(() async { await _setVolumePan(volume, pan); }); }