13
0
Commit Graph

1673 Commits

Author SHA1 Message Date
8ae5804279 Made plugin input/output counts multi-typed (towards MIDI plugins, instruments, etc).
Cleaning up/genericification of Insert interface.
Fixed meter count for pre-fader metering (was # inputs, not # channels at end of pre-fader redirect list).
Work on redirect list stream handling, better error reporting (towards automatically adding 'adaptors' in the future?).


git-svn-id: svn://localhost/ardour2/trunk@2025 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-20 03:05:16 +00:00
996d59663f Remove references to ardour.colors.
git-svn-id: svn://localhost/ardour2/trunk@2024 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 16:07:06 +00:00
ac1a241644 Fix SMF file directory (midifiles instead of audiofiles).
git-svn-id: svn://localhost/ardour2/trunk@2023 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 05:35:25 +00:00
cc42292445 Remove unused method Session::template_dir
git-svn-id: svn://localhost/ardour2/trunk@2022 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:53:33 +00:00
92ba31386d Whitespace fixes in ardour/session.h
git-svn-id: svn://localhost/ardour2/trunk@2021 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:53:26 +00:00
1ef0ecd90a Remove unused method Session::delete_template
git-svn-id: svn://localhost/ardour2/trunk@2020 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:53:18 +00:00
2ac399c82c Remove unused method Session::rename_template
git-svn-id: svn://localhost/ardour2/trunk@2019 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:53:11 +00:00
ccd732beea Reinstate code removed in rev 1917 that creates the text tags for the log window
This was causing an assertion each time a log message is sent as the text tags
are uninitialized.


git-svn-id: svn://localhost/ardour2/trunk@2018 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:53:04 +00:00
56a27e8734 Modify Session::save_template for portablity
git-svn-id: svn://localhost/ardour2/trunk@2017 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:52:57 +00:00
6b1cd68104 Use ARDOUR::system/user_template_directory in NewSessionDialog for portability
git-svn-id: svn://localhost/ardour2/trunk@2016 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:52:51 +00:00
0681da3e62 Add ardour/template_utils.h that contains ARDOUR::user_template_directory and ARDOUR::system_template_directory
git-svn-id: svn://localhost/ardour2/trunk@2015 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:52:45 +00:00
f21746ad7c Remove unused Session::template_path method
git-svn-id: svn://localhost/ardour2/trunk@2014 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:52:39 +00:00
dfbda70cea Modify PBD::Stateful::add_instant_xml/instant_xml to take a PBD::sys::path instead of a string
git-svn-id: svn://localhost/ardour2/trunk@2013 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:52:32 +00:00
36291eb399 Make Stateful::*instant_xml methods protected and non-virtual
Add add_instant_xml and instant_xml methods to the Session class which call
the corresponding Stateful methods with the session directory for the
directory argument

Add add_instant_xml and instant_xml methods to the Configuration class which
call the Stateful methods with ARDOUR::get_user_ardour_path() for the directory
argument


git-svn-id: svn://localhost/ardour2/trunk@2012 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:47:40 +00:00
4b95621853 Move Stateful class declared in pbd/stateful.h into the PBD namespace
git-svn-id: svn://localhost/ardour2/trunk@2011 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:47:33 +00:00
0ce6fa247d Whitespace fixes in pbd/stateful.h
git-svn-id: svn://localhost/ardour2/trunk@2010 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:47:24 +00:00
c82d65b22f Use Session::session_directory in ARDOUR_UI::display_cleanup_results for portability
git-svn-id: svn://localhost/ardour2/trunk@2009 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:47:18 +00:00
68289676c0 Remove unused method Session::get_template_list
git-svn-id: svn://localhost/ardour2/trunk@2008 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:47:11 +00:00
6da12f1009 Remove unused method Session::export_dir
git-svn-id: svn://localhost/ardour2/trunk@2007 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:47:04 +00:00
34232dce2b Use Session::session_directory to access the export path for a session instead of Session::export_dir
git-svn-id: svn://localhost/ardour2/trunk@2006 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:46:57 +00:00
221733e446 Remove unused method Session::peak_dir
git-svn-id: svn://localhost/ardour2/trunk@2005 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:46:50 +00:00
4c298f62b5 Use SessionDirectory::peak_path in place of Session::peak_dir in Session::second_stage_init
git-svn-id: svn://localhost/ardour2/trunk@2004 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:46:43 +00:00
b2d26fcb9e Use SessionDirectory and sys::path in Session::peak_path_from_audio_path for portability
git-svn-id: svn://localhost/ardour2/trunk@2003 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:46:37 +00:00
238cab0166 Remove unused methods Session::sound_dir and Session::old_sound_dir
git-svn-id: svn://localhost/ardour2/trunk@2002 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:46:30 +00:00
03bf58d2f2 Use Session::session_directory to access the sound path of the session in Editor::write_region and Editor::write_audio_range
git-svn-id: svn://localhost/ardour2/trunk@2001 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:46:23 +00:00
40937e619f Use Session::session_directory and sys::path in Editor::embed_sndfile to create a path in a portable fashion
git-svn-id: svn://localhost/ardour2/trunk@2000 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:46:18 +00:00
8755e8a609 Add an method for to accessing a Session's SessionDirectory
git-svn-id: svn://localhost/ardour2/trunk@1999 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:46:12 +00:00
3ee59d437f Remove Session::midi_dir...again.
git-svn-id: svn://localhost/ardour2/trunk@1998 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:46:05 +00:00
ee29fcacfb Replace Session::discover_best_sound/midi_dir with Session::get_best_session_directory_for_new_source
git-svn-id: svn://localhost/ardour2/trunk@1997 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:45:58 +00:00
0346cdc281 Forward declare the SessionDirectory class in session.h to reduce compilation dependencies
git-svn-id: svn://localhost/ardour2/trunk@1996 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:45:50 +00:00
db2fd8402e Remove unneeded temporary variable.
git-svn-id: svn://localhost/ardour2/trunk@1995 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17 00:45:43 +00:00
a7ad624392 Fix time canvas separator lines.
git-svn-id: svn://localhost/ardour2/trunk@1994 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-16 23:55:23 +00:00
0df86069c7 Fix MIDI track base colour.
git-svn-id: svn://localhost/ardour2/trunk@1993 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-16 20:11:31 +00:00
df5bbc694c Remove unused controls_hbox.
Use shorter labels for zoom box to avoid wasted/ugly horizontal space to the right of track controls (present on high DPI screens?  best I could come up with, controls refuse to horizontally expand :/)


git-svn-id: svn://localhost/ardour2/trunk@1992 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-16 20:00:18 +00:00
842ade44fb Move (default) colours from code to rc file.
Write/read colours from XML in hex (ie usual RGBA values).
Fix "clipped aveform" typo in canvas vars.


git-svn-id: svn://localhost/ardour2/trunk@1991 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-16 17:48:08 +00:00
8ceea13592 Fix marker label text colour.
git-svn-id: svn://localhost/ardour2/trunk@1990 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-16 15:28:42 +00:00
Doug McLain
0c31ed24d8 add missing header
git-svn-id: svn://localhost/ardour2/trunk@1989 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-15 22:58:14 +00:00
Doug McLain
8c15c64856 Major Theme Manager changes, see ardour-dev
git-svn-id: svn://localhost/ardour2/trunk@1988 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-15 22:12:06 +00:00
Doug McLain
789cbb2181 Major Theme Manager changes, see ardour-dev
git-svn-id: svn://localhost/ardour2/trunk@1987 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-15 22:08:27 +00:00
cd9fdb935f Use boost::shared_ptr instead of raw pointers for RouteUI track (etc) accessors (fix FIXME in route_ui.h).
git-svn-id: svn://localhost/ardour2/trunk@1986 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-15 22:05:07 +00:00
598d062bb2 Extend time canvas to use available space to the rigt (and line up nicely).
git-svn-id: svn://localhost/ardour2/trunk@1985 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-15 20:11:09 +00:00
e607e1f8f2 Removed panner UI from MIDI track mixer strip.
Fix MIDI track controls and mixer strip colours.
Changed selected track controls colour to be more visible and match selected tool colour.


git-svn-id: svn://localhost/ardour2/trunk@1984 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-15 19:58:19 +00:00
f878576f2d User toggling of editor region/route/etc list, ala editor mixer.
Canvas, from sea to shining sea.


git-svn-id: svn://localhost/ardour2/trunk@1983 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-15 07:39:20 +00:00
13151b43f0 Redraw MIDI region views on zoom and track height changes.
Disable excessive/old debug prints.
Fix region view heights.


git-svn-id: svn://localhost/ardour2/trunk@1982 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-09 06:10:30 +00:00
7ff7f4013d Use double MIDI timestamps (towards tempo based time, and more-than-sample-accurate LV2 MIDI plugin application).
Eliminate double iteration over MIDIRingBuffer read to translate timestamps.


git-svn-id: svn://localhost/ardour2/trunk@1981 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-09 02:07:59 +00:00
0605f98fdc Fix time skew after MIDI recording (added missing conversion from delta time to audio frames).
Fix crash bug in MIDI recording.


git-svn-id: svn://localhost/ardour2/trunk@1980 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-08 23:03:32 +00:00
cc18cf3516 Write MIDI files to interchange/sessionname/midifiles (for real this time).
git-svn-id: svn://localhost/ardour2/trunk@1979 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-07 23:12:04 +00:00
b17a003d0a Logarithmic MIDI metering.
git-svn-id: svn://localhost/ardour2/trunk@1978 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-07 21:04:37 +00:00
bc60785ea5 Remove two unused temporary variables from SearchPath::add_subdirectory_to_paths
git-svn-id: svn://localhost/ardour2/trunk@1977 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-07 03:25:06 +00:00
a94bbda76c Refactor Session::setup_raid_path Session::raid_path to use PBD::SearchPath
git-svn-id: svn://localhost/ardour2/trunk@1976 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-07 03:25:00 +00:00