diff options
author | David Robillard <d@drobilla.net> | 2020-11-27 18:54:27 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-27 21:52:17 +0100 |
commit | dbe6899651ac929f59af160dd07aaf6bda079b23 (patch) | |
tree | 49243cfa13dc3bba18526dc5eeb64f615a23c587 /src/AlsaDriver.hpp | |
parent | 5dad45517e9dfa8b043f368cf31b2795fb713fde (diff) | |
download | patchage-dbe6899651ac929f59af160dd07aaf6bda079b23.tar.gz patchage-dbe6899651ac929f59af160dd07aaf6bda079b23.tar.bz2 patchage-dbe6899651ac929f59af160dd07aaf6bda079b23.zip |
Factor out log from Patchage class
Towards saner dependencies.
Diffstat (limited to 'src/AlsaDriver.hpp')
-rw-r--r-- | src/AlsaDriver.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/AlsaDriver.hpp b/src/AlsaDriver.hpp index 2af3553..a953b7b 100644 --- a/src/AlsaDriver.hpp +++ b/src/AlsaDriver.hpp @@ -29,6 +29,7 @@ #include <set> #include <string> +class ILog; class Patchage; class PatchagePort; @@ -37,7 +38,7 @@ class PatchagePort; class AlsaDriver : public Driver { public: - explicit AlsaDriver(Patchage* app); + explicit AlsaDriver(Patchage* app, ILog& log); AlsaDriver(const AlsaDriver&) = delete; AlsaDriver& operator=(const AlsaDriver&) = delete; @@ -88,6 +89,7 @@ private: snd_seq_addr_t addr); Patchage* _app; + ILog& _log; snd_seq_t* _seq; pthread_t _refresh_thread; |