fix bug: capture buffer not filtered by track channel selector
authorHans Baier <hansfbaier@googlemail.com>
Thu, 11 Oct 2012 04:27:53 +0000 (04:27 +0000)
committerHans Baier <hansfbaier@googlemail.com>
Thu, 11 Oct 2012 04:27:53 +0000 (04:27 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@13241 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/ardour/midi_diskstream.h

index 0823a5f8ac998290e787f4759566a996308f078a..1b1fcf54f35dfb1ca111b52a270095d710faa72d 100644 (file)
@@ -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;