2326fb1638
ALSA: only read/clear user-requested nperiods before snd_pcm_start
...
This should fix excessive latency with the RayDay that
has a fixed buffersize of 16384 samples.
2020-05-01 23:17:31 +02:00
b258ad792e
force provision of "menu-name" for all WindowProxy objects, and thus Tabbables
...
Actions for hide/show/attach/detach tabbables use hard-coded names which are not
translated. Using Tabbable/WindowProxy::name() to lookup the action will fail,
since the name can be translated. This changes just removes the option to not
provide a menu-name when creating these objects, and uses the name menu-name
when looking up an action by name
2020-05-01 14:33:47 -06:00
51795d2e11
Fix contents-drag (ignore snap) #8073
...
The "new" snap-to-visual-grid mechanism is not useful for
Contents-trim. That would require a relative grid.
2020-05-01 22:12:39 +02:00
0486fe3e7d
set LC_ALL from macOS locale so that setlocale(2) will work
2020-05-01 12:32:38 -06:00
6479a1c9d5
fix apple use of - instead of _ in language identifiers; only set LANGUAGE if the language preferences are translatable
2020-05-01 12:31:52 -06:00
b2a8616ef8
notice if macOS user has en_US as primary language
2020-05-01 12:30:46 -06:00
033838c242
remove hard to understand and incorrect comment sentence
2020-05-01 12:29:24 -06:00
ad2af5123d
tell stdout if setlocale(2) fails
2020-05-01 12:28:52 -06:00
eda909067b
remove unusued SAE build target from osx_build
2020-05-01 12:28:09 -06:00
25f873917f
make with-NLS be the default for Mac builds
...
It already was for mixbus, but not for ardour
2020-05-01 12:22:29 -06:00
e424fdc197
Prototype an A/B x-fade plugin
2020-04-30 21:30:04 +02:00
1e814d2573
remove debug output
2020-04-30 13:13:48 -06:00
106315071a
update other .po files
2020-04-30 13:03:46 -06:00
2c56762b98
fix context-providing translation for de_DE where the context string had been left in the the translation
2020-04-30 13:03:25 -06:00
b95cd280f1
use PROGRAM_NAME to name GUI thread
2020-04-30 11:03:49 -06:00
70da4ad893
fix 52b9066511
(incorrect logic). Restores audio playback from disk
2020-04-30 10:36:01 -06:00
68cb914959
Set Arodur's main thread name to include "Ardour"
...
This is helpful when debugging by PID (adevices.sh most notably),
just "gui" is not usually helpful.
2020-04-30 18:24:22 +02:00
8fa0049d28
ALSA: set start threshold to zero
2020-04-30 04:16:17 +02:00
11f68a02cd
Another step towards nperiod fixes for the RayDay
2020-04-30 02:05:14 +02:00
e9e4792a99
only activate MIDI editing bindings if in actual internal edit mode.
...
Draw mode does not as internal editing for these purposes
2020-04-29 16:27:27 -06:00
d7072eda01
Update script menu in the wake of 95932f92de
2020-04-30 00:24:22 +02:00
3a6a9cfa6c
Tweak ALSA nperiod setting, fallback to nearest
...
This is mainly for RME RayDAT that has a fixed buffersize of 16k:
dev_name : hw:HDSPMxc2f6c5,0
channels : 36
min_rate : 32000
max_rate : 192000
min_bufz : 16384
max_bufz : 16384
min_nper : 4
max_nper : 512
However nperiod configuration determines the effective latency
regardless.
This is similar to https://github.com/jackaudio/jack1/blob/master/drivers/alsa/alsa_driver.c#L476-L486
2020-04-29 23:56:24 +02:00
6eb48e40a0
do not set declick_amp's gain for declick out during export of MIDI-only tracks
...
When export is done, nothing a MIDI-only track will reduce the gain ("goto midi" inside
DiskReader::run() and the "declick-in-progress" state will be permanent
2020-04-29 15:36:07 -06:00
52b9066511
Clarify --help message, fix punctuation and indent
2020-04-29 20:18:11 +02:00
b42c72e49f
Add "exit-when-halted" halted option for arlua
...
This is useful when when the ardour-lua is started by a
command based wrapper that cannot poll the engine state.
2020-04-29 20:15:22 +02:00
551be058f2
NO-OP: whitespace
2020-04-29 15:12:23 +02:00
John Emmas
6144de5bf0
Add/remove source(s) in our MSVC project (midi++2)
2020-04-29 10:20:34 +01:00
47bb331bfa
Allow to refresh ALSA device list - #8051
2020-04-29 02:19:38 +02:00
3d5ea7dfab
ALSA: set min/max sizes before the debug message
2020-04-29 01:16:23 +02:00
Hiroki Inagaki
cce6ac3e73
Update Japanese translation for 6.0
2020-04-28 21:29:04 +02:00
e4a2f1fc3b
Clarify source-tree doc: libsmf is used inside libevoral
...
This partially reverts 990afec2e
2020-04-28 21:27:16 +02:00
990afec2e3
Tabs to space and fix typo
2020-04-28 21:10:07 +02:00
6224bf1e27
Revise French translation, part 7 -- #8035
2020-04-28 21:07:56 +02:00
860b36b06c
tweak source code layout docs
2020-04-28 12:02:07 -06:00
7a1447b75e
remove pointless libs/midi++2/midi++/event.h file
...
This was just a proxy for libs/evoral/evoral/Event.h. Note that the #define
that controlled allocation that was at the top of the removed header is
replicated in the Evoral header, so there are no semantic changes
2020-04-28 12:01:55 -06:00
39844cfbb9
tweak minitimeline methods and names to avoid too-early and unnecessary calls to ::set_colors()
2020-04-28 11:45:14 -06:00
4d17c5179c
remove unnecessary call to set_colors()
...
This call also happens before colors are even defined
2020-04-28 11:45:14 -06:00
95932f92de
Remove redundant action prefix
...
From Ardour5 to Ardour6 the AccessAction handle changes
from "Editor/script-action-<N>" to "LuaAction/script-<N>"
2020-04-28 18:32:24 +02:00
d94a747180
Revise French translation, part 6 -- #8035
2020-04-28 18:05:11 +02:00
8e482ef0fb
Con't work on ALSA nperiod selection (see also d3d120fa
)
2020-04-28 17:56:17 +02:00
d3d120fa28
Prepare to allow using ALSA backend with nperiods > 3
...
This will still need an update for Alsa_pcmi::set_hwpar() capture
channel (which is fixed at 2, unless FRAG_NEAR is used).
2020-04-28 03:28:34 +02:00
13ed8da2bc
Add flag to allow ALSA backend to fall back to nearest avail. nperiods
2020-04-28 02:51:20 +02:00
30a60f45df
show MTC transport master latency when computed
2020-04-27 15:44:28 -06:00
2587ad6dc3
Ignore unconnected ports for latency-compensation
...
This fixed a false-positive "ambiguous latency" warning for
MIDI busses:
MIDI track -midi-> MIDI Bus w/instrument -audio|midi-> master
The master-bus only has audio inputs, so the MIDI Bus'
MIDI out is left unconnected. Its latency does not matter,
it can float freely.
Previously it was assumed to be zero. So the MIDI Bus' input
playback latency range was [0, master-bus playback-latency].
2020-04-27 23:10:21 +02:00
c56e99cd09
nominal improvement for MTC master: use port latency to adjust sampletimes that MTC events "occured at"
2020-04-27 15:02:29 -06:00
Johannes Mueller
1280360a65
Revert "Fix 8061 (partly): Don't scroll down if no further tracks to scroll to"
...
This reverts commit 81cbf36c56
.
Limiting scrolling has other drawbacks. A proper fix for the redraw issue
has to be found.
2020-04-27 22:58:32 +02:00
Johannes Mueller
81cbf36c56
Fix 8061 (partly): Don't scroll down if no further tracks to scroll to
...
The issue remains if a track is selected by a "fit-selection" action second
last track covers the whole trackview. Then when scrolling one track up, the
huge track disappears and a smaller track follows, that covers a lot less
space.
-> Proper redraw of the track view is still needed.
2020-04-27 21:51:57 +02:00
24d3bf25a9
Don't call into engine for queued latency updates
2020-04-27 17:28:26 +02:00
09f9cd377d
Prevent excessive latency recomputations
...
Session::update_latency() may be called multiple times with
the process-lock being held.
2020-04-27 16:31:40 +02:00
d6242f35f5
Remove debug message
2020-04-27 16:26:36 +02:00