*fixed bug: channel mask not set in MidiRingBuffer
authorHans Baier <hansfbaier@googlemail.com>
Mon, 21 Apr 2008 10:21:10 +0000 (10:21 +0000)
committerHans Baier <hansfbaier@googlemail.com>
Mon, 21 Apr 2008 10:21:10 +0000 (10:21 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@3274 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/ardour/midi_ring_buffer.h

index c6cde666a3eecf61d503a31c5a3eb3c5572f0c61..fb29ba256564cb7e8ee1c1919234de221e302645 100644 (file)
@@ -243,7 +243,7 @@ public:
         *                     bit 1 = channel 1 etc. the read and write methods will only allow
         *                     events to pass, whose channel bit is 1.
         */
-       void      set_channel_mask(uint16_t channel_mask) { g_atomic_int_set(&channel_mask, channel_mask); }
+       void      set_channel_mask(uint16_t channel_mask) { g_atomic_int_set(&_channel_mask, channel_mask); }
        uint16_t  get_channel_mask() { return g_atomic_int_get(&_channel_mask); }
        
        /**