| 132 | } |
| 133 | |
| 134 | void IpcHandler::setPresetRule(const QString &deviceName, const QString &deviceId, const QString &routeName, const QString &routeId, const QString &preset) const |
| 135 | { |
| 136 | #ifdef USE_PULSEAUDIO |
| 137 | sendErrorReply(QDBusError::ErrorType::NotSupported, "This feature is only supported in the PipeWire version of JamesDSP"); |
| 138 | return; |
| 139 | #endif |
| 140 | PresetManager::instance().addRule(PresetRule(deviceName, deviceId, deviceId, routeId, preset)); |
| 141 | } |
| 142 | |
| 143 | void IpcHandler::deletePresetRule(const QString &deviceId, const QString &routeId) const |
| 144 | { |
no test coverage detected