mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
cont’d work on the coreaudio backend & cleanup
This commit is contained in:
parent
408090adce
commit
6b87e706eb
7 changed files with 854 additions and 319 deletions
|
|
@ -76,7 +76,7 @@ public:
|
|||
|
||||
void notify_proc (const MIDINotification *message);
|
||||
|
||||
void setPortChangedCallback (void (changed_callback (void*)), void *arg) {
|
||||
void set_port_changed_callback (void (changed_callback (void*)), void *arg) {
|
||||
_changed_callback = changed_callback;
|
||||
_changed_arg = arg;
|
||||
}
|
||||
|
|
@ -84,19 +84,20 @@ public:
|
|||
private:
|
||||
void cleanup ();
|
||||
|
||||
MIDIClientRef _midiClient;
|
||||
MIDIEndpointRef * _inputEndPoints;
|
||||
MIDIEndpointRef * _outputEndPoints;
|
||||
MIDIPortRef * _inputPorts;
|
||||
MIDIPortRef * _outputPorts;
|
||||
CoreMIDIQueue * _inputQueue;
|
||||
MIDIClientRef _midi_client;
|
||||
MIDIEndpointRef * _input_endpoints;
|
||||
MIDIEndpointRef * _output_endpoints;
|
||||
MIDIPortRef * _input_ports;
|
||||
MIDIPortRef * _output_ports;
|
||||
CoreMIDIQueue * _input_queue;
|
||||
|
||||
RingBuffer<uint8_t> ** _rb;
|
||||
|
||||
uint32_t _n_midi_in;
|
||||
uint32_t _n_midi_out;
|
||||
uint32_t _n_midi_in;
|
||||
uint32_t _n_midi_out;
|
||||
|
||||
MIDITimeStamp _time_at_cycle_start;
|
||||
bool _active;
|
||||
MIDITimeStamp _time_at_cycle_start;
|
||||
bool _active;
|
||||
|
||||
void (* _changed_callback) (void*);
|
||||
void * _changed_arg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue