Audacity 3.2.0
Functions | Variables
anonymous_namespace{NoteTrackMenuItems.cpp} Namespace Reference

Functions

void OnMidiDeviceInfo (const CommandContext &context)
 

Variables

AttachedItem sAttachment
 

Detailed Description

There is no "New Note Track" menu item corresponding to the other track types. Note tracks are created when importing MIDI files.

Function Documentation

◆ OnMidiDeviceInfo()

void anonymous_namespace{NoteTrackMenuItems.cpp}::OnMidiDeviceInfo ( const CommandContext context)

Definition at line 27 of file NoteTrackMenuItems.cpp.

28{
29 auto &project = context.project;
30 auto gAudioIO = AudioIOBase::Get();
31 auto info = GetMIDIDeviceInfo();
33 XO("MIDI Device Info"), wxT("midideviceinfo.txt") );
34}
wxT("CloseDown"))
XO("Cut/Copy/Paste")
void ShowDiagnostics(AudacityProject &project, const wxString &info, const TranslatableString &description, const wxString &defaultPath, bool fixedWidth)
wxString GetMIDIDeviceInfo()
Definition: NoteTrack.cpp:890
const auto project
static AudioIOBase * Get()
Definition: AudioIOBase.cpp:94
AudacityProject & project

References AudioIOBase::Get(), GetMIDIDeviceInfo(), CommandContext::project, project, ShowDiagnostics(), wxT(), and XO().

Here is the call graph for this function:

Variable Documentation

◆ sAttachment

AttachedItem anonymous_namespace{NoteTrackMenuItems.cpp}::sAttachment
Initial value:
{
Command( wxT("MidiDeviceInfo"), XXO("&MIDI Device Info..."),
{ wxT("Help/Other/Diagnostics"),
{ OrderingHint::After, wxT("DeviceInfo") } }
}
const ReservedCommandFlag & AudioIONotBusyFlag()
XXO("&Cut/Copy/Paste Toolbar")
constexpr auto Command
Definition: MenuRegistry.h:456
void OnMidiDeviceInfo(const CommandContext &context)

Definition at line 37 of file NoteTrackMenuItems.cpp.