///////////////////////////////////////////////////////
| 299 | |
| 300 | //////////////////////////////////////////////////////////// |
| 301 | bool AudioDevice::setDevice(const std::string& name) |
| 302 | { |
| 303 | auto& selection = getCurrentDeviceSelection(); |
| 304 | selection.useNull = false; |
| 305 | selection.selection = name; |
| 306 | return reinitialize(); |
| 307 | } |
| 308 | |
| 309 | |
| 310 | //////////////////////////////////////////////////////////// |