13
0
Commit Graph

32110 Commits

Author SHA1 Message Date
1a1e67f595 Use Posix style return values for sem wait when on windows.
0 on success, -1 on error
2021-05-27 15:17:15 -05:00
be6d0fa95c Do not use named semaphores on Windows since they are system wide
https://docs.microsoft.com/en-us/dotnet/standard/threading/semaphore-and-semaphoreslim#named-semaphores

Running multiple instances of Ardour or Ardour/Mixbus would fail in very
odd ways since they would signal each other. Unnamed sems are
correct for this use case.
2021-05-27 15:13:40 -05:00
e91fd1fce6
Add Lua binding to query plugin-presets and scalepoints 2021-05-27 16:56:24 +02:00
270b043e8f
Minor code cleanup 2021-05-27 01:03:08 +02:00
a829fa58b3
Fix another C++11ism 2021-05-26 04:14:18 +02:00
2cf4568d82
Fix C++11isms in 3fb9f47bf1 2021-05-26 03:55:29 +02:00
d839e9cf14
Consistent _nth_ API call 0-based index 2021-05-26 02:33:31 +02:00
c444a81f1a offer alternative region marker "promotion" method to CD marker (rather than just global marker) 2021-05-25 14:10:36 -06:00
8774740e72 add action to "promote" region cue markers to global marks 2021-05-25 14:01:30 -06:00
232af15b51 fix position of region cue markers during drag and after when region position is not zero 2021-05-25 14:01:30 -06:00
3fb9f47bf1 ptimport: Fix importing of large sessions, no more crashing and faster 2021-05-25 20:37:39 +10:00
54e0b7f230 renaming cue markers (via dbl-click) 2021-05-24 20:23:06 -06:00
3a1cfc837e libardour: API infrastructure for renaming cue markers 2021-05-24 20:23:06 -06:00
6277419673 Rulers: do not trigger ruler auto-display when only selecting between bbt subdivisions (#8717)
Also remove 'nonmusical' construct which was a convoluted way
 to handle GridNone when determining how to draw grid lines.
2021-05-24 16:45:42 -05:00
ab2357dfa1 implement dragging for region/cue markers 2021-05-24 12:28:19 -06:00
c2a012545b API infrastructure for dragging region/cue markers 2021-05-24 12:26:21 -06:00
2016710865 skeleton for RegionMarkerDrag 2021-05-24 09:12:19 -06:00
63ef9bdb9e Revert "hide region marker actions in menus"
This reverts commit b2ca7ac01e.
2021-05-23 21:27:54 -06:00
f1fe1c7066
Amend 445f9a51bf 2021-05-23 23:22:18 +02:00
65afd57856
Remove debug message 2021-05-23 22:23:27 +02:00
a6fc82537e
Fix assert in Waveview cache size
previous condition made no sense. effectively assert(bytes > 0).
2021-05-23 21:41:45 +02:00
445f9a51bf
Fix ripple undo/redo
Ripple edit undo/redo needs a "recursive diff" of all regions
in the playlist. To work properly owned changes have to be
cleared first, previously unrelated edits were be collected too.

This includes a more consistent version of
7a89d56009 using rdiff() instead of explicitly
saving region diffs.
2021-05-23 17:42:33 +02:00
31bbf03a67
NO-OP: always use braces (styleguide #4) 2021-05-23 17:37:28 +02:00
44c0535b10
Fix gprof builds
`-pg` needs is both a compiler and linker flag.
2021-05-23 01:05:22 +02:00
42f4e64d5f
Fix a moderate memory leak
periodic calls ARDOUR_UI::update_clocks() -> AudioClock::set()
-> 2+ calls to UI::set_tip() can easily accumulate 50MB/hour
when rolling.
2021-05-22 22:11:42 +02:00
Hubert Figuière
17b7d92244 Added midnam for Yamaha P-121/125
- I do have a P-125, and did test with it
- Yamaha MIDI reference list both P-121 and P-125 for the same
- Values comes from official Yamaha documentation

The file is my own creation, licensed CC0.
2021-05-21 22:06:10 -04:00
d703079f10
ace-fluidsynth: add bypass (ignore notes, but retain reverb) 2021-05-21 18:40:59 +02:00
ecbd8732de
NO-OP: clang-format 2021-05-21 18:39:39 +02:00
fd3220c3d7
Set uninitialized variable (fix playhead dragging) 2021-05-21 17:57:56 +02:00
6733a847ee Fix Bounced region+filename (lib part)
Prior implementation:
  Bouncing a range and naming it "chorus" resulted in:
     ..a region per track, and they were all named "chorus"
     ...a file per track, with the name "chorus-{playlist name}"

New implementation:
   Bouncing a range and naming it "chorus" results in:
     ..a region per track, with the name "chorus-{playlist name}"
     ...a file with the same name as the region
2021-05-20 11:42:48 -05:00
5fdbd71d89 Fix bounced file+region names: concatenating all the names was a bad idea. (gtk part) 2021-05-20 11:42:48 -05:00
70fb4d4a27 Plugin Tags: add some new tagged plugins, especially VST3s 2021-05-20 11:42:48 -05:00
a8561d531f adjust preferences label for "rewind/ffwd like a tape deck" 2021-05-19 18:54:41 -06:00
2e501fd77a ensure the BasicUI implementation of rewind/ffwd is the same as the ARDOUR_UI one 2021-05-19 18:32:00 -06:00
b2ca7ac01e hide region marker actions in menus 2021-05-19 16:32:20 -06:00
159fa49dbb change chat URL to one that redirects via ardour.org 2021-05-19 15:49:50 -06:00
ad69a564a0 Revert "come to a complete stop if rewind/ffwd steps past -40 semitones slower"
This reverts commit 05ef7f2647.

This stopping behavior was not satisfactory. The behavior after this revert is not great, but better than the stop.
2021-05-18 22:59:22 -06:00
3047b25527 split out region marker actions to their own submenu; implement remove and clear all 2021-05-18 20:59:37 -06:00
17dbdffc45 infrastructure APIs for region/cue marker removal and clear 2021-05-18 20:59:37 -06:00
d8e0a29316
Fix A/B plugins, skip internal but visible plugins (e.g. LAN) 2021-05-19 02:10:33 +02:00
9d865f241d
Prevent user from indirectly disabling LAN amp 2021-05-19 02:10:29 +02:00
b167e6f2ed fix crash when deleting a marker
the line (if non-null) is owned by the marker's group, and will be deleted when the group is
2021-05-18 18:02:22 -06:00
35a68ad324 remove unusued variables 2021-05-18 18:01:49 -06:00
60a972a7de implement region marker deletion 2021-05-18 18:01:38 -06:00
bd2d8b8c87 tweak Editor remove-marker APIs to set state for removing region cue markers 2021-05-18 16:50:55 -06:00
baee1a2f01 add API to make sure that region cue markers are above any waveviews or MIDI etc 2021-05-18 16:50:27 -06:00
b76991c00b reset region cue marker colors when colors change 2021-05-18 16:17:37 -06:00
eb8c25edce remove debug output 2021-05-18 16:17:37 -06:00
3713175bf1 allow user to set name for new region cue marker 2021-05-18 16:17:37 -06:00
1de3ba6cc2 try a tweak to region cue marker color 2021-05-18 16:17:37 -06:00