summaryrefslogtreecommitdiffstats
path: root/src/AlsaDriver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/AlsaDriver.cpp')
-rw-r--r--src/AlsaDriver.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp
index bc80d48..c471efe 100644
--- a/src/AlsaDriver.cpp
+++ b/src/AlsaDriver.cpp
@@ -40,6 +40,7 @@ PATCHAGE_RESTORE_WARNINGS
#include <string>
#include <utility>
+namespace patchage {
namespace {
/// Driver for ALSA Sequencer ports
@@ -136,8 +137,6 @@ port_info(const snd_seq_port_info_t* const pinfo)
(type & SND_SEQ_PORT_TYPE_APPLICATION) == 0};
}
-} // namespace
-
AlsaDriver::AlsaDriver(ILog& log, EventSink emit_event)
: Driver{std::move(emit_event)}
, _log(log)
@@ -544,8 +543,12 @@ AlsaDriver::_refresh_main()
}
}
+} // namespace
+
std::unique_ptr<Driver>
make_alsa_driver(ILog& log, Driver::EventSink emit_event)
{
return std::unique_ptr<Driver>{new AlsaDriver{log, std::move(emit_event)}};
}
+
+} // namespace patchage