| 150 | } |
| 151 | |
| 152 | QList<PresetRule> IpcHandler::getPresetRules() const |
| 153 | { |
| 154 | #ifdef USE_PULSEAUDIO |
| 155 | sendErrorReply(QDBusError::ErrorType::NotSupported, "This feature is only supported in the PipeWire version of JamesDSP"); |
| 156 | return QList<PresetRule>(); |
| 157 | #endif |
| 158 | return PresetManager::instance().rules().toList(); |
| 159 | } |
| 160 | |
| 161 | QList<IOutputDevice> IpcHandler::getOutputDevices() const |
| 162 | { |