Commit Graph

11065 Commits

Author SHA1 Message Date
Paul Davis
82f0f3a9a7 fix up crash caused by changes in object creation order and setting the state of the click IO object 2013-10-02 16:17:22 -04:00
Paul Davis
c736d88a5f don't ping JACK server 4 times to see if it is already up when ardour starts 2013-09-25 22:56:28 -04:00
Paul Davis
d6274d5c3e fix up enum mess caused by switching from JACK to Engine as the name for jack-related transport sync
This will allow older versions of Ardour to continue to startup when the user sync preference is "JACK",
because the string used by enum_2_string() will still be "JACK".

Versions of ardour3 from git after the enum change until this commit will leave ardour.rc unloaded by old
versions of Ardour ***if*** the user sync choice was "JACK".
2013-09-25 18:24:32 -04:00
Paul Davis
e43a8dac1c make information extraction from session file options list robust against some old badly formatted session files
Fixes crash experienced by GillesM, where a rogue XML entry caused a segfault
2013-09-25 17:59:10 -04:00
Paul Davis
f5cd838afc start explicitly linking against libtimecode (this needs to happen elsewhere too) 2013-09-24 22:22:43 -04:00
Paul Davis
d0b67dce80 fix crash when cmdline provides session name 2013-09-24 22:22:16 -04:00
Paul Davis
2c9644320f tighten up layout of session dialog; make button say cancel or quit in difference scenarios 2013-09-23 23:13:07 -04:00
Paul Davis
f7b6a27de6 shrink small-splash.png image by 50% 2013-09-23 23:12:42 -04:00
Paul Davis
0f6ba422f6 use new Session API to show session SR and disk bit depth in recent sessions list 2013-09-23 21:36:13 -04:00
Paul Davis
4209e8a834 add new static functions to get SR and disk sample format from session XML 2013-09-23 21:35:51 -04:00
Paul Davis
cff174b541 move rate_as_string() from EngineControl to utils.cc 2013-09-23 21:35:17 -04:00
Paul Davis
884789bfad move announcements frame around in the session dialog and adjust spacing/borders 2013-09-23 16:49:24 -04:00
Paul Davis
b362ff220c major rearrangement of startup/session loading code
first-time user code remains in ArdourStartup
session selection/setup moved to SessionDialog
many other cleanups, logic improvements, and so forth to the overall session loading process.
Not 100% finished yet.
2013-09-23 14:41:52 -04:00
Paul Davis
c72748508b the output of git describe --tags is not subject to localization, so we do not need LANG= in the environment when it runs 2013-09-23 13:33:28 -04:00
Paul Davis
f1aa5839c0 use WindowManager/WMProxy to correctly manage the audio/MIDI setup window 2013-09-22 19:22:56 -04:00
Paul Davis
20f28c82ec make session creation from a template work again 2013-09-22 11:19:34 -04:00
Paul Davis
04d66a9e3a remove use-session-as-template option from new session dialog and fix ability to not use a template
Note: using a template is still not actually working ...
2013-09-21 13:56:59 -04:00
Paul Davis
e33b29d672 make sure the template selector has an item visible if there are any 2013-09-21 13:22:06 -04:00
Paul Davis
482a90cccf apply same always-check-display to recent sessions scroller in new session dialog
It turns out that we always create a new ArdourStartup right now, so this and the previous commit
are not actually necessary, but they do pave the way for keeping the dialog around instead
2013-09-21 13:14:33 -04:00
Paul Davis
2577bf55c9 reset the visibility of the template selector stuff every time the startup/NSD gets mapped, so that it is always current 2013-09-21 12:51:30 -04:00
Paul Davis
f7586f3a0d likely fix for creating new sessions from templates 2013-09-21 12:50:45 -04:00
Paul Davis
461f94a3a1 if new session button clicked, clear any selection in recent sessions and mark browser unused 2013-09-20 16:45:04 -04:00
Paul Davis
3e5c1e3fc1 Revert "actually load new state after creating a session."
This reverts commit 914ba475de.

Unclear why I applied this or what it was supposed to do. A new session has no
state.
2013-09-20 16:16:30 -04:00
Paul Davis
53bd17d938 move advanced new session options into an expander, change some wording 2013-09-20 16:05:54 -04:00
Paul Davis
eb3cc04eff Merge branch 'master' of https://github.com/nmains/ardour 2013-09-20 15:21:14 -04:00
Paul Davis
b188033bf7 rather hacky fix for the change of the SyncSource > JACK enum to SyncSource > Engine
This is needed in order to get ardour started if ardour.rc names "JACK" as the sync source
2013-09-20 14:30:50 -04:00
Paul Davis
bab9184f7c changes to integrate new/recent/browse in new session dialog.
Probably some errors/mistakes in here and no doubt some improvements to be done.
2013-09-20 14:17:59 -04:00
Paul Davis
960a47330a switch from JACK_Slave to Engine_Slave 2013-09-19 17:34:23 -04:00
Paul Davis
d2ca0665bf reallow changing bufsize AND sample rate when we are in control, because this is cool 2013-09-19 16:48:05 -04:00
Paul Davis
3f56abe099 missing initialization 2013-09-19 16:17:47 -04:00
Paul Davis
57d24608e7 show a different audio/MIDI option screen if JACK is already running. try to fix problem with using AudioBackend::<property-value>() functions before anything has been set. 2013-09-19 15:03:20 -04:00
Paul Davis
20fa19e69e more excision of "JACK" from labels, menu items, etc.
NOTE: users will lose the sample rate/latency display in the status bar display. Not yet sure what to do about this
2013-09-17 22:25:21 -04:00
Paul Davis
402d92889a minor code changes 2013-09-17 21:22:22 -04:00
Paul Davis
f51537b71d substantive changes to allow the audio/MIDI setup dialog to change settings as intended
So far only tested with JACK backend, but expected to be more correct for other backends too
2013-09-17 21:09:13 -04:00
Paul Davis
7eda429155 remove JACK related action definitions (audio/MIDI setup is where this happens now) 2013-09-17 21:07:44 -04:00
Paul Davis
c698ada035 change return type on {disconnect_from,reconnect_to}_engine() and make public so that we can use these when doing intentional disconnects without popping up the "HALTED" dialog 2013-09-17 21:07:14 -04:00
Paul Davis
b7c15bc9fd remove JACK related menu items (audio/MIDI setup is where this happens now) 2013-09-17 21:06:15 -04:00
nick_m
914ba475de actually load new state after creating a session. 2013-09-18 02:02:31 +10:00
Paul Davis
7381390565 add basic display of existing MIDI ports to audio/MIDI setup 2013-09-17 10:01:24 -04:00
Paul Davis
32452bb3b3 fix crash caused by trying to unregister null ports 2013-09-17 10:01:02 -04:00
Paul Davis
1740bbb966 correctly restore zoom focus state after restart (from nick mainsbridge) 2013-09-16 22:32:55 -04:00
Paul Davis
c8b32e2f8b minor fixups for audio/MIDI setup spin buttons (now editable, as they should be) 2013-09-16 22:03:59 -04:00
Paul Davis
61b98d3e9f check for an existing PublicEditor instance AFTER attempting to handle a key press in a window that has called relay_key_press(), so that normal key handling works there (e.g. audio/MIDI setup) 2013-09-16 22:03:27 -04:00
Paul Davis
710ee36eaa a few DEBUG_TRACE improvements 2013-09-16 22:02:36 -04:00
Paul Davis
cb31e34a5c end latency detection if AMS window closed while running detection (plus some non-functioning changes to try to get spinbutton text entry to work 2013-09-16 18:47:30 -04:00
Paul Davis
2a3dfb5e82 various bits of polish for the latency tab of audio/midi setup dialog 2013-09-16 15:21:32 -04:00
Paul Davis
39ee88b3f9 more session construction order changes, and removal of n_physical_{inputs,outputs} members which were (a) not initialized early enough (b) not used anywhere except monitor bus connection.
Things almost make sense now.
2013-09-16 12:08:19 -04:00
Paul Davis
ed61a9ebbd update buffer size duration (msecs) while displaying saved audio/MIDI setup state 2013-09-16 11:10:05 -04:00
Paul Davis
910755b51b fix missing initialization of two Session members, which fixes a crash during quit-without-finished-session 2013-09-16 10:23:37 -04:00
Paul Davis
4d503c2053 commit some logic problems with the EngineDialog when change the driver/device name combos 2013-09-16 10:18:25 -04:00