mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 22:12:58 +02:00
Output device should be changeable even when no input devices...
... I observed that you couldn't, with a Mac Mini connected to a monitor; two output devices (monitor and built-in) but no input device (there is no built in mic)
This commit is contained in:
@@ -713,7 +713,7 @@ void DeviceToolBar::ChangeDevice(bool isInput)
|
||||
wxChoice *combo = isInput ? mInput :mOutput;
|
||||
size_t i;
|
||||
|
||||
int selectionIndex = mInput->GetSelection();
|
||||
int selectionIndex = combo->GetSelection();
|
||||
wxString host = gPrefs->Read(wxT("/AudioIO/Host"), wxT(""));
|
||||
const std::vector<DeviceSourceMap> &maps = isInput ? DeviceManager::Instance()->GetInputDeviceMaps()
|
||||
: DeviceManager::Instance()->GetOutputDeviceMaps();
|
||||
|
Reference in New Issue
Block a user