852232ad27
Tolerate LV2 plugins that call persist/file state functions early.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9343 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-13 01:44:46 +00:00
Carl Hetherington
036174daf1
Move check for a new session directory being writable to after it has been created.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9342 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-11 18:49:51 +00:00
41d0052d19
remove all use of access(2) (this was done a bit stupidly, we could have used g_access)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9340 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:38:42 +00:00
8177e85bf9
fix mismatching use of operator new() when allocating buffer to passed into libsmf - should be malloc'ed
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9339 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:36:54 +00:00
93a24066de
add PBD::sys::path::exists_and_writable() method to help replace access(2)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9338 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:27:22 +00:00
aca716c0d6
remove another instance of access(2)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9337 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:01:06 +00:00
a9a05441ae
part two of: correctly reset capture alignment at session load
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9336 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:00:44 +00:00
5d9c6089a4
formatting cleanup
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9335 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:00:15 +00:00
64022eebcb
correctly reset capture alignment at session load; for MIDI diskstreams, don't try to set capture alignment based on connectivity, always set _source_port ASAP and check _source_port when recording
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9334 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 14:59:22 +00:00
ce35e913d0
rename only the main outs of a route when its name changes, not inserts or sends, which leads to port name collisions since the name gets shared with the route itself
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9333 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-08 16:48:34 +00:00
67d970529a
Fix broken whitespace.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9304 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 16:35:20 +00:00
0906b39918
Fix my name :)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9302 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 15:00:16 +00:00
948d449843
Update LV2 files extension.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9301 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 14:59:37 +00:00
e0140b7c8f
Implement latest LV2 files extension.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9300 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 14:58:44 +00:00
Carl Hetherington
e8c8befb87
Differentiate between pitch-shift (for audio) and transpose (for MIDI). Fixes #3940 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9299 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 02:04:37 +00:00
Carl Hetherington
72f85f6cec
Fix show checkbuttons for mixer groups on startup ( #3919 ). Also synchronise visible status between editor and mixer.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9297 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 00:36:36 +00:00
e54d71ec3d
remove unused arguments to keep gcc quiet
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9291 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-05 01:03:44 +00:00
Carl Hetherington
fedc155b94
Fix read_raw_internal to use the appropriate audio source for the specified channel, and fix maximum_amplitude to check all channels of a region rather than just the first. Fixes #3933 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9290 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 23:32:20 +00:00
71222c2e6e
Fix broken whitespace (no functional changes).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9289 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 23:00:48 +00:00
62e730b57a
Fix broken whitespace (no functional changes).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9288 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 22:46:48 +00:00
847e8f0610
add some scroll wheel support to the scroomer
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9287 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 22:26:03 +00:00
3a40d9ef6b
minor tweaks to debug output and comments and header order
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9285 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 21:48:17 +00:00
d043ee396b
when overwriting existing MIDI buffers in a MidiDiskstream be sure to update file_frame so that the *next* read is from the right location in the source; plus slighly improved debugging
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9284 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 21:44:56 +00:00
ab376e10a7
reimplement MidiRingBuffer::dump()
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9283 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 21:43:40 +00:00
Carl Hetherington
806b94bec1
Add plugins (activating them) after doing any latency_compute_run, as otherwise the latency_compute_run deactivates the plugins and an assert trips in LadspaPlugin::run_in_place.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9282 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 17:57:18 +00:00
040e016137
move some DEBUG::Graph traces to DEBUG::ProcessThreads ; remove Diskstream::rename_write_sources() which is no longer relevant (sources are not created on disk until needed); fixup calling Diskstream::non_realtime_input_change() when calling Diskstream::set_track() with a track that doesn't yet have any I/O (i.e. typical case)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9281 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 16:41:20 +00:00
aca373cc82
always make log/error window visible when a non-info message is posted
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9279 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 14:22:27 +00:00
Carl Hetherington
02cfe41bff
Update region peak amplitude when the region is trimmed ( #3931 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9276 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 12:21:26 +00:00
4ae4704112
Implement LV2 files extension.
...
This extension works with the persist extension to allow plugins to
save references to files in their state, but still allow the host
(e.g. Ardour) to control where files are located, making it possible
to do a deep export of a session with all files (e.g. loaded sampler
banks) included.
Tested working with a patched version of LinuxSampler...
TODO: Make symlinks in the plugin state directory rather than refer
to absolute file paths in state files (i.e. support session export,
either by ardour or any other tool, in particular the Jack session
manager...)
git-svn-id: svn://localhost/ardour2/branches/3.0@9272 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-03 01:57:12 +00:00
05d8801812
fix import of multi-track SMF files with some tracks containing only meta-events; correctly push error to log window when MIDI import fails; remove debug msg
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9271 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-02 21:59:14 +00:00
9ca4623451
Fix broken whitespace.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9270 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-02 19:52:21 +00:00
ee725fbe91
more attempted cleanup of AU preset declarations
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9263 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-02 14:12:09 +00:00
483a88d54e
add the standard mechanism for search paths to the path used for export formats, so that we can find them in a bundle
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9261 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-02 13:53:03 +00:00
1eb753b842
fix up (?) audio_unit.cc compilation, maybe
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9260 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-02 13:51:18 +00:00
Carl Hetherington
9cca13db62
Somewhat guesswork-laden fix for VAMP plugin assertion failures ( #3897 , #3878 , #3893 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9247 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-30 14:58:46 +00:00
Carl Hetherington
53d0aeea2b
Save/restore PortInsert state fully ( fixes #3901 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9244 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-30 12:59:15 +00:00
Carl Hetherington
a8b4169cce
Remove some unused methods. Restore Solo boost, SiP cut and Dim Cut correctly on session reload ( #3903 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9243 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-30 12:37:14 +00:00
Carl Hetherington
832e6fb21a
Whitespace, add GPL boilerplate.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9242 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-30 12:37:05 +00:00
Carl Hetherington
05cc0f0db7
Spurious character in GPL boilerplate.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9241 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-30 12:36:53 +00:00
e05405acb3
Update for latest LV2 Persist extension.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9240 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-29 21:07:36 +00:00
9bfc43bf66
Update for latest LV2 persist extension.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9225 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-29 08:56:22 +00:00
02d551d183
Add subject to key/value chunks in RDFF (i.e. store triples).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9224 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-29 04:22:58 +00:00
b502bbc618
Flesh out RDFF documentation.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9223 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-29 02:37:48 +00:00
c9d0c2beae
Switch RDFF to 2-clause BSD license.
...
Fix whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@9222 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-29 02:17:17 +00:00
09943e1d57
lv2_pfile => rdff.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9221 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-29 02:10:57 +00:00
2c0cd4d430
Implement most recent LV2 persist extension.
...
Plugin state data is saved to a simple RIFF-based binary file.
Cross-endianness and non-POD data not yet implemented.
git-svn-id: svn://localhost/ardour2/branches/3.0@9220 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-28 23:54:08 +00:00
0d95a4bfe4
remove sample-rate adjustment of plugin parameters - represents a misunderstanding of the LADSPA spec
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9217 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-26 21:28:40 +00:00
Carl Hetherington
1bff54a23c
Slightly improve debug output.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9216 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-26 21:06:29 +00:00
8ceb8ac79f
more customary include order
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9213 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-26 19:13:37 +00:00
ea9979b4b9
remove Evoral::RingBuffer, which was (a) duplicating PBD::RingBufferNPT and (b) broken; replace it with PBD::RingBufferNPT
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9212 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-26 19:01:12 +00:00