| 141 | } |
| 142 | |
| 143 | void IpcHandler::deletePresetRule(const QString &deviceId, const QString &routeId) const |
| 144 | { |
| 145 | #ifdef USE_PULSEAUDIO |
| 146 | sendErrorReply(QDBusError::ErrorType::NotSupported, "This feature is only supported in the PipeWire version of JamesDSP"); |
| 147 | return; |
| 148 | #endif |
| 149 | PresetManager::instance().removeRule(deviceId, routeId); |
| 150 | } |
| 151 | |
| 152 | QList<PresetRule> IpcHandler::getPresetRules() const |
| 153 | { |
nothing calls this directly
no test coverage detected