Commit graph

7063 commits

Author SHA1 Message Date
Robin Gareus
a4b52d3127 fix region un/combine, based on a patch by Tom Brand 2014-08-17 15:30:31 -04:00
Robin Gareus
3412982cc2 another edge-case, don't crash on invalid files with zero channels
Conflicts:
	libs/ardour/import.cc
2014-08-17 15:30:22 -04:00
Robin Gareus
40d88d2218 fix edge case - handle error in device owner request 2014-08-17 15:29:13 -04:00
Robin Gareus
7f1a4f3658 ARD: proper cleanup 2014-08-17 15:29:08 -04:00
Paul Davis
ab47194ee8 comment correction regarding Canvas::visible_area() 2014-08-17 15:29:02 -04:00
Paul Davis
465456dbf4 initialize _scroll_parent in Canvas::item 2014-08-17 15:28:56 -04:00
Robin Gareus
f1533a03da optimize midi delayline. 2014-08-17 15:28:50 -04:00
Robin Gareus
8cb24865d2 offset automation by latency 2014-08-17 15:28:46 -04:00
Robin Gareus
1957abddb5 offset automation by processor latency for bouncing/freezing
the same remains to be done for general route processing
2014-08-17 15:28:41 -04:00
Robin Gareus
0c7c8fdad4 plug some leaks 2014-08-17 15:28:36 -04:00
Robin Gareus
c56d3ad812 initialize uninitialized variable 2014-08-17 15:28:03 -04:00
Robin Gareus
632e23de2c fix pathscanner / stl_vector related memory leaks
Conflicts:
	gtk2_ardour/session_dialog.cc
2014-08-17 15:27:45 -04:00
John Emmas
37a2ac8617 Add newly introduced sources to our MSVC projects 2014-08-17 15:26:34 -04:00
John Emmas
cb0abfb008 Remove no longer needed sources from MSVC projects 2014-08-17 15:26:28 -04:00
Robin Gareus
977da7e08a strtok() is the root of all evil. 2014-08-17 15:26:22 -04:00
Robin Gareus
7804841022 tracking down concurrency issus is fun. 2014-08-17 15:26:16 -04:00
Robin Gareus
4416bed4f8 ALSA backend: set latencies to zero when measuring latency 2014-08-17 15:22:45 -04:00
Robin Gareus
109899c894 send-delayline: proper debug output (and sort includes on the way) 2014-08-17 15:22:41 -04:00
Robin Gareus
74bd058c73 update ALSA backend, MIDI device config 2014-08-17 15:20:49 -04:00
Robin Gareus
0e6b9e25c3 add AudioEngine API to configure individual MIDI devices 2014-08-17 15:19:55 -04:00
Colin Fletcher
988c7773a7 Use Ardour 3 credentials for soundcloud upload
I registered 'Ardour 3' as an app with Soundcloud - here are the
client_id and client_secret I got back. Probably the client_secret
shouldn't be here - I'll try to understand what should really happen and
fix this up in due course. Probably we should be using OAuth.

Also remove a couple of bits of dead code and fix a few whitespace
oddities.
2014-08-17 15:14:20 -04:00
Colin Fletcher
0b37220cf9 Export dialog: tidy code, & remove some superfluous debug output
Remove some debug output, tidy up a few whitespace inconsistencies, use
DEBUG::Soundcloud in one more place, and zap a couple of unused variables.

Conflicts:
	libs/ardour/export_handler.cc
2014-08-17 15:13:20 -04:00
Colin Fletcher
ccd4f9ccdc Post-export hook tweaks
Remove the Soundcloud username & password from the parameter substitutions
passed to the post-export hook: having thought about this now, I can't
actually think of a case where these are of any use at all.

In compensation, add %s and %n parameters that expand to the session
directory and name - maybe people will think of uses for these.

Conflicts:
	libs/ardour/export_handler.cc
2014-08-17 15:12:38 -04:00
Colin Fletcher
f22f2bbb55 Search $PATH for command when creating SystemExec from command line
When creating a SystemExec from a command-line, search $PATH for the
command to execute, so that post-export hooks don't need to specify a full
path.

Conflicts:
	libs/pbd/system_exec.cc
2014-08-17 15:11:27 -04:00
Paul Davis
452cf1db35 change Canvas heirarchy and constructors
Items no longer need a parent group (they require a Canvas pointer instead), so all constructors have been rationalized
and have two variants, one with a parent and one with a canvas.

All Items now inherit from Fill and Outline, to banish diagonal inheritance and virtual base classes and all that.

There were zero changes to the Ardour GUI arising from these changes.
2014-08-17 15:08:56 -04:00
Paul Davis
3cec76834e remove drag handle canvas object - it was just a stupid unfinished experiment 2014-08-17 15:08:46 -04:00
Paul Davis
1a3596b071 derive ArdourCanvas::Ruler from Rectangle 2014-08-17 15:08:33 -04:00
Paul Davis
a7a75f105a remove hard-coded colors 2014-08-17 15:08:19 -04:00
Paul Davis
473bcc3fa6 many fixes and improvements for a now-working ArdourCanvas::Ruler item 2014-08-17 15:06:11 -04:00
Paul Davis
126a293ab9 add ruler.cc to canvas wscript 2014-08-17 15:06:06 -04:00
Paul Davis
def1f12164 add Ruler to Canvas fwd.h 2014-08-17 15:05:59 -04:00
Paul Davis
76b9ad2294 add initial (untested) implementation of canvas ruler item 2014-08-17 15:05:48 -04:00
Robin Gareus
494515ee16 delayline: properly hand-over the shared-pointer. 2014-08-17 15:05:38 -04:00
Robin Gareus
1501726cd5 add latency callback to dummy backend 2014-08-17 15:05:31 -04:00
Robin Gareus
65671fd59e fix possible crash when setting delivery name w/o panshell 2014-08-17 15:05:24 -04:00
Robin Gareus
a5eacb7552 NOOP, re-indent using tabs 2014-08-17 15:05:18 -04:00
Robin Gareus
d59eaca690 align internal sends using delaylines 2014-08-17 15:05:13 -04:00
Robin Gareus
8ba99446ef basic integration of delaylines (still un-nused) 2014-08-17 15:05:03 -04:00
Robin Gareus
ca7ceed890 add delayline implementaion (in prep for latency compensation) 2014-08-17 15:04:58 -04:00
Robin Gareus
d84788d310 NOOP, re-indent & whitespace 2014-08-17 15:04:52 -04:00
Robin Gareus
dacf51c299 prepare midi buffer API for midi-delaylines 2014-08-17 15:04:47 -04:00
Robin Gareus
d048c8e4a6 fix midi buffer erase() 2014-08-17 15:04:40 -04:00
Paul Davis
aefe0a4953 fix crash recovery: add new constructors to SndFileSource, AudioFileSource, add a new SourceFactory method and finally tweak
AudioDiskstream::use_pending_capture_data() to create both the required whole-file and the in-playlist regions
2014-08-17 15:03:01 -04:00
Robin Gareus
28306d0b06 wrap MIDI timecode at 24h 2014-08-17 15:00:48 -04:00
Robin Gareus
8875cd5a5a really fix sending MIDI timecode. 2014-08-17 15:00:43 -04:00
Robin Gareus
463981c4cd fix crash when trying to send MMC of timecode > 255 hours 2014-08-17 15:00:38 -04:00
Robin Gareus
d7a8c58aaa close dir opened with opendir() - fixes accumulated fd for plugin state saves 2014-08-17 15:00:34 -04:00
Paul Davis
592146822a fix Canvas::LineSet implementation to support horizontal and vertical linesets 2014-08-17 15:00:23 -04:00
Paul Davis
6f38ff5c3c remove global canvas scroll offset, to provide no-scroll-parent == no-scroll behaviour 2014-08-17 14:58:10 -04:00
Robin Gareus
102c0766c0 some misc tweaks to the ALSA Backend 2014-08-17 14:58:04 -04:00