Commit graph

7070 commits

Author SHA1 Message Date
Tim Mayberry
144da83bc8 Remove member filter argument from PathScanner methods and use normal filter for regex
Also use regfree to free memory of compiled patterns
2014-08-17 15:31:56 -04:00
Tim Mayberry
ae22d60a42 Change PBD::PathScanner API to return results by value to avoid inadvertent memory leaks
Conflicts:
	gtk2_ardour/session_dialog.cc
2014-08-17 15:31:49 -04:00
Robin Gareus
69b3c622c5 remove debug output 2014-08-17 15:31:18 -04:00
Robin Gareus
9434d7becf more alsa-midi debugging 2014-08-17 15:31:07 -04:00
Robin Gareus
4919418207 more midi latency detection debugging 2014-08-17 15:31:02 -04:00
Robin Gareus
81dce69fdb debug alsa midi latency measurement 2014-08-17 15:30:57 -04:00
Robin Gareus
172c42c56d fix typo in comment of prev. commit 2014-08-17 15:30:38 -04:00
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