mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-18 17:10:55 +02:00
Remove portmidi and porttime from other headers
This commit is contained in:
parent
3869a8f460
commit
37714a0db7
@ -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 */
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user