| 239 | |
| 240 | |
| 241 | DeviceGain * |
| 242 | SourceWidget::lookupGain(std::string const &name) |
| 243 | { |
| 244 | // Why is this? Use a map instead. |
| 245 | for (auto p = this->gainControls.begin(); |
| 246 | p != this->gainControls.end(); |
| 247 | ++p) { |
| 248 | if ((*p)->getName() == name) |
| 249 | return *p; |
| 250 | } |
| 251 | |
| 252 | return nullptr; |
| 253 | } |
| 254 | |
| 255 | void |
| 256 | SourceWidget::clearGains(void) |
no test coverage detected