ardour.git
8 years agomove Amp::GainControl out into its own source module and out of Amp
Paul Davis [Wed, 13 Jan 2016 03:04:18 +0000 (22:04 -0500)]
move Amp::GainControl out into its own source module and out of Amp

8 years agochange ownership of the AutomationControl used by Amp.
Paul Davis [Tue, 12 Jan 2016 19:09:24 +0000 (14:09 -0500)]
change ownership of the AutomationControl used by Amp.

It used to be owned by Amp. Now it is owned by Amp's owner

8 years agoMackie Control: Fix crash in multi-surface setup when add/remove tracks.
Len Ovens [Mon, 18 Jan 2016 16:58:07 +0000 (08:58 -0800)]
Mackie Control: Fix crash in multi-surface setup when add/remove tracks.

8 years agoGroups: Fix un/set hidden/show should reset RID for tracks involved.
Len Ovens [Sun, 17 Jan 2016 22:17:02 +0000 (14:17 -0800)]
Groups: Fix un/set hidden/show should reset RID for tracks involved.

8 years agoscrolling actions should not require that a track selection exists
Ben Loftis [Sun, 17 Jan 2016 02:29:14 +0000 (20:29 -0600)]
scrolling actions should not require that a track selection exists

8 years agoChange last commit to use it's own variable rather than borrowing solo's
Len Ovens [Sat, 16 Jan 2016 22:40:03 +0000 (14:40 -0800)]
Change last commit to use it's own variable rather than borrowing solo's

8 years agoMackie Control: fix global Solo lamp to get signalled for listens active too.
Len Ovens [Sat, 16 Jan 2016 21:53:52 +0000 (13:53 -0800)]
Mackie Control: fix global Solo lamp to get signalled for listens active too.

8 years agoMackie Control: fix math error that tried to change bank to very high number
Len Ovens [Sat, 16 Jan 2016 19:17:52 +0000 (11:17 -0800)]
Mackie Control: fix math error that tried to change bank to very high number

8 years agoMackie Control: Added hidden tracks view mode.
Len Ovens [Sat, 16 Jan 2016 15:32:30 +0000 (07:32 -0800)]
Mackie Control: Added hidden tracks view mode.

8 years agonewer, not-as-good boost shared ptr debug patch for boost 1.55 and maybe later
Paul Davis [Sat, 16 Jan 2016 15:03:42 +0000 (10:03 -0500)]
newer, not-as-good boost shared ptr debug patch for boost 1.55 and maybe later

8 years agoclean up functors used in cross-thread call_slot() messages, in case they contain...
Paul Davis [Sat, 16 Jan 2016 14:33:15 +0000 (09:33 -0500)]
clean up functors used in cross-thread call_slot() messages, in case they contain shared_ptr<T>, which could result in a dangling reference

8 years agoThe return of threaded waveform rendering and related crashes.
Robin Gareus [Sat, 16 Jan 2016 13:18:59 +0000 (14:18 +0100)]
The return of threaded waveform rendering and related crashes.

8 years agoMackie Control: Need signal from session if group parameters change so strips redispl...
Len Ovens [Sat, 16 Jan 2016 00:19:15 +0000 (16:19 -0800)]
Mackie Control: Need signal from session if group parameters change so strips redisplay if group un/hides.

8 years agoMackie Control: Don't show hidden groups either.
Len Ovens [Fri, 15 Jan 2016 21:58:08 +0000 (13:58 -0800)]
Mackie Control: Don't show hidden groups either.

8 years agoMackie Control: Don't show hidden routes.
Len Ovens [Fri, 15 Jan 2016 21:16:24 +0000 (13:16 -0800)]
Mackie Control: Don't show hidden routes.

8 years agoforce LV2 plugin-state save for templates - #6709
Robin Gareus [Fri, 15 Jan 2016 12:44:17 +0000 (13:44 +0100)]
force LV2 plugin-state save for templates - #6709

8 years agoAdd a newly introduced source file to our MSVC project (ardour_osc)
John Emmas [Fri, 15 Jan 2016 11:59:43 +0000 (11:59 +0000)]
Add a newly introduced source file to our MSVC project (ardour_osc)

8 years agoFix build of OSC surface caused by missing include of i18n/gettext header
Tim Mayberry [Fri, 15 Jan 2016 02:14:52 +0000 (12:14 +1000)]
Fix build of OSC surface caused by missing include of i18n/gettext header

8 years agotouchOSC compat for common route operations
Robin Gareus [Fri, 15 Jan 2016 00:31:12 +0000 (01:31 +0100)]
touchOSC compat for common route operations

8 years agofix OSC debug messages
Robin Gareus [Fri, 15 Jan 2016 00:29:44 +0000 (01:29 +0100)]
fix OSC debug messages

8 years agoOSC-debug: print argument
Robin Gareus [Thu, 14 Jan 2016 23:57:33 +0000 (00:57 +0100)]
OSC-debug: print argument

8 years agouse PBD instead of C++11.
Robin Gareus [Thu, 14 Jan 2016 22:46:33 +0000 (23:46 +0100)]
use PBD instead of C++11.

8 years agoGeneric MIDI: midi controller buttons should only trigger on the PUSH, not release...
Ben Loftis [Thu, 14 Jan 2016 22:39:50 +0000 (16:39 -0600)]
Generic MIDI:  midi controller buttons should only trigger on the PUSH, not release.  This might have to be reveisited later, but it looks right to me and it fixes operation on 2 different devices here

8 years agoGeneric MIDI: add ToggleRecEnable action, and change all maps to use that instead...
Ben Loftis [Thu, 14 Jan 2016 22:37:47 +0000 (16:37 -0600)]
Generic MIDI:  add ToggleRecEnable action, and change all maps to use that instead of separate rec-enable, rec-disable, which didnt work

8 years agoOSC debugging, allow to log incoming & unhandled messages
Robin Gareus [Thu, 14 Jan 2016 22:33:58 +0000 (23:33 +0100)]
OSC debugging, allow to log incoming & unhandled messages

8 years agoMackie Control: Remove unused global_solo_* functions, moved functionality to clearso...
Len Ovens [Thu, 14 Jan 2016 21:06:14 +0000 (13:06 -0800)]
Mackie Control: Remove unused global_solo_* functions, moved functionality to clearsolo_* functions.
Changed to clear only rather than toggle and added Listen Clear as well.

8 years agoGUI for latency-measurement signal-level
Robin Gareus [Thu, 14 Jan 2016 18:25:23 +0000 (19:25 +0100)]
GUI for latency-measurement signal-level

8 years agoNO-OP: enums implicitly start at zero
Robin Gareus [Wed, 13 Jan 2016 13:57:02 +0000 (14:57 +0100)]
NO-OP: enums implicitly start at zero

this allows this file to be included to look up enums (bindings)

8 years agoadd API to query signal value of audio-latency measurement
Robin Gareus [Thu, 14 Jan 2016 18:10:04 +0000 (19:10 +0100)]
add API to query signal value of audio-latency measurement

8 years agoremove debug output
Paul Davis [Thu, 14 Jan 2016 16:00:50 +0000 (11:00 -0500)]
remove debug output

8 years agouse correct type of lock when removing a thread request buffer
Paul Davis [Thu, 14 Jan 2016 16:00:40 +0000 (11:00 -0500)]
use correct type of lock when removing a thread request buffer

8 years agofaderport: stop event loop when destroying object
Paul Davis [Thu, 14 Jan 2016 15:59:27 +0000 (10:59 -0500)]
faderport: stop event loop when destroying object

8 years agofully clean up request buffers when a thread dies
Paul Davis [Thu, 14 Jan 2016 15:53:32 +0000 (10:53 -0500)]
fully clean up request buffers when a thread dies

8 years agomanually revert 4b3043cc and 141e6fb8181; add detailed explanatory comment
Paul Davis [Thu, 14 Jan 2016 14:04:59 +0000 (09:04 -0500)]
manually revert 4b3043cc and 141e6fb8181; add detailed explanatory comment

8 years agoensure that each and every audioengine-related thread has a unique name
Paul Davis [Thu, 14 Jan 2016 14:04:09 +0000 (09:04 -0500)]
ensure that each and every audioengine-related thread has a unique name

8 years agoChange handling of Midi note selection to eliminate signal emission/delays.
Tim Mayberry [Wed, 28 Oct 2015 02:58:55 +0000 (12:58 +1000)]
Change handling of Midi note selection to eliminate signal emission/delays.

Each MidiRegionView(MRV) is connected to the Selection::ClearMidiNoteSelection
signal that is used to notify the all MRV instances to clear their note
selection.

The MRV class also has a private static SelectionCleared signal that is used to
signal other MRV instances when their selection has been cleared. When the
Selection::ClearMidiNoteSelection signal is emitted it causes each MRV to also
emit the SelectionCleared signal. So the emission takes quadratic time.

With 1500 MRV instances emission takes about 2.2 seconds on my machine, and
some operations like track selection cause it to be emitted 3 times(another
issue).

The Selection class in the Editor knows which MRV instances have note
selections, as it is notified by MidiRegionView whenever the selection count
becomes zero or becomes non-zero. Clearing the Note selection should then just
be O(N) and direct calls can be used rather than signals.

This change removes both the signals and uses the existing references between
Selection and MRV class to control note selection. There should be no
behavioural changes in Midi note selection with this change.

8 years agoAdd debug bit for selection debugging output
Tim Mayberry [Tue, 5 Jan 2016 04:00:37 +0000 (14:00 +1000)]
Add debug bit for selection debugging output

8 years agodon't pick up already dead thread request buffers when setting up an event loop
Paul Davis [Thu, 14 Jan 2016 04:25:17 +0000 (23:25 -0500)]
don't pick up already dead thread request buffers when setting up an event loop

8 years agouse a unique key to store per-thread request buffers
Paul Davis [Thu, 14 Jan 2016 04:00:02 +0000 (23:00 -0500)]
use a unique key to store per-thread request buffers

8 years agoyet more event loop debug tracing
Paul Davis [Thu, 14 Jan 2016 02:13:55 +0000 (21:13 -0500)]
yet more event loop debug tracing

8 years agomore event loop debugging
Paul Davis [Thu, 14 Jan 2016 00:48:17 +0000 (19:48 -0500)]
more event loop debugging

8 years agotypo fix
Paul Davis [Wed, 13 Jan 2016 23:14:52 +0000 (18:14 -0500)]
typo fix

8 years agolots more DEBUG_TRACE statements for analysing malfunctioning system
Paul Davis [Wed, 13 Jan 2016 22:03:44 +0000 (17:03 -0500)]
lots more DEBUG_TRACE statements for analysing malfunctioning system

8 years agoFix bug 6725 regions incorrectly moved after tempo change when glued to BBT time
Tim Mayberry [Wed, 6 Jan 2016 13:36:33 +0000 (23:36 +1000)]
Fix bug 6725 regions incorrectly moved after tempo change when glued to BBT time

Playlist::_split_region copies the region and BBT_Time member is default
constructed so position is bar 1 beat 1.

The regions sample position is then initialized to the new position using the
property list.

Playlist::add_region_internal is then used to add new regions to the playlist
which calls region->set_position() but as the region position has already been
initialized it does not recompute the _bbt_time member based on the new sample
position.

Then when a tempo change occurs and Region::update_after_tempo_map_change is
called the default initialized _bbt_time member is used to incorrectly
determine the new sample position.

So the change removes the initialization of the new region position using the
property list initialization method and just lets the playlist set the position
of the region in Playlist::add_region_internal so that the region _bbt_time
member is recomputed in Region::set_position_internal.

8 years agodon't allow to delete AU presets in the UI
Robin Gareus [Wed, 13 Jan 2016 17:01:39 +0000 (18:01 +0100)]
don't allow to delete AU presets in the UI

because the backend is not ready for this.

8 years agoanother DEBUG_TRACE for mackie control x-thread requests
Paul Davis [Wed, 13 Jan 2016 04:30:14 +0000 (23:30 -0500)]
another DEBUG_TRACE for mackie control x-thread requests

8 years agoimproved debug trace messages from BaseUI class
Paul Davis [Wed, 13 Jan 2016 03:10:23 +0000 (22:10 -0500)]
improved debug trace messages from BaseUI class

8 years agoMackie Control, Fix sends after monitor not showing.
Len Ovens [Tue, 12 Jan 2016 16:15:57 +0000 (08:15 -0800)]
Mackie Control, Fix sends after monitor not showing.

8 years agospace bar action (Transport/ToggleRoll) should still start transport if synced to...
Paul Davis [Tue, 12 Jan 2016 13:28:54 +0000 (08:28 -0500)]
space bar action (Transport/ToggleRoll) should still start transport if synced to Engine (JACK)

8 years agoat the end of waf configure, when displaying selected options, break backend settings...
Paul Davis [Tue, 12 Jan 2016 13:06:41 +0000 (08:06 -0500)]
at the end of waf configure, when displaying selected options, break backend settings into their own "output block"

8 years agoadd relevant wscript visibility for the portaudio backend
Paul Davis [Tue, 12 Jan 2016 12:47:25 +0000 (07:47 -0500)]
add relevant wscript visibility for the portaudio backend

8 years agoremove wavesaudio backend
Paul Davis [Tue, 12 Jan 2016 12:45:46 +0000 (07:45 -0500)]
remove wavesaudio backend

8 years agoComment remaining unsolved bug.
André Nusser [Wed, 2 Dec 2015 13:45:11 +0000 (14:45 +0100)]
Comment remaining unsolved bug.

8 years agoDon't show a ghost note when draw mode is entered over a note.
André Nusser [Wed, 2 Dec 2015 10:20:56 +0000 (11:20 +0100)]
Don't show a ghost note when draw mode is entered over a note.

8 years agoClean enter_internal and leave_internal in MidiRegionView.
André Nusser [Mon, 30 Nov 2015 15:49:09 +0000 (16:49 +0100)]
Clean enter_internal and leave_internal in MidiRegionView.

8 years agoFix two ghost note drawing problems.
André Nusser [Mon, 30 Nov 2015 23:15:53 +0000 (00:15 +0100)]
Fix two ghost note drawing problems.

A ghost note could appear:
1) above the region.
2) inside another note even though we haven't yet entered it.

8 years agoHide MIDI ghost note when over existing note.
André Nusser [Sun, 29 Nov 2015 23:58:03 +0000 (00:58 +0100)]
Hide MIDI ghost note when over existing note.

8 years agoHide ghost note when switching from draw to internal edit mode.
André Nusser [Mon, 30 Nov 2015 10:44:41 +0000 (11:44 +0100)]
Hide ghost note when switching from draw to internal edit mode.

Before it was only hidden after moving the mouse.

8 years agoFix appearing ghost note after drag select in internal edit mode.
André Nusser [Mon, 30 Nov 2015 09:46:26 +0000 (10:46 +0100)]
Fix appearing ghost note after drag select in internal edit mode.

8 years agoname ALSA midi ports after device 4.6
Robin Gareus [Mon, 11 Jan 2016 10:46:10 +0000 (11:46 +0100)]
name ALSA midi ports after device

8 years agofix warning message typo
Robin Gareus [Mon, 11 Jan 2016 10:45:44 +0000 (11:45 +0100)]
fix warning message typo

8 years agofix compilation of debug builds
Robin Gareus [Mon, 11 Jan 2016 10:07:09 +0000 (11:07 +0100)]
fix compilation of debug builds

ArdourSurface::FaderPort::Button::name is private

8 years agoremove debug output 4.5
Paul Davis [Mon, 11 Jan 2016 04:34:10 +0000 (23:34 -0500)]
remove debug output

8 years agofaderport: remove wierd shift use design; make user+shift work again
Paul Davis [Mon, 11 Jan 2016 04:32:15 +0000 (23:32 -0500)]
faderport: remove wierd shift use design; make user+shift work again

8 years agocoremidi: do not clear port buffer for every call to parse_events()
Paul Davis [Sun, 10 Jan 2016 22:46:19 +0000 (17:46 -0500)]
coremidi: do not clear port buffer for every call to parse_events()

This was limiting the data flow to 1 MIDI event per process cycle.

8 years agocheck sidebar re-order constrains early on.
Robin Gareus [Sat, 9 Jan 2016 23:25:04 +0000 (00:25 +0100)]
check sidebar re-order constrains early on.

8 years agoretain expansion-state when reordering plugins in the sidebar
Robin Gareus [Sat, 9 Jan 2016 23:00:07 +0000 (00:00 +0100)]
retain expansion-state when reordering plugins in the sidebar

8 years agoadd explanatory comment regarding coremidi data flow
Paul Davis [Sat, 9 Jan 2016 19:45:38 +0000 (14:45 -0500)]
add explanatory comment regarding coremidi data flow

8 years agofix const-ness issue.
Paul Davis [Sat, 9 Jan 2016 19:03:13 +0000 (14:03 -0500)]
fix const-ness issue.

This one is debatable, but since we know that the filter method is const with respect to the AUPluginInfo
object, the const_cast<> seems like the simplest AND cleanest solution

8 years agocoremidi: be sure to mark _event._pending false after queueing, so that it doesn...
Paul Davis [Sat, 9 Jan 2016 18:52:53 +0000 (13:52 -0500)]
coremidi: be sure to mark _event._pending false after queueing, so that it doesn't get queued up again later

8 years agofix compiler argument order (ldflags/loadlibes) - patch from Rodney Dawes
Robin Gareus [Sat, 9 Jan 2016 18:03:43 +0000 (19:03 +0100)]
fix compiler argument order (ldflags/loadlibes) - patch from Rodney Dawes

8 years agoGUI update for plugin-preset-list API change
Robin Gareus [Sat, 9 Jan 2016 14:22:40 +0000 (15:22 +0100)]
GUI update for plugin-preset-list API change

8 years agoAPI evolution
Robin Gareus [Sat, 9 Jan 2016 14:22:16 +0000 (15:22 +0100)]
API evolution

The Session-reference is only needed to instantiate/load the plugin.
Indexing presets is not supposed to call load() and be const WRT to
PluginInfo

8 years agovariable program name in installer script
Robin Gareus [Sat, 9 Jan 2016 12:00:01 +0000 (13:00 +0100)]
variable program name in installer script

8 years agoand again.
Robin Gareus [Sat, 9 Jan 2016 00:24:10 +0000 (01:24 +0100)]
and again.

8 years agofix typo in ce7d18bc16
Robin Gareus [Sat, 9 Jan 2016 00:01:18 +0000 (01:01 +0100)]
fix typo in ce7d18bc16

8 years agoLeave a ToDo note: distinguish LV2 user and factory presets.
Robin Gareus [Fri, 8 Jan 2016 23:57:53 +0000 (00:57 +0100)]
Leave a ToDo note: distinguish LV2 user and factory presets.

8 years agodon't allow to delete factory presets
Robin Gareus [Fri, 8 Jan 2016 23:51:24 +0000 (00:51 +0100)]
don't allow to delete factory presets

8 years agoindex plugins before loading state (favorite order)
Robin Gareus [Fri, 8 Jan 2016 21:07:21 +0000 (22:07 +0100)]
index plugins before loading state (favorite order)

8 years agobetter version than prev. commit (avoid name ambiguity)
Robin Gareus [Fri, 8 Jan 2016 20:53:12 +0000 (21:53 +0100)]
better version than prev. commit (avoid name ambiguity)

8 years agoexclude AU factory presets from favorite list
Robin Gareus [Fri, 8 Jan 2016 20:13:03 +0000 (21:13 +0100)]
exclude AU factory presets from favorite list

8 years agofix favorite plugin sort (after plugin-scan)
Robin Gareus [Fri, 8 Jan 2016 20:12:48 +0000 (21:12 +0100)]
fix favorite plugin sort (after plugin-scan)

8 years agoconsistent way to launch Ardour in gdb
Robin Gareus [Fri, 8 Jan 2016 18:18:56 +0000 (19:18 +0100)]
consistent way to launch Ardour in gdb

8 years agoFix monitor-section session-property vs preference state.
Robin Gareus [Fri, 8 Jan 2016 15:01:30 +0000 (16:01 +0100)]
Fix monitor-section session-property vs preference state.

The initial value of Config::get_use_monitor_bus() may not reflect
the current session's state when loading a session.

8 years agocoreaudio: remove debug output
Paul Davis [Fri, 8 Jan 2016 14:43:33 +0000 (09:43 -0500)]
coreaudio: remove debug output

8 years agocoreaudio: remove debug output
Paul Davis [Fri, 8 Jan 2016 14:39:55 +0000 (09:39 -0500)]
coreaudio: remove debug output

8 years agoNOOP: fix whitespace/indendentation in coreaudio backend code
Paul Davis [Fri, 8 Jan 2016 14:39:00 +0000 (09:39 -0500)]
NOOP: fix whitespace/indendentation in coreaudio backend code

8 years agocoreaudio: reset MIDI parsers when entering and leaving freewheeling
Paul Davis [Fri, 8 Jan 2016 14:19:25 +0000 (09:19 -0500)]
coreaudio: reset MIDI parsers when entering and leaving freewheeling

8 years agoindicate monitor-state
Robin Gareus [Fri, 8 Jan 2016 13:22:02 +0000 (14:22 +0100)]
indicate monitor-state

8 years agotranslatable "Monitor" processor name
Robin Gareus [Fri, 8 Jan 2016 13:21:14 +0000 (14:21 +0100)]
translatable "Monitor" processor name

8 years agoExpose overall monitor-processor state
Robin Gareus [Fri, 8 Jan 2016 13:20:58 +0000 (14:20 +0100)]
Expose overall monitor-processor state

8 years agouse config value to avoid race on session-setup.
Robin Gareus [Fri, 8 Jan 2016 10:34:28 +0000 (11:34 +0100)]
use config value to avoid race on session-setup.

8 years agoremove default implementation to query plugin-preset names
Robin Gareus [Fri, 8 Jan 2016 10:09:43 +0000 (11:09 +0100)]
remove default implementation to query plugin-preset names

8 years agomonitor-section: re-connect to static actions
Robin Gareus [Fri, 8 Jan 2016 00:31:20 +0000 (01:31 +0100)]
monitor-section: re-connect to static actions

8 years agoUpdate Russian translation
Alexandre Prokoudine [Thu, 7 Jan 2016 01:15:25 +0000 (04:15 +0300)]
Update Russian translation

8 years agocoreaudio: correctly clear MIDI port buffers
Paul Davis [Thu, 7 Jan 2016 23:11:36 +0000 (18:11 -0500)]
coreaudio: correctly clear MIDI port buffers

8 years agocoreaudio: factor out common code for stuffing MIDI data into a CoreMidiPort buffer
Paul Davis [Thu, 7 Jan 2016 23:11:15 +0000 (18:11 -0500)]
coreaudio: factor out common code for stuffing MIDI data into a CoreMidiPort buffer

8 years agoAllow to query Windows VST user-preset-names
Robin Gareus [Thu, 7 Jan 2016 21:56:13 +0000 (22:56 +0100)]
Allow to query Windows VST user-preset-names

8 years agolxvst preset name display (user presets only)
Robin Gareus [Thu, 7 Jan 2016 21:55:08 +0000 (22:55 +0100)]
lxvst preset name display (user presets only)

8 years agotweak/add faderport debug messages
Paul Davis [Thu, 7 Jan 2016 21:40:14 +0000 (16:40 -0500)]
tweak/add faderport debug messages