Remove unused backend API
This commit is contained in:
parent
92b86d8dd6
commit
a10e3edb53
@ -562,10 +562,6 @@ public:
|
||||
virtual uint32_t systemic_midi_input_latency (std::string const) const = 0;
|
||||
virtual uint32_t systemic_midi_output_latency (std::string const) const = 0;
|
||||
|
||||
/* defaults as reported by device driver */
|
||||
virtual uint32_t systemic_hw_input_latency () const { return 0; }
|
||||
virtual uint32_t systemic_hw_output_latency () const { return 0; }
|
||||
|
||||
virtual uint32_t period_size () const { return 0; }
|
||||
|
||||
/** override this if this implementation returns true from
|
||||
|
@ -450,26 +450,6 @@ CoreAudioBackend::systemic_output_latency () const
|
||||
return _systemic_audio_output_latency;
|
||||
}
|
||||
|
||||
uint32_t
|
||||
CoreAudioBackend::systemic_hw_input_latency () const
|
||||
{
|
||||
return 0;
|
||||
if (name_to_id (_input_audio_device) != UINT32_MAX) {
|
||||
return _pcmio->get_latency(name_to_id(_input_audio_device, Input), true);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint32_t
|
||||
CoreAudioBackend::systemic_hw_output_latency () const
|
||||
{
|
||||
return 0;
|
||||
if (name_to_id (_output_audio_device) != UINT32_MAX) {
|
||||
return _pcmio->get_latency(name_to_id(_output_audio_device, Output), false);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* MIDI */
|
||||
|
||||
std::vector<std::string>
|
||||
|
@ -207,9 +207,6 @@ class CoreAudioBackend : public AudioBackend, public PortEngineSharedImpl {
|
||||
uint32_t systemic_midi_input_latency (std::string const) const { return 0; }
|
||||
uint32_t systemic_midi_output_latency (std::string const) const { return 0; }
|
||||
|
||||
uint32_t systemic_hw_input_latency () const;
|
||||
uint32_t systemic_hw_output_latency () const;
|
||||
|
||||
bool can_set_systemic_midi_latencies () const { return false; /* XXX */}
|
||||
|
||||
/* External control app */
|
||||
|
Loading…
Reference in New Issue
Block a user