MCPcopy Create free account
hub / github.com/audacity/audacity / ExtraDeviceMenu

Function ExtraDeviceMenu

src/toolbars/DeviceToolBar.cpp:809–826  ·  view source on GitHub ↗

Under /MenuBar/Optional/Extra/Part1

Source from the content-addressed store, hash-verified

807using namespace MenuRegistry;
808// Under /MenuBar/Optional/Extra/Part1
809auto ExtraDeviceMenu()
810{
811 static auto menu = std::shared_ptr{
812 Menu( wxT("Device"), XXO("De&vice"),
813 Command( wxT("InputDevice"), XXO("Change &Recording Device..."),
814 OnInputDevice,
815 AudioIONotBusyFlag(), wxT("Shift+I") ),
816 Command( wxT("OutputDevice"), XXO("Change &Playback Device..."),
817 OnOutputDevice,
818 AudioIONotBusyFlag(), wxT("Shift+O") ),
819 Command( wxT("AudioHost"), XXO("Change Audio &Host..."), OnAudioHost,
820 AudioIONotBusyFlag(), wxT("Shift+H") ),
821 Command( wxT("InputChannels"), XXO("Change Recording Cha&nnels..."),
822 OnInputChannels,
823 AudioIONotBusyFlag(), wxT("Shift+N") )
824 ) };
825 return menu;
826}
827
828AttachedItem sAttachment2{ Indirect(ExtraDeviceMenu()),
829 Placement{ wxT("Optional/Extra/Part1"), { OrderingHint::End } }

Callers 1

DeviceToolBar.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected