1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-18 09:00:52 +02:00

Remove portmidi and porttime from other headers

This commit is contained in:
Paul Licameli 2020-06-14 12:01:47 -04:00
parent 3869a8f460
commit 37714a0db7
2 changed files with 5 additions and 3 deletions

View File

@ -475,6 +475,8 @@ time warp info and AudioIOListener and whether the playback is looped.
#ifdef EXPERIMENTAL_MIDI_OUT #ifdef EXPERIMENTAL_MIDI_OUT
#include "../lib-src/portmidi/pm_common/portmidi.h"
#include "../lib-src/portmidi/porttime/porttime.h"
#include "../lib-src/header-substitutes/allegro.h" #include "../lib-src/header-substitutes/allegro.h"
#define MIDI_SLEEP 10 /* milliseconds */ #define MIDI_SLEEP 10 /* milliseconds */

View File

@ -28,8 +28,8 @@
// TODO: Put the relative paths into automake. // TODO: Put the relative paths into automake.
#ifdef EXPERIMENTAL_MIDI_OUT #ifdef EXPERIMENTAL_MIDI_OUT
#include "../lib-src/portmidi/pm_common/portmidi.h" typedef void PmStream;
#include "../lib-src/portmidi/porttime/porttime.h" typedef int32_t PmTimestamp;
class Alg_seq; class Alg_seq;
class Alg_event; class Alg_event;
@ -330,7 +330,7 @@ public:
#ifdef EXPERIMENTAL_MIDI_OUT #ifdef EXPERIMENTAL_MIDI_OUT
// MIDI_PLAYBACK: // MIDI_PLAYBACK:
PmStream *mMidiStream; PmStream *mMidiStream;
PmError mLastPmError; int mLastPmError;
/// Latency of MIDI synthesizer /// Latency of MIDI synthesizer
long mSynthLatency; // ms long mSynthLatency; // ms