Fix crash introduced in r11877 (oops). Add LV2Plugin::port_index().
[ardour.git] / libs / ardour / ardour / chan_mapping.h
index a08ff011af8fdfcf39ec2d4c7702028e0429c946..5b63844f66903efdef578ae1703cb7a9e25ed510 100644 (file)
@@ -1,6 +1,6 @@
 /*
     Copyright (C) 2009 Paul Davis
-       Author: Dave Robillard
+    Author: David Robillard
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -39,7 +39,7 @@ public:
        ChanMapping() {}
        ChanMapping(ARDOUR::ChanCount identity);
 
-       uint32_t get(DataType t, uint32_t from);
+       uint32_t get(DataType t, uint32_t from, bool* valid);
        void     set(DataType t, uint32_t from, uint32_t to);
        void     offset_from(DataType t, int32_t delta);
        void     offset_to(DataType t, int32_t delta);