add export visibility macros across libardour
[ardour.git] / libs / ardour / ardour / chan_mapping.h
index a08ff011af8fdfcf39ec2d4c7702028e0429c946..ebb7be402a2801d9bebe6259e160c8187df9155b 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
@@ -34,12 +34,12 @@ namespace ARDOUR {
 /** A mapping from one set of channels to another
  * (e.g. how to 'connect' two BufferSets).
  */
-class ChanMapping {
+class LIBARDOUR_API ChanMapping {
 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);