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
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
f1aa5839c0
use WindowManager/WMProxy to correctly manage the audio/MIDI setup window
2013-09-22 19:22:56 -04:00
20f28c82ec
make session creation from a template work again
2013-09-22 11:19:34 -04:00
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
e33b29d672
make sure the template selector has an item visible if there are any
2013-09-21 13:22:06 -04:00
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
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
f7586f3a0d
likely fix for creating new sessions from templates
2013-09-21 12:50:45 -04:00
461f94a3a1
if new session button clicked, clear any selection in recent sessions and mark browser unused
2013-09-20 16:45:04 -04:00
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
53bd17d938
move advanced new session options into an expander, change some wording
2013-09-20 16:05:54 -04:00
eb3cc04eff
Merge branch 'master' of https://github.com/nmains/ardour
2013-09-20 15:21:14 -04:00
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
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
960a47330a
switch from JACK_Slave to Engine_Slave
2013-09-19 17:34:23 -04:00
d2ca0665bf
reallow changing bufsize AND sample rate when we are in control, because this is cool
2013-09-19 16:48:05 -04:00
3f56abe099
missing initialization
2013-09-19 16:17:47 -04:00
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
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
402d92889a
minor code changes
2013-09-17 21:22:22 -04:00
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
7eda429155
remove JACK related action definitions (audio/MIDI setup is where this happens now)
2013-09-17 21:07:44 -04:00
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
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
7381390565
add basic display of existing MIDI ports to audio/MIDI setup
2013-09-17 10:01:24 -04:00
32452bb3b3
fix crash caused by trying to unregister null ports
2013-09-17 10:01:02 -04:00
1740bbb966
correctly restore zoom focus state after restart (from nick mainsbridge)
2013-09-16 22:32:55 -04:00
c8b32e2f8b
minor fixups for audio/MIDI setup spin buttons (now editable, as they should be)
2013-09-16 22:03:59 -04:00
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
710ee36eaa
a few DEBUG_TRACE improvements
2013-09-16 22:02:36 -04:00
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
2a3dfb5e82
various bits of polish for the latency tab of audio/midi setup dialog
2013-09-16 15:21:32 -04:00
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
ed61a9ebbd
update buffer size duration (msecs) while displaying saved audio/MIDI setup state
2013-09-16 11:10:05 -04:00
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
4d503c2053
commit some logic problems with the EngineDialog when change the driver/device name combos
2013-09-16 10:18:25 -04:00
7cc451d81d
fix language issue
2013-09-16 10:07:52 -04:00
7c8f3adc75
allow waf to handle inconsistent case where cwiid.h is present but not the pkg-config file
2013-09-16 10:07:27 -04:00
31157cb343
fix ordering in session construction so that new sessions and existing ones both work
2013-09-16 09:57:22 -04:00
bde50d5396
really fix build issues after removal of "using" directives
2013-09-14 16:34:08 -04:00
25b9e266eb
fix build issues after removal of "using" directives
2013-09-14 16:24:21 -04:00
f5191e6257
cerr output when JACK halt callback is executed
2013-09-14 16:18:17 -04:00
76a08ad9e9
fix return value from thread creation function when not connected to JACK
2013-09-14 16:17:49 -04:00
6b23417ae0
move creation of Graph till after we have the engine running, since we need access to the backend
2013-09-14 16:17:24 -04:00
daa31ccc23
Merge branch 'master--arm' of https://github.com/nphilipp/ardour
2013-09-13 12:58:29 -04:00
dce6b71e82
use visibility control on JACK audio backend, so that we can import this change into windows branch
2013-09-13 12:32:50 -04:00
83a826095d
update JACK backend to use new inheritance structure for AudioBackend
2013-09-13 11:21:43 -04:00
f9d08daa47
change inheritance so that an AudioBackend IS-A PortEngine
...
This allows a derived (concrete) implementation to share information (e.g. sample rate, buffer size)
between the audio backend side of things and the port management side of things.
2013-09-13 11:21:15 -04:00