2 Copyright (C) 1999 Paul Davis
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 #ifndef __ardour_ardour_h__
21 #define __ardour_ardour_h__
29 #include <pbd/error.h>
30 #include <pbd/failed_constructor.h>
32 #include <ardour/configuration.h>
33 #include <ardour/types.h>
47 static const nframes_t max_frames = JACK_MAX_FRAMES;
48 extern sigc::signal<void,std::string> BootMessage;
50 int init (bool with_vst, bool try_optimization);
53 std::string get_ardour_revision ();
55 void find_bindings_files (std::map<std::string,std::string>&);
57 const layer_t max_layer = UCHAR_MAX;
59 microseconds_t get_microseconds ();
63 extern Change StartChanged;
64 extern Change LengthChanged;
65 extern Change PositionChanged;
66 extern Change NameChanged;
67 extern Change BoundsChanged;
70 LocaleGuard (const char*);
75 static const double SHUTTLE_FRACT_SPEED1=0.48412291827; /* derived from A1,A2 */
80 /* how do we make these be within the Ardour namespace? */
82 extern MIDI::Port* default_mmc_port;
83 extern MIDI::Port* default_mtc_port;
84 extern MIDI::Port* default_midi_port;
85 extern MIDI::Port *default_midi_clock_port;
87 #endif /* __ardour_ardour_h__ */