Robin Gareus
fc54ab48ec
Remove unused function, fix optimized builds
2021-05-06 15:27:26 +02:00
Robin Gareus
5957e14259
Remove unused #include<> (2/2)
...
PBD::stacktrace() is not used nor needed by default.
It should be used sparingly.
2021-05-05 17:57:16 +02:00
Robin Gareus
a22f918d9d
Update libardour GPL boilerplate and (C) from git log
2019-08-03 15:53:16 +02:00
Robin Gareus
2991afaf0d
Add support for recording to .flac
2018-11-07 19:21:39 +01:00
Paul Davis
4c7e5dbc74
move away from "sync source" concepts
2018-10-05 14:15:02 -04:00
Paul Davis
30b087ab3d
globally change all use of "frame" to refer to audio into "sample".
...
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
2017-09-18 12:39:17 -04:00
Robin Gareus
1d587592ca
Add support for Latch Automation
2017-09-18 11:40:52 -04:00
Robin Gareus
007f3cdbba
Add convenience fn to compute a file's sha1sum
2017-06-26 19:39:40 +02:00
Robin Gareus
ea1f27162b
Fix/update maximum gain computation
2017-06-21 18:12:07 +02:00
Robin Gareus
7c94499aec
Remove Cruft -- AutomationStyle never did anything.
...
Trim automation is planned via SlavableAC as normal AutomationMode.
Some of this code have a revival (a special "Trim+Preview" state
before merging Automation but that has to be more general than Pan & Gain.
2017-06-21 13:16:27 +02:00
Robin Gareus
bd0fc8cafc
Shorten sync-button label/size
2016-12-18 23:17:29 +01:00
Paul Davis
cf52d6e4b4
enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h
2016-07-14 14:45:23 -04:00
Paul Davis
653ae4acd6
universal change in the design of the way Route/Track controls are designed and used. The controls now own their own state, rather than proxy for state in their owners.
...
Massive changes all over the code to accomodate this. Many things are not finished. Consider this a backup safety commit
2016-05-31 15:30:40 -04:00
Robin Gareus
2397429e99
use quotes for in-tree pbd/glib wrapper include
2015-10-05 22:15:18 +02:00
Robin Gareus
22b07e0233
NOOP, remove trailing tabs/whitespace.
2015-10-05 16:17:49 +02:00
Paul Davis
4dc63966f0
globally remove all trailing whitespace from ardour code base.
...
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
John Emmas
c68736bc02
Change a few instances of 'stat()' to use 'g_stat()' (for UTF8 compatibility on Windows)
2015-10-04 14:18:54 +01:00
Paul Davis
bbfb53e881
RF64, RF64 (WAV) and MBWF native file header formats
2015-09-08 17:40:28 -04:00
Tim Mayberry
009a06a773
Move ARDOUR::touch_file to pbd/file_utils.h
2015-07-26 12:15:19 +10:00
Tim Mayberry
1a520b376f
Use g_open instead of ::open in ARDOUR::touch_file for portability
2015-07-26 11:18:20 +10:00
Tim Mayberry
e3c303d72f
Revert "A few more instances of non-glib 'open()' getting used without locale-specific input paths"
...
This reverts commit 52ef02b387 .
2015-07-25 23:14:50 +10:00
John Emmas
52ef02b387
A few more instances of non-glib 'open()' getting used without locale-specific input paths
...
(noticed by Todd. probably more to come...)
2015-07-23 18:27:00 +01:00
Robin Gareus
9bf381db0a
amend 3a5ac7f
2015-07-15 23:40:45 +02:00
Robin Gareus
3a5ac7f37f
update existing dpm meter-falloff config to new fastest.
2015-07-15 23:18:13 +02:00
Paul Davis
0f9cac978e
(re)implement Yevgeny's LTC branch changes in the context of ardour-merge-from-tracks (just the libs/* section)
2015-06-29 14:18:15 -04:00
Robin Gareus
6b3a8915f3
add abort() to non-reached code
...
This cleans up a lot of false-positives in static analysis
and also helps compilers to optimize code paths in general.
(tagging the fatal stingstream operator as ‘noreturn’ is
far less trivial)
2014-11-14 11:30:08 +01:00
Colin Fletcher
e5e12acc56
Merge branch 'ripple-mode-cc' into cairocanvas
...
Fix up merge conflicts in
gtk2_ardour/editor_mouse.cc
gtk2_ardour/editor_ops.cc
Also fix up compile errors.
2014-07-01 19:10:47 +01:00
Robin Gareus
bae86a2d90
Disallow empty names for Groups, automatically enumerate them
2014-06-30 18:33:05 +02:00
Robin Gareus
789cf92a23
bump take-name after every recording
2014-06-26 19:16:20 +02:00
Robin Gareus
1bd4e448de
namespace libardour utils
2014-06-25 21:47:54 +02:00
Colin Fletcher
d75c7151d4
Ripple mode: basic implementation
...
Add a value for Ripple to EditMode enum.
Add Ripple edit mode to edit mode dropdown, by adding it to the
Editor::build_edit_mode_menu() helper function, and remove the old code that
added items to the (now unused) Editor::edit_mode_strings.
Add the regions that should be affected by the drag to RegionDrag::_views so
that the drag carries them along automatically.
Use a copy of the RegionList in Playlist::core_ripple(), since bad things
happen when iterating over regions and they get moved around in the list.
Handle rippling in removal of regions from playlist.
When dragging in ripple mode, exclude all regions that lie before the
original start position of the selected regions being dragged from
rippling: this is what Mixbus does.
Make editor dragging respect snap-to settings, by using the existing
compute_x_delta() function, which did almost the right thing. Move setting
of _last_frame_position out of that function so all ripple-dragged regions
can move.
Ripple when dragging from region list: even though Mixbus doesn't do this, it
seems like a good idea.
Prevent multi-track selection being dragged across tracks, by making
RegionMotionDrag::y_movement_allowed() virtual, and overriding it in
RegionRippleDrag to forbid dragging of selections containing regions on more
than one track to dofferent tracks in ripple mode.
Remember which TimeAxisView a ripple-mode drag that's allowed cross-track
drags started from, so that the effect of rippling regions after any region
that's dragged off that track can be undone.
2014-05-07 19:46:24 +01:00
Paul Davis
3020b224fa
Merge windows+cc branch into cairocanvas branch. Not finished, need to now merge windows branch to get changes from there
2014-01-10 16:07:57 -05:00
Nils Philippsen
96947e2f3a
add cmp_nocase_utf8()
...
This is like cmp_nocase(), only that it doesn't use toupper(), tolower()
and therefore is agnostic of the current locale, and attempts to compare
strings in a UTF8-aware way (or falls back to ASCII if one of the
strings isn't UTF8-encoded).
2013-12-10 23:07:47 +01:00
John Emmas
300b484cf6
Merge branch 'master' into windows+cc
...
Conflicts (hopefully resolved):
gtk2_ardour/ardour_ui.cc
gtk2_ardour/ardour_ui.h
gtk2_ardour/ardour_ui_options.cc
2013-10-06 11:56:03 +01:00
Paul Davis
960a47330a
switch from JACK_Slave to Engine_Slave
2013-09-19 17:34:23 -04:00
John Emmas
d176cbc804
'libs/ardour' - Compiler specific includes and includes
2013-08-04 17:01:37 +01:00
Robin Gareus
c1f56d4d7c
meter line-up and fall-off standard values & names
2013-07-10 15:27:11 +02:00
Paul Davis
a2d6577210
move path_expand() and search_path_expand() into libpbd, and use them to expand search paths given to pathscanner objects (always)
2013-03-20 07:43:19 -04:00
David Robillard
07112b55e0
Save LV2 presets with relative URIs to their own bundle, in the same style as Jalv.
2013-03-17 12:52:49 -04:00
Paul Davis
57bcb2182f
replace characters that would make an export filename illegal on any/all filesystems with "_"
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13689 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-20 13:08:50 +00:00
Paul Davis
35c6b52c36
probable fix for not being able to find audio files in a 2.X session that had "illegal" characters in the session name - adds the 2.X version of the search path to the audio file search path, if it exists
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13321 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-23 14:52:26 +00:00
Robin Gareus
3769c060f2
use translatable strings for TC info,
...
and prepare delta display
git-svn-id: svn://localhost/ardour2/branches/3.0@13275 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-14 16:42:32 +00:00
Robin Gareus
bce3184ff5
skeleton framework for LTC-slave
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13256 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-12 09:45:22 +00:00
Carl Hetherington
06aa9c7435
Remove unused method.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12516 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-31 22:44:29 +00:00
Carl Hetherington
7eb8a33910
Add path_is_within to decide if a path is within a given
...
directory, taking symlinks into account, and use it to
decide whether a file is within the session folder. Should
fix #4552 .
git-svn-id: svn://localhost/ardour2/branches/3.0@12468 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-28 16:32:41 +00:00
Paul Davis
d6051c9953
move string_is_affirmative() into libpbd
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11936 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 11:45:40 +00:00
Carl Hetherington
a7f31b56af
Add new inodes_same() method.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11590 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-05 00:34:21 +00:00
Paul Davis
65c8d673a2
restore ability to create TOC and CUE files during export. this is an option in a given export format, not a per-export choice. so you need export formats with them set (or not) in order to utilize this choice. the resulting CUE/TOC files have not been checked with a burner (e.g. cdrdao) and testing of them would be appreciated - i (paul) have no CD burner h/w
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11266 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-18 21:56:06 +00:00
Paul Davis
508c5eb5bd
make monitor section an optional feature than can be added/removed as needed. this is a big commit, and breakage is possible. it has been moderately tested. this commit also locks the remote control ID of the master bus to 318 and the monitor section (if any) to 319. the numbers are based on MIDI Machine Control limits
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11256 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-18 01:30:44 +00:00
Paul Davis
ae63588c02
improved WORKING fix for search path issues
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10940 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 18:52:14 +00:00