Add API to query hardware latency (as reported by the driver)
So far only MacOS/X CoreAudio supports this. This is intended for defualt values in case a user has not callibrated the device, yet.
This commit is contained in:
parent
f79ae05a93
commit
53a6c24147
@ -554,6 +554,10 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user