Robin Gareus
4262d701eb
Remove GUI thread x-run reset on engine re-start
...
This has been superseded by the previous commit, doing this
independently from the GTK GUI.
2020-02-24 22:22:09 +01:00
Robin Gareus
021ff2044a
Zero x-run count after session-load and engine restart
2020-02-24 22:21:18 +01:00
Robin Gareus
f16d97a013
Consolidate startup state = Clean; calls
...
This also emits DirtyChanged() only if needed.
2020-02-24 22:16:56 +01:00
Robin Gareus
1074c16299
Websockets: error on unhandled callbacks
...
This prevents unhandled http request from hogging the backend.
2020-02-24 22:06:15 +01:00
Robin Gareus
bd00db9e8b
Websockets: use established NDEBUG - see assert(3)
2020-02-24 22:06:15 +01:00
Robin Gareus
17cd3853e0
Fix initial audible noise on muted or silenced tracks
...
When loading a session with muted tracks, those tracks were
not initially muted, but ardour only faded them out.
The same happened to sends, and also tracks with non unity fader:
an initial fade from unity to target gain was done.
Now this send and deliveries always fade-in (like default Amp does).
2020-02-24 22:06:15 +01:00
Todd Naugle
22e5374389
Always set the natural position timestamp when importing audio files.
...
If the file has a timestamp, it should be set in the region during import.
This keeps the BWF timestamp from being lost and allows the region context
menu item "Move to original Position" to work.
It does not affect where the region will be positioned during import. That
still follows the import dialog menu selection (playhead, session start,
etc). It just maintains data that the user can decided to use if needed.
This change also allows files to be imported to the source list and then
later placed on the timeline in the correct timestamped position.
2020-02-24 13:16:32 -06:00
Todd Naugle
06d4dc0ede
Fix uninitialized member variable.
2020-02-24 13:16:32 -06:00
Todd Naugle
ceea3e3311
NOP: No need to set this variable to itself.
2020-02-24 13:16:32 -06:00
Robin Gareus
e8e869c593
Revert "Add symbolic link scripts -> share/scripts"
...
This reverts commit 72ab9a0ac7 .
GitHub http/s does not 307 redirect follow symlinks. Oh well.
2020-02-24 17:46:00 +01:00
Robin Gareus
72ab9a0ac7
Add symbolic link scripts -> share/scripts
...
This is only for the benefit of preserving http/s
links to scripts on github :(
2020-02-24 17:42:39 +01:00
Robin Gareus
4f8777e968
Tweak mach thread priority debug msg
2020-02-24 05:29:56 +01:00
Robin Gareus
e737a9b000
Fix setting CoreAudio RT-priority
2020-02-24 04:38:49 +01:00
Robin Gareus
7eb16db628
Default to device reported systemic latency
2020-02-24 04:25:42 +01:00
Robin Gareus
a9c75f9760
Fix CoreAudio systemic latency, implement hw latency report
2020-02-24 04:24:50 +01:00
Robin Gareus
53a6c24147
Add API to query hardware latency (as reported by the driver)
...
So far only MacOS/X CoreAudio supports this. This is intended
for defualt values in case a user has not callibrated the device, yet.
2020-02-24 04:24:12 +01:00
Robin Gareus
f79ae05a93
Amend 180843f9 - move scripts
2020-02-23 21:21:33 +01:00
Robin Gareus
b5761ea443
Update gitignore, clean up git status
...
* allow for a "local" folder with stuff that git does not list
* ignore local Lua scripts
* ignore icon tool binary
2020-02-23 21:11:47 +01:00
Robin Gareus
180843f9bd
Also move Lua scripts to share subfolder
2020-02-23 20:48:02 +01:00
Robin Gareus
bf649cd68a
Fix another websocket surface crash when no panner is available
...
This amends 224be91211
2020-02-23 19:12:26 +01:00
Robin Gareus
8b092f8658
Websockets: use unique header guards
2020-02-23 16:21:55 +01:00
Robin Gareus
5e3480ba8f
NO-OP: Re-indent websockets code
...
"Always use Tabstops for block-indent (the code must be
formatted correctly with "[TAB] = N spaces" for any value of N).
Use space only for alignment." - https://ardour.org/styleguide.html
2020-02-23 16:21:55 +01:00
Robin Gareus
224be91211
Fix websockets surface crash when panner is not available
2020-02-23 16:21:55 +01:00
Robin Gareus
54c4d3adc5
Clean up top-level source tree
...
Collect architecture independent data in 'share' subfolder.
This also matches the install path
2020-02-23 16:21:55 +01:00
Robin Gareus
96ef1dc0ed
Cleanup cource tree: collect patches
2020-02-23 16:21:50 +01:00
Ben Loftis
3e77680a57
surfaces transport hotfix: surfaces should query the transport state via BasicUI, when possible
2020-02-23 09:02:25 -06:00
Ben Loftis
276baee8ad
surfaces transport hotfix: BasicUI: prefer actual_speed() and transport_stopped_or_stopping() for current Transport FSM
2020-02-23 09:02:21 -06:00
Ben Loftis
8efb642c46
surfaces transport hotfix: actual_speed() is preferred over transport_speed() for current Transport FSM
2020-02-23 09:02:13 -06:00
Ben Loftis
2945e6ee23
Foldback: Sync nav buttons when a new foldback bus is added
2020-02-22 16:56:44 -06:00
Robin Gareus
768cd1cb56
Allow to use websocket ctrl-surface from source-tree
2020-02-22 23:51:03 +01:00
Robin Gareus
7fdc35bb45
Fix Unix compile with older libwebsockets
...
Debian/Ubuntu still only ship libwebsockets 2.x.
Recent libWS abstracts the poll interface to be
compatible with Windows.
2020-02-22 23:27:08 +01:00
Luciano Iam
d7ef188aea
Prefix events with LWS_
2020-02-22 23:10:25 +01:00
Luciano Iam
5abce5aae5
Properly initialize IOCondition in events_to_ioc()
2020-02-22 23:10:25 +01:00
Luciano Iam
7f73cfb36e
Properly initialize lws config structs
2020-02-22 23:10:25 +01:00
Luciano Iam
047b05b860
Remove all initializer list usages
2020-02-22 23:10:24 +01:00
Luciano Iam
bb448080b6
Remove locally defined classes
2020-02-22 23:10:24 +01:00
Luciano Iam
d8d70adab8
Replace C++11 lambdas with functors
2020-02-22 23:10:24 +01:00
Luciano Iam
6e499e2cc5
Make code adhere to C++98 (WIP)
2020-02-22 23:10:24 +01:00
Luciano Iam
8db9755d1e
Add websockets surface module
2020-02-22 23:10:24 +01:00
Robin Gareus
4416530929
Tweak ArdorIcon display-tool & re-order icons
...
* add option to render a border
* group icons (assume 7x7 grid)
2020-02-22 21:40:35 +01:00
Paul Davis
541ea5ccad
avoid double-locate call when locating-while-stopped
...
Session::locate() used TransportFSM::stopped() to determine if realtime stop was required. But this would
return false, since the motion state at that time is WaitingForLocate. So invert the test and use
!TransportFSM::rolling
2020-02-21 15:48:53 -07:00
Paul Davis
db3995c559
fix playback glitch : do not adjust file_sample[Type] after read, it is canonical
...
We told the DR to read from pos+shift, and it increment file_sample[T] appropriately. We should not adjust it. The
only thing that gets adjusted is the sample that will playback (as a result of PlaybackBuffer::increment_read_ptr()
2020-02-21 13:19:31 -07:00
Paul Davis
8e8d2f86a8
centralize determination of "read-audio-data-in-reverse" and fix seek "shift" offset
...
There is still a bug related to "shift" that causes a playback discontinuity
2020-02-21 11:54:08 -07:00
Paul Davis
f0316430c6
make "reversing" back into a DirectionState and prohibit speed changes while reversing
2020-02-21 11:54:08 -07:00
Robin Gareus
2fb260e6e8
Update Control flags of Aux Sends
...
This fixes old session-state of sessions saved after
6.0-pre0-3039-g93180ceea9 and before 6.0-pre0-3459-g587fc50059.
It's mainly relevant for Mixbus6.0
2020-02-20 23:11:04 +01:00
Robin Gareus
587fc50059
Fix Inline-control visibility state
...
This fixes an issue when copy/pasting plugins or aux-sends from
one track to another. After copying the processor, the state
is copied, however the Controllable state did save
the InlineControl flag, so this as lost.
(amend 93180ceea )
2020-02-20 23:06:55 +01:00
Paul Davis
57598acbcf
remove unused members
2020-02-20 12:53:57 -07:00
Paul Davis
2398f6127f
fix up apparent design thinkos in US2400 key binding handler
2020-02-20 12:53:57 -07:00
Paul Davis
444ef73c7d
fix up apparent design thinkos in Mackie key binding handler
2020-02-20 12:53:57 -07:00
Paul Davis
938e65f12a
use MIXBUS approach to User button for Faderport (it's just a button, not a modifier
2020-02-20 12:53:57 -07:00