From 53909b3a74e9c752d3405fda7bc63146b9abdc7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Gl=C3=B6ckner?= Date: Tue, 29 Mar 2016 10:02:10 +0200 Subject: pass channels to output engine by const ref --- drumgizmo/output/alsa.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drumgizmo/output/alsa.cc') diff --git a/drumgizmo/output/alsa.cc b/drumgizmo/output/alsa.cc index 3686656..66a78c0 100644 --- a/drumgizmo/output/alsa.cc +++ b/drumgizmo/output/alsa.cc @@ -71,7 +71,7 @@ AlsaOutputEngine::~AlsaOutputEngine() } } -bool AlsaOutputEngine::init(Channels channels) +bool AlsaOutputEngine::init(const Channels& channels) { // try to initialize alsa try -- cgit v1.2.3