Commit graph

7193 commits

Author SHA1 Message Date
Robin Gareus
c90428b5b8 ALSA backend (based on Dummy backend and zita-alsa-pcmi)
Conflicts:
	gtk2_ardour/ardev_common.sh.in
	libs/backends/wscript
2014-08-16 21:44:42 -04:00
Robin Gareus
d150d76823 allow latency measurement at startup 2014-08-16 21:43:27 -04:00
Robin Gareus
f0ef57147c tentative fix for requesting driver+device list from backend 2014-08-16 21:43:13 -04:00
Paul Davis
60bb0b5f58 substantive changes to the logic and safety for naming of (audio/MIDI) sources, especially when created via import
Conflicts:
	libs/ardour/import.cc
2014-08-16 18:02:22 -04:00
Robin Gareus
684927cce7 fix display of cd-track-detail UI 2014-08-16 18:00:38 -04:00
Robin Gareus
1c17431aa6 disable snap fades to 'other' region (for now) 2014-08-16 17:59:50 -04:00
Robin Gareus
b1bf1fe34c frankenstein'ed fade+trim cursors 2014-08-16 17:59:30 -04:00
Robin Gareus
ebc797115b initialize variables 2014-08-16 17:59:25 -04:00
Robin Gareus
4b00dea155 show fade+trim handles only if the operation is possible 2014-08-16 17:59:20 -04:00
Robin Gareus
a8eb104f4c session fade-region-visible is for fades - not controls 2014-08-16 17:59:15 -04:00
Robin Gareus
ea9a5e45e6 prepare fade+trim cursors (cursor image still missing) 2014-08-16 17:59:05 -04:00
Robin Gareus
102c1dc66c reduce outline of fade-in/active rectangle to line 2014-08-16 17:58:56 -04:00
Robin Gareus
7478412ce8 show x-fade-rectangle only when hovering 2014-08-16 17:58:49 -04:00
Robin Gareus
00dbbc6fdb fix fade+trim handle hover color 2014-08-16 17:58:43 -04:00
Robin Gareus
23a711d370 reset [trim] fade handle position if track-height changes 2014-08-16 17:58:38 -04:00
Robin Gareus
40ffd0600b towards region-trims preserving fade duration 2014-08-16 17:58:34 -04:00
Paul Davis
9e82cb582d fix data loss/file deletion caused by mistaken used of Session::source_by_path() to check if an AUDIO filesource with a given path already exists.
::source_by_path() was written for MIDI files only. I fixed the call and renamed the two similar functions (one for audio and one for MIDI) to make it more clear.
2014-08-16 17:56:44 -04:00
Robin Gareus
d411468f08 set Gtk::RadioAction state on instant.xml load.
This should really be done in ArdourDropdown somehow.

Fixes issues introduced at b9708d5: If after session-load some
radio-item other than the first one is set active, it is
impossible to switch to the first.
e.g. set "Snap to Grid", Save Session, Load Session, trying to
switch to "Snap to None" fails until another mode is selected first.
2014-08-16 17:56:23 -04:00
Robin Gareus
f5f38bb805 more new fade icons from Chris Goddard 2014-08-16 17:56:19 -04:00
Robin Gareus
4e55433457 update x-fade context-menu 2014-08-16 17:56:09 -04:00
Robin Gareus
4fcd902044 replace use of Curve with XFadeCurve. 2014-08-16 17:53:59 -04:00
Robin Gareus
e528eb1e86 update fade icons 2014-08-16 17:22:33 -04:00
Robin Gareus
10b6bb833c fix x-fade icons in context menu 2014-08-16 17:21:15 -04:00
Robin Gareus
9ec7b79ac9 Revert "cairo sub-surface prototype & example
This reverts commit c57fcde78c.
and also     commit f1f8f89fcb.
2014-08-16 17:21:08 -04:00
Paul Davis
f945edded6 fix up operation of Editor::temporal_zoom_to_frame() which had not been updated since samples_per_pixel was changed to an integer (framecnt_t) 2014-08-16 17:21:02 -04:00
Robin Gareus
17e94e02e8 exercise subsurface rendering for x-fade curves 2014-08-16 17:20:57 -04:00
Paul Davis
a6ed35d720 for trx, use the primary clock for verbose cursor units 2014-08-16 17:20:19 -04:00
Robin Gareus
8d666210a9 x-fade drawing rework, part one 2014-08-16 17:20:15 -04:00
Robin Gareus
57ba2396f4 global one-time setup of waveform preferences.
see note in previous commit.

Conflicts:
	gtk2_ardour/ardour_ui_options.cc
2014-08-16 17:20:01 -04:00
Robin Gareus
cc942e25f3 persistent waveform shape setting.
NOTE: the call to set_global_shape() only needs to happen once,
presumably in a hook in the editor that catches Config::Changed

The same is true for waveform-scale and clipping. But for now it's
at least consistent.
2014-08-16 17:19:23 -04:00
Robin Gareus
0c7b49423b fixup freeze operation.
since rev. 1e3a955, Session::write_one_track() gets and drops
thread buffers.
2014-08-16 17:16:12 -04:00
Robin Gareus
08e98a7b82 fix sensitivity of engine dialog driver_combo. 2014-08-16 17:10:05 -04:00
Colin Fletcher
620c827129 Visual tweaks to Soundcloud panel
Re-arrange the items in the Soundcloud panel into a more sensible order &
arrangement, and add a (not-yet functional) tick-box to set the uploaded
files to be downloadable.
2014-08-16 17:07:18 -04:00
Colin Fletcher
07ba0efa8d Better names for Soundcloud-related members of ExportHandler
Rename the Soundcloud-related members of ExportHandler to all begin with
soundcloud_, and rename a couple of members of SoundcloudExportSelector
too for consistency.

Conflicts:
	gtk2_ardour/export_dialog.cc
	libs/ardour/export_handler.cc
2014-08-16 17:07:05 -04:00
Colin Fletcher
eec3f494ec Make Soundcloud upload applicable to any export format.
Add soundcloud_upload property back into ExportFormatSpecification, but
instead of making it settable in the export format specification dialog,
add a tick-box in each tab of ExportFileNotebook to allow setting it.
2014-08-16 17:04:53 -04:00
Colin Fletcher
3e1f1630d8 Remove Soundcloud upload from export format specification
Remove the Soundcloud upload property from export formats - it doesn't
belong there, since it's a thing which can apply (or not) to any format
preset.

Conflicts:
	gtk2_ardour/export_format_dialog.cc
2014-08-16 17:04:38 -04:00
Paul Davis
4d3b3af4ee fix binding name for set-tempo-from-region 2014-08-16 17:03:08 -04:00
Colin Fletcher
f450868f76 indent in wscript uses spaces
Conflicts:
	gtk2_ardour/wscript
2014-08-16 16:59:12 -04:00
Colin Fletcher
6695670a4d Use libardour SystemExec wrapper in gtk2_ardour
get the libardour wrapper class, and remove the include completely where
it's no longer required.

Conflicts:
	gtk2_ardour/ardour_ui.cc
	gtk2_ardour/video_monitor.h
2014-08-16 16:57:30 -04:00
Paul Davis
fbdfaf5802 remove unnecessary and wierd constant for bottom rect (drop zone) of track canvas 2014-08-16 16:56:48 -04:00
Paul Davis
12ce4dee36 comment tweak 2014-08-16 16:56:42 -04:00
Paul Davis
82c208b3e5 adding a new track via copy-region-drag now works (and shares code with the non-copy case 2014-08-16 16:56:37 -04:00
Paul Davis
6b1eaf1388 non-copy region drag now creates a new track when a region is dragged to the drop zone 2014-08-16 16:56:32 -04:00
Paul Davis
c752167ccc change return type of Editor::axis_view_from_route() 2014-08-16 16:56:28 -04:00
Paul Davis
c6ac38d41e part one of allowing region drag to the bottom (drop-zone) rect of track canvas 2014-08-16 16:54:52 -04:00
Colin Fletcher
ccb7a99b17 Ripple mode: ripple all after start of deleted range
When deleting a range in ripple mode, ripple everything after the start
point of that range backwards by the length of the range, so that
newly-created regions immediately at the range end move back to the range
start.
2014-08-16 16:49:32 -04:00
Robin Gareus
253fb8f4a6 replace gettimeofday() with g_get_monotonic_time() 2014-08-16 16:49:07 -04:00
Colin Fletcher
75817e1000 Don't clear the clipboard when deleting things
Deleting regions (or ranges, or anything) shouldn't affect the contents of
the clipboard - only CutCopyOp::Copy, CutCopyOp::Cut and CutCopyOp::Clear
should do that.
2014-08-16 16:49:03 -04:00
Colin Fletcher
9ae10442c3 Ripple mode: ripple when deleting ranges.
Make delete, cut and clear of a range ripple the appropriate playlists.
2014-08-16 16:48:56 -04:00
Devin J. Pohly
b3faccc805 fix major/minor ticks on min:sec ruler
All ticks from 0:00.000 to 0:00.999... were major, and everything after
was minor, instead of the correct distribution.
2014-08-16 16:38:45 -04:00