Carl Hetherington
cf45b07f73
Somewhat experimental fix to try to stop the editor window jumping around on small screens.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8412 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-03 03:10:43 +00:00
Carl Hetherington
e4d960b71f
Allow AudioDiskstream to have 0 channels without crashing. Fixes crash on record with a track with no inputs.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8408 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-02 12:45:20 +00:00
Carl Hetherington
6258f4e33b
Fix install path for vamp plugins.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8399 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-31 14:55:33 +00:00
5e7b4559fe
resize all editor comboboxes when DPI is reset. involved a minor refactoring of some code and the spreading of the awful COMBO_FUDGE+10 hack
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8398 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-30 21:15:51 +00:00
0075f4d58c
fix compiler warning
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8387 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-30 16:14:37 +00:00
75ede0dd6b
change Session::convert_to_frames_at() to Session::convert_to_frames() to reflect the fact that its argument is a position, not a duration; add Session::any_duration_to_frames(), which converts AnyTime representing a duration to frames; alter callers to use the right one of the two previously mentioned methods
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8386 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-30 15:45:48 +00:00
b15f48fb30
fix C99 compliance issue for winegcc
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8384 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-30 15:06:58 +00:00
0bee288b5d
clean up debugging
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8381 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-30 03:13:19 +00:00
0d54bd75c7
quantize conversion from L/R fraction to azimuth to 1 degree increments (given that humans have this as their rough perceptual limit)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8380 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-30 03:13:09 +00:00
Carl Hetherington
b00bb4d5ff
Gruesome-in-the-extreme VST hacks to attempt to allow presets to
...
be loaded without an editor window. You may need to clean your
Ethernet cable with soapy water after fetching this commit
(wireless users --- open the window).
git-svn-id: svn://localhost/ardour2/branches/3.0@8378 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-30 00:53:37 +00:00
Carl Hetherington
72190954c4
Clean up VST plugin key handling slightly.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8377 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-29 23:31:02 +00:00
Carl Hetherington
cf2cd98db0
Fix build.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8376 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-29 22:58:05 +00:00
Carl Hetherington
c76912db2c
Fix crash on saving session template ( #3634 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8375 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-29 22:36:03 +00:00
Carl Hetherington
fcd0a44744
Remove debug code.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8374 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-29 22:35:43 +00:00
Carl Hetherington
6f306c9821
Add options to add sends from buses as well as tracks; remainder of #3637 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8372 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-29 22:07:34 +00:00
Carl Hetherington
d367d94c7f
Extremely hacky but somewhat functional passing of keys to VST plugin UIs. Sort-of fixes #3630 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8371 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-29 21:58:44 +00:00
Carl Hetherington
fa02a4e61c
Fix plugin parameter updates ( #3636 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8370 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-29 21:07:37 +00:00
Carl Hetherington
d725fc2d1c
Make 'copy track gains to sends' and 'set sends gains' work with sends from busses. Partially fixes #3637 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8369 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-29 21:07:22 +00:00
Carl Hetherington
0dd2fb557c
Update mixer strip input/output button labels from the general JACK port connection / disconnection callback so that all changes are noticed. Fixes #3638 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8368 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-29 17:52:32 +00:00
4624153d26
add static methods to Keyboard for keyboard modifier names
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8364 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-29 16:27:43 +00:00
Carl Hetherington
731bef6c17
Try to ensure that the plugin loads its initial preset correctly. May fix #3602 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8356 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-29 01:18:05 +00:00
Carl Hetherington
3d0c3ffb6a
Missing files.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8347 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-28 18:43:22 +00:00
Carl Hetherington
f8ebb4582d
Unify program change and bank handling so that they are manipulated together.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8346 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-28 18:19:40 +00:00
Carl Hetherington
390f18c115
Clarify commentary slightly. No functional changes.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8345 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-28 03:05:09 +00:00
bffe0c4f98
Fix broken whitespace.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8341 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-24 22:48:05 +00:00
8e201d18a8
a few more EPA tweaks (from 2.X)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8340 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-23 14:23:31 +00:00
27ab352f5b
add EPA stuff from 2.X
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8338 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-23 04:17:56 +00:00
e99087a273
add EPA stuff from 2.X
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8337 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-23 04:17:45 +00:00
Carl Hetherington
4336bb25d7
Use MTC instead of MIDI Timecode as the string for the external sync button. Fixes #3621 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8332 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-23 00:26:54 +00:00
19fc040be1
Calculate length_beats of split MIDI regions from 'parent' region.
...
This is probably less than ideal, since setting the properties later will
recompute from frames values. It is, however, slightly more rightish :)
Seemingly correct cases (i.e. where length_beats is correct):
* Recording a new MIDI region
* Splitting said region
Broken:
* Loading a region from XML
Untested:
* Import
git-svn-id: svn://localhost/ardour2/branches/3.0@8324 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-22 00:48:59 +00:00
9e5550254c
Remove lying comment.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8323 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-22 00:09:42 +00:00
372880803f
Less code.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8322 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-22 00:01:15 +00:00
10a4435198
Consistently mark all regions "interesting".
...
(I havn't used the shared_ptr debugging stuff, but presumably marking an arbitrary subset of allocated regions "interesting" is not the idea...).
git-svn-id: svn://localhost/ardour2/branches/3.0@8321 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-21 23:52:10 +00:00
da89cd0c9b
Remove confuzzling offset_relative stuff from region construction (pre-properties "hangover").
...
This commit (in theory) only reorganizes code, not change actual functionality.
RegionFactory now uses a distinct Region constructor for each case, which is a bit easier to wrap around.
Note comment at region.cc:276, this case seems pretty weird to me (more hangover?).
git-svn-id: svn://localhost/ardour2/branches/3.0@8320 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-21 17:03:16 +00:00
71986da212
Only calculate length_beats from length (in frames) if length property (in frames) is given, but length_beats property is not.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8319 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-21 00:53:18 +00:00
4e62adfe1a
Fix more broken whitespace.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8318 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-21 00:41:13 +00:00
384c418ae0
Set new (recorded) MIDI source length to length of entire capture (instead of length from start to last actual recorded event).
...
Precisely set length_beats of newly captured MIDI regions to source length in beats (no conversion).
git-svn-id: svn://localhost/ardour2/branches/3.0@8317 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-21 00:04:58 +00:00
fe79c42725
Remove unused Region constructor.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8316 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 23:24:43 +00:00
fb21bf1480
Fix more broken whitespace.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8315 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 23:05:18 +00:00
f6ed36a457
Fix more broken whitespace.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8314 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 22:51:17 +00:00
7e3404e2a0
Fix more broken whitespace.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8313 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 21:50:46 +00:00
3f30e8093e
Clean up region.h and trim include tree.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8312 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 21:22:49 +00:00
Carl Hetherington
fe879145fe
Fix converter origins for computing region length.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8309 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 19:06:58 +00:00
Carl Hetherington
1fd105fbd4
Fix split of midi regions after tempo / meter changes.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8308 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 18:47:18 +00:00
76e7a89a51
use notification of what was changed in MidiRegion::post_set() call
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8307 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 16:11:23 +00:00
e178fb2e50
add notification of what was changed in Stateful::post_set() call
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8306 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 16:10:58 +00:00
Carl Hetherington
3ec58e478c
Allow deletion of program changes in the same way as notes.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8304 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 13:30:31 +00:00
Carl Hetherington
5f4bdb233a
Clean up plugin preset handling a bit.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8301 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-19 23:11:01 +00:00
Sakari Bergen
94c69b3c91
Finally implement position aware silence adding in export (i.e. bbt times are converted to frames correctly)
...
This will work when Session::convert_to_frames_at is fixed :)
git-svn-id: svn://localhost/ardour2/branches/3.0@8295 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-18 19:27:04 +00:00
Sakari Bergen
ffadfff650
Add "session rate" as a possible sample rate for export formats
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8294 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-18 17:56:41 +00:00