diff options
author | Robin Gareus <robin@gareus.org> | 2016-11-26 14:30:46 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-11-26 15:31:21 +0100 |
commit | 335debfa2fed045dc80c43fb2ef62d89262fc8f8 (patch) | |
tree | 1c53a70e42aa95a20232851986077ffb0373848f /libs/backends/alsa | |
parent | 5bf8a5537b7771a7f523ab242f186e513c3a4c76 (diff) |
Add API to enforce valid device selection.
Diffstat (limited to 'libs/backends/alsa')
-rw-r--r-- | libs/backends/alsa/alsa_audiobackend.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/backends/alsa/alsa_audiobackend.h b/libs/backends/alsa/alsa_audiobackend.h index d8dfb31725..bc2620ed9e 100644 --- a/libs/backends/alsa/alsa_audiobackend.h +++ b/libs/backends/alsa/alsa_audiobackend.h @@ -172,6 +172,7 @@ class AlsaAudioBackend : public AudioBackend { bool is_realtime () const; bool use_separate_input_and_output_devices () const { return true; } + bool match_input_output_devices_or_none () const { return true; } bool can_set_period_size () const { return true; } std::vector<DeviceStatus> enumerate_devices () const; |