a660ab2584
Monitor Section: Add a spacer so the topmost buttons are not visually grouped with buttons in the editor toolbar.
2019-12-10 14:35:03 -06:00
50d118f8b1
Source List nomenclature: Whole files get imported to the SOURCE list.
2019-12-10 14:10:32 -06:00
963f2a470a
use PlayistChanged appropriately to fix MIDI output
...
We didn't render the MIDI data when a playlist was set, only when modified.
2019-12-10 12:22:05 -07:00
af2d0dfb15
use bitmask values for OverwriteReason, as was intended
2019-12-10 12:21:28 -07:00
c3e3930f14
revert to single buffer for disk playback, and 5.x-style overwrite
...
Also address issues with MIDI and also atomicity of _pending_overwrite
2019-12-10 09:29:22 -07:00
7457fd2e27
Autostart must {try to} use the session sample-rate. There is no ambiguity here.
2019-12-09 16:49:15 -06:00
941aa20148
Fix font size on Push2
...
At least on my machine, the fonts on the Push display were ridiculously large,
making everything overlapping and unusable. I suspect this is because
pango_cairo_font_map_get_default() inherits DPI from the system, so the
monitor scaling factor got applied to the Push display as well.
This commit instead creates a new plain font map, and sets the resolution to
96, which looks like what the UI was designed for. Some more tweaking of the
Pango context might make things more optimal on the Push, but just setting the
resolution makes things look reasonable to me anyway.
2019-12-09 23:38:10 +01:00
3c3b4b9a15
Suppress warnings in Gtk headers
2019-12-09 23:27:04 +01:00
8ec3e5fb54
Fix deprecated-copy warnings
...
It's long been a guideline (and IIRC a Weff-c++ warning) that either all, or
none, of the copy methods should be defined, but this became a standard warning
in GCC9. Presumably to account for a later language change though I'm not sure
which.
I don't remember why the ChanMapping copy constructor can't just be a simple
copy (it's just a map of POD), but figure it's safer to just copy what that
does.
2019-12-09 23:25:59 +01:00
39bdde4250
Use labs() for long instead of abs()
2019-12-09 23:25:51 +01:00
21e9c41d96
Fix catch of polymorphic type by value
2019-12-09 22:58:08 +01:00
184bf7fd25
Remove unused variable
2019-12-09 22:56:14 +01:00
0ac56f1582
Fix incorrect parameter type
...
This takes a bool.
2019-12-09 22:50:37 +01:00
21f682164e
Fix automation alignment for latent plugins
...
This also solves bi-stable automation for plugins where latency
can change due to automation. e.g.
cycle 1: run (t): automation (t) = on: -> increase latency
cycle 2: run (t-latency): automation (t-latency) = off -> decrease latency
repeat.
2019-12-09 18:54:44 +01:00
319b029579
When a marker is selected, change the marker color in addition to the line color.
2019-12-09 07:49:30 -06:00
cf7bfae926
fix error when continuing to refill audio playback buffers after a buffer switch
...
The file_sample[AUDIO] member was not updated to reflect the last-read sample in the
switched-to buffer.
Also move several methods and members from DiskIO to DiskReader where they belong.
2019-12-08 22:39:31 -07:00
b1b29a6317
Fix two compiler warnings
2019-12-09 01:10:50 +01:00
e291948dcb
more debug output
2019-12-08 17:01:17 -07:00
109486419e
avoid a locate-to-loop-start from cancelling looping
2019-12-08 17:01:17 -07:00
2543a60f88
correct logic errors related to roll-after-locate in TransportFSM
...
This might have broken some other subtle behavior, but testing hasn't shown it thus far
2019-12-08 17:01:17 -07:00
cc8c139a57
fix missing SessionEvent when **all** tracks need a buffer overwrite
2019-12-08 17:01:17 -07:00
581dd40db0
Better, more consistent fix for d0dcca109
2019-12-09 00:07:33 +01:00
d0dcca1093
Fix Pan automation when using "Touch"
...
Pan->touching was left uninitialized, and usually non-zero.
So pan automation was assumed to be currently touched,
and hence never interpolated.
2019-12-08 23:52:48 +01:00
Daniel Appelt
79ad931f24
Update lua script to current playlist API
2019-12-08 17:40:38 +01:00
John Emmas
09d34abaa9
MSVC project changes needed to support the new 'mp3 import' stuff
2019-12-08 15:04:02 +00:00
John Emmas
e510a8555d
Minor changes needed to make the 'mp3 import' sources build with MSVC
...
(MSVC project changes to follow...)
2019-12-08 15:01:59 +00:00
7253f304e2
Add support for LV2 state:freePath feature
...
This fixes a memory-leak issue for Windows builds.
see also https://github.com/drobilla/lilv/issues/14
2019-12-08 15:22:00 +01:00
dca3f7dd97
NO-OP: whitespace
2019-12-08 15:20:53 +01:00
dec355e83d
fix behavior when pressing l to loop (not in loop-is-mode) and the required stop-during locate cancels looping
2019-12-07 10:30:38 -07:00
709a0c8d9b
"revert" back to previous loop rect in editor color
2019-12-07 10:30:38 -07:00
238cc8ed5f
functional double buffering when using DiskReader::overwrite_existing_buffers
2019-12-07 10:30:38 -07:00
1008ac20ff
a few parameter changes, and flesh out code to switch rbufs in DiskReader
2019-12-07 10:30:38 -07:00
8d05f6d4b7
initial conversion to double buffering inside DiskReader
...
Second buffer is not used (or allocated) yet.
2019-12-07 10:30:38 -07:00
386f69ae32
Fix 64bit OSX/MacOS builds
2019-12-07 15:46:20 +01:00
642bfc4c9a
Do not allow to embed ogg/vorbis files, require import
2019-12-07 15:38:55 +01:00
c7c40f6f3d
Remove #ifdef'ed format-specific error-log messages
...
With inclusion of Mp3FileSource, this would get tricky.
On MacOS, the SndFileSource's sf_error_str message is never displayed,
anyway, also calling methods all handle failed-constructor.
So error-log is less important.
2019-12-07 15:38:53 +01:00
9040fd4670
Flatten nested try/catch clauses
...
This also consistently throws a failed_constructor() when instantiating
a CoreAudioSource fails, regardless of the actual exception
2019-12-07 15:38:48 +01:00
78337c9a7e
Remove unused API, reduce sndfile/coreaudio specialization
2019-12-07 11:32:07 +01:00
e0f7514e82
Fix nested comments
2019-12-07 01:13:38 +01:00
8be727114c
Add tsan option to trace data-races
2019-12-07 00:46:33 +01:00
052f3a6836
Speed up seeking in mp3s
2019-12-06 23:13:20 +01:00
9aa887fa65
Fix issues with VBR mp3s, detect duration by decoding
2019-12-06 21:53:03 +01:00
0700cb8165
Clear TransportAbort flag after stop
...
This fixes an issue with unresponsive transport controls after
an abort (e.g. post-export).
2019-12-06 21:28:48 +01:00
a664a50ab7
Fix Windows build
2019-12-06 20:22:00 +01:00
d73734af78
Mark .mp2 and .mp3 as valid file-extensions
2019-12-06 18:30:53 +01:00
c5e46ffd30
UI limitations for mp3 import
2019-12-06 18:19:01 +01:00
d0b6c437ce
Implement mp3 import, using minimp3
2019-12-06 18:18:54 +01:00
bef74c267e
Add "seekable" SoundFile info (in prep for mp3 import)
2019-12-06 18:18:18 +01:00
227de8c1b0
Flatten nested try/catch clauses
...
This also consistently throws a failed_constructor() when instantiating
SoundFile fails, regardless of the actual exception
2019-12-06 18:16:10 +01:00
6d99e1b162
VKeybd: Set default MIDI port flags
2019-12-05 23:40:29 +01:00