Commit graph

7604 commits

Author SHA1 Message Date
GZharun
0aee0aab3e [Summary] Added HDD buffering drop down to the tracks control panel and connected required functionality to it. 2015-01-27 15:04:58 +02:00
YPozdnyakov
8d45456007 [Summary]: remove unused declarations 2015-01-27 13:56:22 +02:00
YPozdnyakov
d048d3fbba [Summary]: on OS X, do not require additional click to activate the SessionDialog [Suggested by Paul Davis] 2015-01-27 13:51:41 +02:00
YPozdnyakov
006c1d2104 [Summary]: fix declaration of Cocoa NSApplicationDelegate methods [Reviewed by] Paul Davis 2015-01-27 13:47:47 +02:00
Greg Zharun
ac2cb8d1d3 [Summary] Added abort () call instead of exit () if fatal error occurs to catch a back trace. 2015-01-27 12:04:11 +02:00
GZharun
71b44e9308 [Summary] HOT FIX: the returned value should be 65536 samples, which is an equivalent to 262144 bytes
[Reviewed by] Paul Davis
2015-01-27 10:45:25 +02:00
Paul Davis
1a71eedea0 Revert "make application active immediately, without requiring click"
This reverts commit 90399c80e6.

Will likely be applied separately by someone else.
2015-01-26 15:55:50 -05:00
Paul Davis
f808e772bc fix timing of Butler mapping config parameters to avoid crash.
Amazing that this didn't show up on Linux at all, or on the first run after build. Computers ... sigh.
2015-01-26 15:54:29 -05:00
Paul Davis
90399c80e6 make application active immediately, without requiring click 2015-01-26 15:15:14 -05:00
Paul Davis
92c8b8fae9 introduce the idea of buffering presets, along with 3 possible settings (plus custom).
Actual numbers for the parameters are still to be determined/verified, and probably subject to
some platform specificity.
2015-01-26 15:13:48 -05:00
GZharun
f76ae60204 [Summary] HOT FIX to the issue provoked by this commit: f8996e50c6
[Details] New read chunks exceed ring buffers capacity. When there is an attempt to playback we get error message.
2015-01-26 13:02:50 +02:00
GZharun
8e76cb5153 [Summary] Fixed crash with an attempt to remove loop marker and place playhead on any place under it
[Reviewed by] Paul Davis
[Reviewed by QA] MKosharniy
2015-01-26 10:44:48 +02:00
Paul Davis
83cbcd41aa replace all uses of POSIX locale with C locale - Windows does not support POSIX locale 2015-01-24 19:50:28 -05:00
Paul Davis
1ec29e4d97 make butler thread merely ask for session state save, not actually do the save itself.
This prevents the possibility of cross-thread calls in the GUI when it adds its state
to the session via extra XML
2015-01-24 19:32:39 -05:00
Paul Davis
8ca0573a5c Add a new signal (not yet used) to initiate session saves; alter signal name for existing signal used to allow other objects to add XML state to session
Conflicts:
	gtk2_ardour/video_timeline.cc
2015-01-24 19:31:50 -05:00
Paul Davis
05a5bcc84c ScrollGroup::covers_{window,canvas}() need to account for possible non-zero position of the group.
They also do NOT need to consider scroll offset
2015-01-24 18:13:56 -05:00
Paul Davis
7356ff6ab5 ScrollGroups are kept in their own list, so ::window_to_canvas() does not need to inspect root group children to find them 2015-01-24 18:13:56 -05:00
Paul Davis
f8996e50c6 split apart read and write chunk size and offer platform-dependent sizes for reading. Write chunk size should remain unchanged from before.
Conflicts:
	libs/ardour/diskstream.cc
	libs/ardour/midi_diskstream.cc
2015-01-24 10:43:30 -05:00
Nikolay
0655bd6d9a [Summary] Apply Solo, Exclusive Solo, Momentary Solo and Solo isolated to all selected tracks
[Feature reviewed] MKosharnyy
[Reviewed] GZharun
2015-01-21 18:25:28 +02:00
GZharun
7c27aa375e [Summary] Region changes will make session dirty 2015-01-21 13:37:51 +02:00
GZharun
e56a5a2d8d [Summary] Adding routes won't save session anymore, but will leave it dirty 2015-01-20 17:40:48 +02:00
GZharun
c25e35f2d4 [Summary] Fixed several issues which made session dirty when it's just loaded or created from scratch 2015-01-20 16:25:26 +02:00
GZharun
b76231f0de [Summary] Added files to Tracks Xcode project 2015-01-20 13:58:54 +02:00
GZharun
3087be2c8a [Summary] Marker changes will make session dirty 2015-01-20 13:58:23 +02:00
Paul Davis
0bab5cffe4 fix up a few mistakes during merging playhead priority changes from Ardour 2015-01-17 17:25:35 -05:00
Paul Davis
cd61673238 Fix range "arithmetic"
Subtracting anything from an empty range should return an empty range, not an assert() failure

Conflicts:
	libs/evoral/evoral/Range.hpp
2015-01-17 17:25:11 -05:00
Paul Davis
b0ae06cba3 follow various events related to playhead priority (loop changes, parameter changes); remove debug output 2015-01-17 16:50:57 -05:00
Paul Davis
fbfa4283b9 initial version of playback priority design. No GUI control over options yet
Conflicts:
	gtk2_ardour/editor_selection.cc
	libs/ardour/ardour/rc_configuration_vars.h
	libs/ardour/ardour/types.h
	libs/ardour/enums.cc
2015-01-17 16:46:51 -05:00
Paul Davis
993c020286 fix name of client given to audioengine backend (shows up with JACK) 2015-01-15 13:59:02 -05:00
Paul Davis
5b621d03d1 set failure message if new session folder cannot be created for any reason during save-as 2015-01-15 09:31:57 -05:00
GZharun
91dfada2d0 [Summary] Added export cleanup
[Reviewed by] Andriy Mishyn
2015-01-15 13:47:06 +02:00
Paul Davis
86bb687534 get Session::save_as() working much more correctly, and cleaner 2015-01-14 18:03:59 -05:00
Paul Davis
c9b93aa6ac first working version of save-as
Conflicts:
	gtk2_ardour/ardour_ui.cc
	libs/ardour/session_state.cc
2015-01-14 18:03:44 -05:00
Paul Davis
f699982c1b add initial code (and stubs) for save-as related functionality 2015-01-14 17:59:41 -05:00
GZharun
5d8821a1bd [Summary] Vector of routes within the selection on which gain value is not supposed to be changed. Made it const ref. 2015-01-14 01:54:34 +02:00
VKamyshniy
ecdd95707b [Summary] Bug Fix: track name pattern contained a space not supposed. 2015-01-13 15:59:17 +02:00
GZharun
4ff012fd60 [Summary] Fader on selected tracks use cases:
1. When fader is dragged faders on other selected tracks will move relatively.
2. When value is changed in gain display (from keyboard) on any of the selected tracks - values on all selected tracks will be updated.
3. When fader on on of the selected tracks is pressed with Alt (set to default), default values will be set on all selected track faders.

[Reviewed by QA] Andrii Mishyn
2015-01-13 15:43:25 +02:00
GZharun
536395037b [Summary] Do not change selection by Fader press (requested by Igor) 2015-01-13 15:43:25 +02:00
Nikolay
c9426440e1 [Summary] Changed in Preferences on Igor's request 2015-01-12 14:08:46 +02:00
Nikolay
4b14651a10 [Summary] Changed Playback and Recording buffers to 10 on PM's request
[Reviewed] YPozdnyakov
2015-01-12 13:44:41 +02:00
GZharun
5f6020efad [Summary] Removed master track 2015-01-12 10:32:12 +02:00
GZharun
896961b411 [Summary] The same as previous reverted commit but with more correct and full description:
Fixed two bugs. Not specified in TT.

1.Ranges which coincided with region borders (achieved by the context menu commands like Move Range Start/End ... ) used to cut a small byte of region which border coincided.

2. If you cover region with a range which start coincides with region's start and ends coincides as well when you drag such range it does cut the whole region, but it does not remove it. Process similar to "copy" accures when "cut" operation is expected.
2015-01-09 10:49:42 +02:00
GZharun
886bebe342 Revert "[Summary] Fixed bug. Not specified in TT. Ranges which coincided with region borders (achieved by the context menu commands like Move Range Start/End ... ) used to cut a small byte of region which border coincided."
This reverts commit 3b4d7ef1b4.
2015-01-09 10:45:53 +02:00
GZharun
3b4d7ef1b4 [Summary] Fixed bug. Not specified in TT. Ranges which coincided with region borders (achieved by the context menu commands like Move Range Start/End ... ) used to cut a small byte of region which border coincided. 2015-01-09 10:36:18 +02:00
Greg Zharun
31a9cefa57 [Summary] This part of code worker incorrectly on Windows:
atof() on Windows expects "," (comma) as float delimeter and ignores "." (dot). So on windows atof("0.1") would return 0.
Unlike MAC.

Proposed fix should work on all platforms.
2015-01-08 15:39:58 +02:00
Paul Davis
9295766f94 do not connect to per-track record-enabled signals to update session rec-enable state.
For mass/global rec-enables, that generates excessive iterations across the entire route list.
Instead, catch the change after a request to the session to change rec-enable state.

NOTE: there are still at least two methods for a user to bypass the session when rec-enabling
a track. One is via the Track::rec_enable_control(), the other is an OSC command or similar. These
both need to be fixed to go via the session mechanism.
2014-12-29 17:31:50 -05:00
VKamyshniy
bed1db35fd [Summary] Making gain inactive for MULTI-OUT and active for STEREO out 2014-12-29 23:56:30 +02:00
GZharun
8db6861fa2 [Summary] Implemented waveform zoom. Added feature to save waveform zoom state with the session. 2014-12-27 00:56:21 +02:00
Nikolay
cc3305a79c [Summary] Updated copyright message 2014-12-26 14:17:48 +02:00
Nikolay
e796343e00 [Summary] Bug fix. Do not unmute track on Solo deactivation.
[Reviewed] GZharun
2014-12-26 13:36:40 +02:00