diff options
author | David Robillard <d@drobilla.net> | 2020-11-29 00:51:09 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-29 00:53:17 +0100 |
commit | cfa6965004b73f26b7385e08db797e6af638f04c (patch) | |
tree | 3052e0cd01f9fd9987950494ce9fcc43ee0ce87e /src/Patchage.hpp | |
parent | fb54982c5ade5bee05b8d4a817d258ba89df701b (diff) | |
download | patchage-cfa6965004b73f26b7385e08db797e6af638f04c.tar.gz patchage-cfa6965004b73f26b7385e08db797e6af638f04c.tar.bz2 patchage-cfa6965004b73f26b7385e08db797e6af638f04c.zip |
Reduce preprocessor gunk
Now that the ALSA driver is only used through the base class, the pointer can
always be there, even if AlsaDriver isn't actually compiled in.
Diffstat (limited to 'src/Patchage.hpp')
-rw-r--r-- | src/Patchage.hpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Patchage.hpp b/src/Patchage.hpp index c55953c..b0c2630 100644 --- a/src/Patchage.hpp +++ b/src/Patchage.hpp @@ -152,12 +152,10 @@ protected: std::mutex _events_mutex; std::queue<PatchageEvent> _driver_events; -#ifdef HAVE_ALSA std::unique_ptr<Driver> _alsa_driver; void menu_alsa_connect(); void menu_alsa_disconnect(); -#endif std::shared_ptr<PatchageCanvas> _canvas; |