fix ALSA backend for modified API

This commit is contained in:
Paul Davis 2014-09-04 10:48:11 -04:00
parent bfdea4ac59
commit 696dee9607
2 changed files with 10 additions and 0 deletions

View file

@ -664,6 +664,13 @@ AlsaAudioBackend::freewheel (bool onoff)
return 0;
}
int
AlsaAudioBackend::reset_device ()
{
/* XXX what are the semantics of this ? */
return 0;
}
float
AlsaAudioBackend::dsp_load () const
{
@ -1824,3 +1831,4 @@ AlsaMidiEvent::AlsaMidiEvent (const AlsaMidiEvent& other)
AlsaMidiEvent::~AlsaMidiEvent () {
free (_data);
};

View file

@ -184,6 +184,8 @@ class AlsaAudioBackend : public AudioBackend {
int set_systemic_midi_input_latency (std::string const, uint32_t);
int set_systemic_midi_output_latency (std::string const, uint32_t);
int reset_device ();
/* Retrieving parameters */
std::string device_name () const;
float sample_rate () const;