ardour.git
10 years agoremove some debug output messages
Paul Davis [Thu, 12 Sep 2013 21:24:45 +0000 (17:24 -0400)]
remove some debug output messages

10 years agodon't stop metering thread when session is removed; move engine-setup code into its...
Paul Davis [Thu, 12 Sep 2013 21:06:21 +0000 (17:06 -0400)]
don't stop metering thread when session is removed; move engine-setup code into its own method. sorry, ardour build-from-source folk :)

10 years agovtl: export selected range
Robin Gareus [Thu, 12 Sep 2013 20:46:11 +0000 (22:46 +0200)]
vtl: export selected range

10 years agotweak narrow-mixer-strip meters: nettings vs the_CLA. Round 3.
Robin Gareus [Wed, 11 Sep 2013 16:32:39 +0000 (18:32 +0200)]
tweak narrow-mixer-strip meters: nettings vs the_CLA. Round 3.

10 years agolots of changes to auto-start (and stop) the backend for latency measurements, and...
Paul Davis [Thu, 12 Sep 2013 20:28:51 +0000 (16:28 -0400)]
lots of changes to auto-start (and stop) the backend for latency measurements, and continuing work on the session construction/engine configuration flow

10 years agoreinstate unblocking-of-connections in session setup, accidentally dropped in reorgan...
Paul Davis [Thu, 12 Sep 2013 20:27:58 +0000 (16:27 -0400)]
reinstate unblocking-of-connections in session setup, accidentally dropped in reorganization work

10 years agoprevent key press in pre-main-window dialog(s) from crashing the program because...
Paul Davis [Thu, 12 Sep 2013 18:39:17 +0000 (14:39 -0400)]
prevent key press in pre-main-window dialog(s) from crashing the program because there is no editor window to forward key presses to

10 years agochange names, add comment, improve return type to avoid extra call to get EngineContr...
Paul Davis [Thu, 12 Sep 2013 16:26:59 +0000 (12:26 -0400)]
change names, add comment, improve return type to avoid extra call to get EngineControl::State*

10 years agoadd AudioBackendNativeThread to serve the same role as jack_native_thread_t
Paul Davis [Thu, 12 Sep 2013 15:29:47 +0000 (11:29 -0400)]
add AudioBackendNativeThread to serve the same role as jack_native_thread_t

10 years agoalways add a timeout value of 200msec to jack, just like qjackctl does.
Paul Davis [Thu, 12 Sep 2013 01:00:21 +0000 (21:00 -0400)]
always add a timeout value of 200msec to jack, just like qjackctl does.

THIS IS A HACK. LONG TERM GOAL: understand why ardour gets zombified on the way up.

10 years ago*maybe* fix issues with zombification during session loading
Paul Davis [Wed, 11 Sep 2013 20:33:40 +0000 (16:33 -0400)]
*maybe* fix issues with zombification during session loading

10 years agomake use of measured latency values to set dialog controls, and use actual port laten...
Paul Davis [Wed, 11 Sep 2013 17:02:32 +0000 (13:02 -0400)]
make use of measured latency values to set dialog controls, and use actual port latency to compute extra delay

10 years agoremove some configure time tests from libs/ardour regarding JACK which are no longer...
Paul Davis [Wed, 11 Sep 2013 16:44:21 +0000 (12:44 -0400)]
remove some configure time tests from libs/ardour regarding JACK which are no longer relevant

10 years agoremove unused members and code from EngineControl dialog (related to different device...
Paul Davis [Wed, 11 Sep 2013 16:05:51 +0000 (12:05 -0400)]
remove unused members and code from EngineControl dialog (related to different devices for input+output)

10 years agomake quit work even when latency measurement is in progress
Paul Davis [Wed, 11 Sep 2013 14:06:02 +0000 (10:06 -0400)]
make quit work even when latency measurement is in progress

10 years agofix handling of new session
Paul Davis [Wed, 11 Sep 2013 13:59:56 +0000 (09:59 -0400)]
fix handling of new session

defer save state till after everything done in post_engine_init() is complete.

10 years agomore tweaks to latency measurement
Paul Davis [Wed, 11 Sep 2013 03:25:15 +0000 (23:25 -0400)]
more tweaks to latency measurement

don't open ports till absolutely necessary (store names for future use).

tidy up parts of the dialog (tab)

10 years agobasic functionality for hardware latency measurement
Paul Davis [Wed, 11 Sep 2013 02:58:33 +0000 (22:58 -0400)]
basic functionality for hardware latency measurement

10 years agomany changes relating to session construction and audioengine interaction
Paul Davis [Tue, 10 Sep 2013 19:41:19 +0000 (15:41 -0400)]
many changes relating to session construction and audioengine interaction

every session member is now initialized using C++ constructor syntax

session construction reordered to clarify the split(s) between work
where the engine is not relevant and work where is it is. this
split is still not 100% obvious, but is enormously clearer than
previously.

if engine/backend are not running as session is created, and the SR
of the sample rate is known, attempt to force backend to that value.

10 years agonew generic MIDI binding map for Novation Impulse 61 from Alexandre Prokoudine
Paul Davis [Tue, 10 Sep 2013 12:51:06 +0000 (08:51 -0400)]
new generic MIDI binding map for Novation Impulse 61 from Alexandre Prokoudine

10 years agostart reordering of Session initialization
Paul Davis [Tue, 10 Sep 2013 02:40:54 +0000 (22:40 -0400)]
start reordering of Session initialization

the goal is to allow a clear demarcation of where we need
the audioengine and have existing data parameters (e.g. sample rate)
for the session so that we can coerce the engine (if possible)
to match to session values.

also, to rationalize construction even more and use C++
constructor syntax as much as possible.

10 years agofix name of control app for Delta1010
Paul Davis [Tue, 10 Sep 2013 01:35:47 +0000 (21:35 -0400)]
fix name of control app for Delta1010

10 years agomove control app launching back into audio backend to allow ASIO/CoreAudio model...
Paul Davis [Tue, 10 Sep 2013 01:23:12 +0000 (21:23 -0400)]
move control app launching back into audio backend to allow ASIO/CoreAudio model to work; push initial state of AMS dialog to backend

Issues remain with the basic model of the AMS dialog - when is
newly chosen state pushed into the backend (which can then
modify the control app button sensitivity. This is a special
problem for this button because APIs like ASIO and CoreAudio
probably don't allow us to launch a control app for an arbitrary
device, but only one actually in use. In this sense it is
different from properties like available buffer size etc, where
we can typically query without actually using the device.

10 years agofix control app breakage
Paul Davis [Mon, 9 Sep 2013 22:06:44 +0000 (18:06 -0400)]
fix control app breakage

10 years agofix crash when unconditionally using null env var; tweak packing of control app button
Paul Davis [Mon, 9 Sep 2013 21:10:58 +0000 (17:10 -0400)]
fix crash when unconditionally using null env var; tweak packing of control app button

10 years agoadd envy24 control app name
Paul Davis [Mon, 9 Sep 2013 21:10:33 +0000 (17:10 -0400)]
add envy24 control app name

10 years agolaunching control app is now responsibility of ardour GUI, not audio backend; use...
Paul Davis [Mon, 9 Sep 2013 20:48:27 +0000 (16:48 -0400)]
launching control app is now responsibility of ardour GUI, not audio backend; use ARDOUR_DEVICE_CONTROL_APP if set in the environment

10 years agoinitial work on adding access to h/w control apps when ardour starts JACK
Paul Davis [Mon, 9 Sep 2013 19:17:29 +0000 (15:17 -0400)]
initial work on adding access to h/w control apps when ardour starts JACK

10 years agoadd can_change_{sample_rate,buffer_size}_while_running() methods to an AudioBackend
Paul Davis [Mon, 9 Sep 2013 17:27:48 +0000 (13:27 -0400)]
add can_change_{sample_rate,buffer_size}_while_running() methods to an AudioBackend

Allows the GUI and other stuff to know whether or not changing the SR/bufsize is possible while running, which is about to become useful

10 years agomove engine dialog from a widget to an actual dialog; emit Session::AudioEngineSetupR...
Paul Davis [Mon, 9 Sep 2013 17:17:53 +0000 (13:17 -0400)]
move engine dialog from a widget to an actual dialog; emit Session::AudioEngineSetupRequired when loading a session if it is necessary

10 years agohide tick-marks on narrow mixer-meters
Robin Gareus [Mon, 9 Sep 2013 17:33:30 +0000 (19:33 +0200)]
hide tick-marks on narrow mixer-meters

10 years agowiden narrow mixer-meters,hide metric display instead
Robin Gareus [Mon, 9 Sep 2013 16:31:50 +0000 (18:31 +0200)]
widen narrow mixer-meters,hide metric display instead

10 years agometerbridge: don't display metrics of invisible tracks
Robin Gareus [Mon, 9 Sep 2013 15:32:04 +0000 (17:32 +0200)]
meterbridge: don't display metrics of invisible tracks

10 years agovtl: update to ffmpeg v1.2.1 [lib]x264 option.
Robin Gareus [Sun, 8 Sep 2013 16:26:02 +0000 (18:26 +0200)]
vtl: update to ffmpeg v1.2.1 [lib]x264 option.

10 years agomove inadvertently moved jack_slave.cc back to its rightful spot
Paul Davis [Sat, 7 Sep 2013 17:39:36 +0000 (13:39 -0400)]
move inadvertently moved jack_slave.cc back to its rightful spot

10 years agoother changes for separated jack backend
Paul Davis [Sat, 7 Sep 2013 15:13:07 +0000 (11:13 -0400)]
other changes for separated jack backend

10 years agomove JACK audio backend to its own folder and adjust build system to reflect that...
Paul Davis [Sat, 7 Sep 2013 15:03:57 +0000 (11:03 -0400)]
move JACK audio backend to its own folder and adjust build system to reflect that (installed version may now work)

10 years agoadd input/output channel counts and reorganize table somewhat
Paul Davis [Sat, 7 Sep 2013 01:00:01 +0000 (21:00 -0400)]
add input/output channel counts and reorganize table somewhat

10 years agoadd support in JACK backend for specifying number of input and output channels to use
Paul Davis [Fri, 6 Sep 2013 21:21:23 +0000 (17:21 -0400)]
add support in JACK backend for specifying number of input and output channels to use

10 years agosave/restore I/O latency values in audio/midi setup
Paul Davis [Fri, 6 Sep 2013 20:43:02 +0000 (16:43 -0400)]
save/restore I/O latency values in audio/midi setup

10 years agofix merge conflicts with audioengine
Paul Davis [Fri, 6 Sep 2013 17:39:26 +0000 (13:39 -0400)]
fix merge conflicts with audioengine

10 years agofix JACK backend setup so that we know about graph, port changes etc.
Paul Davis [Fri, 6 Sep 2013 17:06:44 +0000 (13:06 -0400)]
fix JACK backend setup so that we know about graph, port changes etc.

10 years agotighten up error handling a little bit during various setup functions for Mackie...
Paul Davis [Fri, 6 Sep 2013 14:39:14 +0000 (10:39 -0400)]
tighten up error handling a little bit during various setup functions for Mackie Control

10 years agoexit early from AsyncMIDIPort::drain() if it will never be used in a process callback...
Paul Davis [Fri, 6 Sep 2013 14:38:49 +0000 (10:38 -0400)]
exit early from AsyncMIDIPort::drain() if it will never be used in a process callback again

10 years agofix a problem creating and displaying connected status for ports not owned by ardour...
Paul Davis [Fri, 6 Sep 2013 01:39:43 +0000 (21:39 -0400)]
fix a problem creating and displaying connected status for ports not owned by ardour (e.g. system:....)

This was caused by using jack_port_get_connections() which will
not return the correct status for ports owned by another JACK
client. Because of the potential for deadlock by calling
jack_port_get_all_connections(), an extra argument was added
to several PortEngine:: API calls to specify whether the call
is in a process-callback context, which defaults to true.

The only place where false is passed is within the GlobalPortMatrix
when we need to determine whether two non-ardour ports are
connected.

10 years agoalways save/keep audio/MIDI setup states so that they are available for use *after...
Paul Davis [Thu, 5 Sep 2013 18:21:25 +0000 (14:21 -0400)]
always save/keep audio/MIDI setup states so that they are available for use *after* instances where JACK was already running

10 years agomove MidiPortManager from AudioEngine to Session
Paul Davis [Thu, 5 Sep 2013 17:22:34 +0000 (13:22 -0400)]
move MidiPortManager from AudioEngine to Session

This makes the responsibilities and ownership of non-Route related MIDI ports
more clear, and removes a few wierd bits of code. It also ensures that open/close/open
on the same session will retain connections for those MIDI ports

10 years agoshorten tab labels on audio/midi setup notebook
Paul Davis [Thu, 5 Sep 2013 17:21:13 +0000 (13:21 -0400)]
shorten tab labels on audio/midi setup notebook

10 years agosave and restore the selected engine state at startup
Paul Davis [Thu, 5 Sep 2013 02:58:56 +0000 (22:58 -0400)]
save and restore the selected engine state at startup

10 years agofix up restoration of saved state from disk, still incomplete
Paul Davis [Thu, 5 Sep 2013 02:22:18 +0000 (22:22 -0400)]
fix up restoration of saved state from disk, still incomplete

10 years agosave and restore audio/MIDI setup states to disk (in ardour.rc)
Paul Davis [Wed, 4 Sep 2013 23:34:43 +0000 (19:34 -0400)]
save and restore audio/MIDI setup states to disk (in ardour.rc)

Not finished because the buffer size value will not always stick during restore

10 years agosave and restore settings for different backend/driver/device combinations
Paul Davis [Wed, 4 Sep 2013 19:45:54 +0000 (15:45 -0400)]
save and restore settings for different backend/driver/device combinations

So far, this is only internal - never saved to disk

10 years agochange names of actions groups that include "jack"
Paul Davis [Wed, 4 Sep 2013 16:49:52 +0000 (12:49 -0400)]
change names of actions groups that include "jack"

10 years agorename interface_ stuff in the engine dialog to device_, since that feels a bit clear...
Paul Davis [Wed, 4 Sep 2013 16:37:44 +0000 (12:37 -0400)]
rename interface_ stuff in the engine dialog to device_, since that feels a bit clearer terminology

10 years agosquash another compiler warning
Robin Gareus [Tue, 3 Sep 2013 23:37:15 +0000 (01:37 +0200)]
squash another compiler warning

10 years agovtl: fix small issue with video source file on export
Robin Gareus [Tue, 3 Sep 2013 23:36:46 +0000 (01:36 +0200)]
vtl: fix small issue with video source file on export

10 years agoMerge branch 'master' into audioengine
Paul Davis [Tue, 3 Sep 2013 21:41:49 +0000 (17:41 -0400)]
Merge branch 'master' into audioengine

10 years agobump to 3.4 3.4
Paul Davis [Tue, 3 Sep 2013 13:08:18 +0000 (09:08 -0400)]
bump to 3.4

10 years agofix error introduced during recent changes to Mackie control support, involving ambig...
Paul Davis [Tue, 3 Sep 2013 12:48:11 +0000 (08:48 -0400)]
fix error introduced during recent changes to Mackie control support, involving ambiguous enum usage

10 years agoupdated .po files from waf i18n, plus an updated gtk2_ardour/de.po from Edgar Aichinger
Paul Davis [Tue, 3 Sep 2013 12:00:58 +0000 (08:00 -0400)]
updated .po files from waf i18n, plus an updated gtk2_ardour/de.po from Edgar Aichinger

10 years agoRevert "bump to 3.4"
Paul Davis [Tue, 3 Sep 2013 11:59:59 +0000 (07:59 -0400)]
Revert "bump to 3.4"

This reverts commit ad7ab8f09afe1eac025a6da87a45c83ada15544d.

10 years agorevert to --backtrace enabled by default, since the original goal of this change...
Paul Davis [Tue, 3 Sep 2013 02:10:51 +0000 (22:10 -0400)]
revert to --backtrace enabled by default, since the original goal of this change was addressed in other ways

10 years agobump to 3.4
Paul Davis [Tue, 3 Sep 2013 01:57:30 +0000 (21:57 -0400)]
bump to 3.4

10 years agoadd std:: to clarify use of llabs on OS X
Paul Davis [Mon, 2 Sep 2013 21:43:55 +0000 (17:43 -0400)]
add std:: to clarify use of llabs on OS X

10 years agoLV2 extUI handling - amend to previous commit.
Robin Gareus [Mon, 2 Sep 2013 14:57:46 +0000 (16:57 +0200)]
LV2 extUI handling - amend to previous commit.

10 years agoLV2 external UI handling - revert to <= 3.3. behaviour
Robin Gareus [Mon, 2 Sep 2013 14:21:12 +0000 (16:21 +0200)]
LV2 external UI handling - revert to <= 3.3. behaviour

Don't ever clean up external UI plugins that use the LV2plug.in URI.
only free the memory of the last instance when the plugin is removed
or ardour closes.

10 years agoimprove scroll and drag behaviour of volume-controller knob
Robin Gareus [Sun, 1 Sep 2013 01:19:13 +0000 (03:19 +0200)]
improve scroll and drag behaviour of volume-controller knob

10 years agofix keyboard interaction with volume knobs (monitor section)
Robin Gareus [Sat, 31 Aug 2013 18:37:02 +0000 (20:37 +0200)]
fix keyboard interaction with volume knobs (monitor section)

10 years agofix typo in IEC-meter 'weird-float' protection.
Robin Gareus [Thu, 29 Aug 2013 16:46:03 +0000 (18:46 +0200)]
fix typo in IEC-meter 'weird-float' protection.

10 years agoprotect meters against weird float values
Robin Gareus [Thu, 29 Aug 2013 15:36:52 +0000 (17:36 +0200)]
protect meters against weird float values

10 years agoupdate external plugin UI handling
Robin Gareus [Thu, 29 Aug 2013 11:05:11 +0000 (13:05 +0200)]
update external plugin UI handling

amend to 4cdb018 and 1d972d0

override ui_closed() behavior for lv2ui:external
Keep UI around and do not re-instantiate, but simply show it again.
(this is against the original specs but was agreed upon by various
authors and the previous behavior or Ardour.)

kx:external-ui are cleaned up after ui_closed().

10 years agofix vari-speed phase (when used for calculation only)
Robin Gareus [Tue, 27 Aug 2013 18:55:15 +0000 (20:55 +0200)]
fix vari-speed phase (when used for calculation only)

and clarify an old comment.

10 years agoadd LV2 support for kx:external-ui#
Robin Gareus [Sun, 25 Aug 2013 14:20:27 +0000 (16:20 +0200)]
add LV2 support for kx:external-ui#

the ABI of http://kxstudio.sf.net/ns/lv2ext/external-ui# is identical to
http://lv2plug.in/ns/extensions/ui#external
It just adds a distinction between #Host and #Widget for cosmetic reasons.
Sadly some newer plugins are released with only support for kxstudio URI :(

10 years agofree memory of external plugins on GUI close (major mem leak).
Robin Gareus [Sun, 25 Aug 2013 13:54:43 +0000 (15:54 +0200)]
free memory of external plugins on GUI close (major mem leak).

There is at least one known plugin that has a problem with this
(custom thread race condition) but it also crashes in other hosts:
http://www.drumgizmo.org/wiki/doku.php?id=bugs&do=showcaselink&showid=8&project=drumgizmo

tested to be working with various nedko, falktx and x42 plugins

10 years agopot/po file updates caused by waf i18n
Paul Davis [Sat, 24 Aug 2013 15:46:36 +0000 (11:46 -0400)]
pot/po file updates caused by waf i18n

10 years agofix confusion about whether flip_mode in the Mackie support code is a bool or an...
Paul Davis [Sat, 24 Aug 2013 15:45:31 +0000 (11:45 -0400)]
fix confusion about whether flip_mode in the Mackie support code is a bool or an enum

10 years agoexport: add support for CAF
Tim Blechmann [Sat, 24 Aug 2013 12:23:25 +0000 (14:23 +0200)]
export: add support for CAF

10 years agodon't run meter in import-dialog if the dialog is not visible
Robin Gareus [Fri, 23 Aug 2013 19:26:02 +0000 (21:26 +0200)]
don't run meter in import-dialog if the dialog is not visible

10 years agoundo the hiding of SR-dependent LV2 ports
Paul Davis [Thu, 22 Aug 2013 21:46:19 +0000 (17:46 -0400)]
undo the hiding of SR-dependent LV2 ports

10 years agoupdate czech translations from pavel fric, part 2
Paul Davis [Thu, 15 Aug 2013 18:55:57 +0000 (14:55 -0400)]
update czech translations from pavel fric, part 2

10 years agoupdate czech translations from pavel fric
Paul Davis [Thu, 15 Aug 2013 18:55:10 +0000 (14:55 -0400)]
update czech translations from pavel fric

10 years agofix newly-appearing crash-at-close caused by muddled thinking in pbd/pthread_utils
Paul Davis [Thu, 15 Aug 2013 15:44:47 +0000 (11:44 -0400)]
fix newly-appearing crash-at-close caused by muddled thinking in pbd/pthread_utils

threads created with this code can now just return a value as they normally would, and the
infrastructure will ensure cleanup. there is no longer any reason to call pthread_exit_pbd()
and so that has been removed.

10 years agocheck master sources when determining whether a region uses a source. should fix...
Paul Davis [Thu, 15 Aug 2013 15:43:37 +0000 (11:43 -0400)]
check master sources when determining whether a region uses a source. should fix #5618

10 years agofix merge issues with master
Paul Davis [Wed, 14 Aug 2013 17:10:59 +0000 (13:10 -0400)]
fix merge issues with master

10 years agoremove misleading + incorrect documentation
Paul Davis [Wed, 14 Aug 2013 16:44:48 +0000 (12:44 -0400)]
remove misleading + incorrect documentation

10 years agosome const_cast<> additions for OS X where gcc believes that volatile int* means...
Paul Davis [Wed, 14 Aug 2013 16:40:49 +0000 (12:40 -0400)]
some const_cast<> additions for OS X where gcc believes that volatile int* means const int*

10 years agoremove JACK midi system stuff from jack_utils, because we're not going to use it...
Paul Davis [Wed, 14 Aug 2013 16:40:10 +0000 (12:40 -0400)]
remove JACK midi system stuff from jack_utils, because we're not going to use it (for a while, at least)

10 years agoprovide clock_gettime() implementation for lovely OSX, which doesn't have it
Paul Davis [Wed, 14 Aug 2013 16:39:34 +0000 (12:39 -0400)]
provide clock_gettime() implementation for lovely OSX, which doesn't have it

10 years agodon't bother with old MIDI port data in ardour.rc
Paul Davis [Wed, 14 Aug 2013 02:06:31 +0000 (22:06 -0400)]
don't bother with old MIDI port data in ardour.rc

result: we lose connections to global MIDI ports in older sessions. may fix this in the future

10 years agosave and restore all ardour-owned MIDI ports
Paul Davis [Wed, 14 Aug 2013 01:59:05 +0000 (21:59 -0400)]
save and restore all ardour-owned MIDI ports

still need to check on MCU port status

10 years agore-enable MIDI tracing for ARDOUR::MidiPort
Paul Davis [Tue, 13 Aug 2013 17:24:05 +0000 (13:24 -0400)]
re-enable MIDI tracing for ARDOUR::MidiPort

10 years agofixes to get MTC (and probably MIDI clock) slaving working again
Paul Davis [Tue, 13 Aug 2013 16:53:28 +0000 (12:53 -0400)]
fixes to get MTC (and probably MIDI clock) slaving working again

incoming MIDI data has to be parsed EVERY process cycle, not just when Slave::speed_and_position() is called.
The private MIDI::Parser owned by the MTC and MClck slaves was irrelevant, since the port has its own.
See comments in midi_port.h on the strangled inheritance heirarchy.

10 years agoMove curve test file handling in main() until after ARDOUR::init is called
Tim Mayberry [Sat, 10 Aug 2013 02:08:45 +0000 (12:08 +1000)]
Move curve test file handling in main() until after ARDOUR::init is called

This means it doesn't need to call PBD::ID::init directly, which it now
shouldn't be doing

10 years agoRemove call to PBD::ID::init as it is now done via ARDOUR::init
Tim Mayberry [Sat, 10 Aug 2013 02:07:39 +0000 (12:07 +1000)]
Remove call to PBD::ID::init as it is now done via ARDOUR::init

10 years agoCall setup_libpbd_enums in PBD::init for portability
Tim Mayberry [Fri, 26 Jul 2013 02:04:40 +0000 (12:04 +1000)]
Call setup_libpbd_enums in PBD::init for portability

10 years agoCall Gio::init from PBD::init instead of ARDOUR::init
Tim Mayberry [Fri, 9 Aug 2013 12:13:50 +0000 (22:13 +1000)]
Call Gio::init from PBD::init instead of ARDOUR::init

PBD needs Gio for PBD::copy_file and perhaps others

10 years agoCall PBD::init in ARDOUR::init and PBD::cleanup in ARDOUR::cleanup
Tim Mayberry [Fri, 9 Aug 2013 12:11:44 +0000 (22:11 +1000)]
Call PBD::init in ARDOUR::init and PBD::cleanup in ARDOUR::cleanup

10 years agoAdd PBD::init and PBD::cleanup
Tim Mayberry [Fri, 9 Aug 2013 12:03:39 +0000 (22:03 +1000)]
Add PBD::init and PBD::cleanup

A bit of refactoring to move initialization of libpbd into libpbd
rather than rely on "client" code(ui,libardour,tests etc) to do it

10 years agoMove initialization of libardour from ARDOUR_UI class into main()
Tim Mayberry [Fri, 9 Aug 2013 11:47:16 +0000 (21:47 +1000)]
Move initialization of libardour from ARDOUR_UI class into main()

10 years agoPrevent libardour from being initialized more than once
Tim Mayberry [Thu, 25 Jul 2013 11:38:59 +0000 (21:38 +1000)]
Prevent libardour from being initialized more than once

This is not thread safe of course, it is not intended to be.

This was implemented as at one stage ARDOUR::init was being called multiple
times in the testsuite which was causing a subtle bug that took some
time to track down.