1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 15:49:41 +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
#include "../lib-src/portmidi/pm_common/portmidi.h"
#include "../lib-src/portmidi/porttime/porttime.h"
#include "../lib-src/header-substitutes/allegro.h"
#define MIDI_SLEEP 10 /* milliseconds */

View File

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