diff options
author | Robin Gareus <robin@gareus.org> | 2014-09-07 22:50:57 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-09-07 22:50:57 +0200 |
commit | dc318e6e74d17e03e92c28618d03703a4034a843 (patch) | |
tree | dd645b3aaab60817a13c6402ff9df5e5910ba54b /libs/backends/dummy/dummy_audiobackend.h | |
parent | 330f5fdf2e14b22e8b64c1c037224b636f5df783 (diff) |
ALSA|Dummy Backend: do as jack does:
when the backend is closed, unregister all ports.
Diffstat (limited to 'libs/backends/dummy/dummy_audiobackend.h')
-rw-r--r-- | libs/backends/dummy/dummy_audiobackend.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/backends/dummy/dummy_audiobackend.h b/libs/backends/dummy/dummy_audiobackend.h index 149fba871d..b28a464e3c 100644 --- a/libs/backends/dummy/dummy_audiobackend.h +++ b/libs/backends/dummy/dummy_audiobackend.h @@ -370,7 +370,7 @@ class DummyAudioBackend : public AudioBackend { /* port engine */ PortHandle add_port (const std::string& shortname, ARDOUR::DataType, ARDOUR::PortFlags); int register_system_ports (); - void unregister_system_ports (); + void unregister_ports (bool system_only = false); std::vector<DummyAudioPort *> _system_inputs; std::vector<DummyPort *> _ports; |