1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-25 08:38:39 +02:00

Remove redundant test of USE_MIDI ...

... See instead how cmake_proxies/CMakeLists.txt already enforces that
if EXPERIMENTAL_MIDI_OUT is true, then USE_MIDI must be true
This commit is contained in:
Paul Licameli 2021-05-12 12:20:31 -04:00 committed by Leland Lucius
parent 85a8d0ac97
commit 82a1534226

View File

@ -23,10 +23,6 @@
#include <utility> #include <utility>
#include <wx/atomic.h> // member variable #include <wx/atomic.h> // member variable
#ifdef USE_MIDI
// TODO: Put the relative paths into automake.
#ifdef EXPERIMENTAL_MIDI_OUT #ifdef EXPERIMENTAL_MIDI_OUT
typedef void PmStream; typedef void PmStream;
typedef int32_t PmTimestamp; typedef int32_t PmTimestamp;
@ -41,8 +37,6 @@ using NoteTrackConstArray = std::vector < std::shared_ptr< const NoteTrack > >;
#endif // EXPERIMENTAL_MIDI_OUT #endif // EXPERIMENTAL_MIDI_OUT
#endif // USE_MIDI
#include <wx/event.h> // to declare custom event types #include <wx/event.h> // to declare custom event types
#include "SampleFormat.h" #include "SampleFormat.h"