add empty ::reset_device() method to JACK backend.

Needs implementation.
This commit is contained in:
Paul Davis 2014-09-02 11:22:55 -04:00
parent 657912b235
commit d3be256f1f
2 changed files with 10 additions and 0 deletions

View file

@ -1158,3 +1158,11 @@ JACKAudioBackend::speed_and_position (double& speed, framepos_t& position)
position = pos.frame;
return starting;
}
int
JACKAudioBackend::reset_device ()
{
/* XXX need to figure out what this means for JACK
*/
return 0;
}

View file

@ -76,6 +76,8 @@ class JACKAudioBackend : public AudioBackend {
int set_systemic_midi_input_latency (std::string const, uint32_t) { return 0; }
int set_systemic_midi_output_latency (std::string const, uint32_t) { return 0; }
int reset_device ();
std::string device_name () const;
float sample_rate () const;
uint32_t buffer_size () const;