From d2c6b00bdd8db1c91d04e27140e8922cf2a55145 Mon Sep 17 00:00:00 2001 From: Hans Baier Date: Thu, 11 Oct 2012 04:27:53 +0000 Subject: [PATCH] fix bug: capture buffer not filtered by track channel selector git-svn-id: svn://localhost/ardour2/branches/3.0@13241 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/midi_diskstream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/ardour/midi_diskstream.h b/libs/ardour/ardour/midi_diskstream.h index 0823a5f8ac..1b1fcf54f3 100644 --- a/libs/ardour/ardour/midi_diskstream.h +++ b/libs/ardour/ardour/midi_diskstream.h @@ -105,8 +105,8 @@ class MidiDiskstream : public Diskstream ChannelMode get_channel_mode() { ChannelMode playback_mode = _playback_buf->get_channel_mode(); -#ifndef NDEBUG ChannelMode capture_mode = _capture_buf->get_channel_mode(); +#ifndef NDEBUG assert(playback_mode == capture_mode); #endif return playback_mode;