13
0
Commit Graph

17490 Commits

Author SHA1 Message Date
ee77a7a883 Use AudioBackend::get_standard_device_name for "None" midi device in PortaudioBackend 2015-09-02 12:07:14 +10:00
94f3e3029a Add enums to AudioBackend class for getting standard error and device name strings
These could also be used for return values but are initially intended for
shared translations of error messages between backends. Ideally IMO translation
should occur in the GUI(as there may be more than one) in response to these(or
similar) error codes but that would take agreement and a fair bit of
refactoring. As it is there are errors that occur in the backends that users
will want to know about this at least allows consistent translations to be
shared between backends.
2015-09-02 12:07:14 +10:00
451e35002c Use pretty name infrastructure to display MIDI device name 2015-09-02 12:07:14 +10:00
c6d6f038b4 handle waveform drawing thread shutdown 2015-09-02 01:46:31 +02:00
dc831e4d8b refine "recent" column headers 2015-09-01 23:17:38 +02:00
d467165927 Display column headers for "recent session"
Avoid confusion regarding "32bit"
2015-09-01 21:05:00 +02:00
e10e9ca77f handle GUIs of missing or disabled plugins 2015-09-01 13:28:33 +02:00
0370b1988d add option to disable or bypass plugins 2015-09-01 13:27:48 +02:00
531e71b485 Prepare option to disable Plugins completely
old behavior to only bypassed plugins is being renamed.
2015-09-01 13:26:31 +02:00
a1b387ad9a fix AU port count - NI Reaktor5 2015-09-01 12:45:59 +02:00
dca0e6fbe2 fix crash with missing .mid
assert in ARDOUR::MidiRegion::control() boost::shared_ptr<ARDOUR::MidiModel>::operator-> invalid ptr.
see http://pastebin.com/dTV10Zu6
2015-08-28 18:48:40 +02:00
b0147a7767 fix possible deadlock on session-close 2015-08-28 15:45:52 +02:00
b6f51b2497 coreaudio: re-classify port-errors as warnings 2015-08-28 15:41:33 +02:00
3a3d5c41be synchronous shutdown of process graph. 2015-08-28 15:39:06 +02:00
9458fce148 pre-seed session-state-version.
copying/paste of many objects use ::set_state(, version) to set the
the state of the copy.  Stateful::loading_state_version is used for
state-version in those cases.

This fails for a New Session (version==0) or when creating a New Session
after loading an Ardour2 session.
2015-08-28 14:08:32 +02:00
20fb2bec75 Don't truncate pretty port names when setting up port bundles
This was causing truncation in the mixer strip input/output popup menus and the
channel number identifier was truncated
2015-08-28 10:43:17 +10:00
f1fab06862 fix midi note de-select #6534 2015-08-28 02:25:48 +02:00
Mathias Buhr
83c5750f0b Fixes a double mutex unlock for Linux VSTs 2015-08-27 23:53:45 +02:00
43f3c0e0f2 clean-up previous commit 2015-08-27 10:13:35 -05:00
c734f82ff2 use program-name for internal ports 2015-08-27 16:50:09 +02:00
e2902a0b76 clarify midi-iterator comment 2015-08-27 14:43:28 +02:00
b3e9231a4e fix initial transform dialog display (override show_all) 2015-08-27 14:28:01 +02:00
ada32733c5 Modify some functions to alleviate overflow / precision errors
'session_frame_to_track_frame()' and its complement, 'track_frame_to_session_frame()' both accept a double and an ARDOUR::framepost_t (int64_t). For convenience these both get converted to long double. However, the functions are often called with very large values (ARDOUR::max_framepos). When this happens, rounding and precision errors can cause overflow issues. This is an attempt to alleviate that problem. Not sure if it's strictly necessary to accommodate negative values - but I'm assuming these could happen if 'speed' was negative (reverse play?)

This is the reason why 'Select All Objects' (and similar functionality) don't work for some users.
2015-08-27 12:28:45 +01:00
nick_m
1963c3ff10 Allow creation of region gain points by clicking on a line.
- Also fixes new AutomationLine points having huge offsets
	  on creation via line click (window vs canvas event sample).
2015-08-27 02:20:43 +10:00
1387e756de fix linked midi-regions on different tracks #6541
A somewhat hacky solution to address missing note-off events when a
linked midi-region is used on separate tracks at the same time.
see the source-code comment for further info.
2015-08-25 03:48:54 +02:00
53d51ac406 fix processor paste location - fixes #6536 2015-08-25 01:09:41 +02:00
f0db0f0862 Exclude empty CC-params from "Show Existing Automation" 2015-08-24 03:35:41 +02:00
cc9c38ce5e Do not send non-automated MIDI-CCs on locate.
If a "CC" automation lane was visible at least once, a Control Object
is created and henceforth saved with the session: 
   <Object id="automation TrackID TYPE" ../>
It is currently not possible to remove this object. (Automation > clear
will only zero all events, but not remove the Control itself.

The bug:
After showing a MIDI-CC lane at least once Events are sent for this CC.
If there is no corresponding value in the .mid, it will be zero after
session reload.

see also 7e2c8ac

Still ToDo: "Show existing automation" shows the lane even if there
are no values nor any automation at all for the given CC.
2015-08-24 02:42:31 +02:00
6129b3492d allow file-browser in generic-plugin-GUI to expand. 2015-08-24 00:29:54 +02:00
6cfceb8823 fix mixer-strip input button update 2015-08-23 19:50:04 +02:00
0fd9845957 more python2/3 compat 2015-08-23 00:00:19 +02:00
ea0e4a01ca Add MCP device files for extender use. 2015-08-22 08:19:51 -07:00
f1c21367f2 Fix auditioner underrun when seeking.
prevents "disk too slow" message when seeking in the auditioner.
2015-08-22 16:37:08 +02:00
2aee69d6d9 fix some compiler warnings (float/double) 2015-08-22 04:33:51 +02:00
ad4ae3df85 Add 100% shuttle controls option - closes #6537 2015-08-22 04:32:14 +02:00
88920232e9 support the young serpents 2015-08-21 16:35:21 +02:00
e69368cc8f clear out some SessionHandleRef's on close. 2015-08-20 22:27:35 +02:00
6b8b4bb986 potential fix for #6515 - stall/crash during route deletion
introduced in 4.1-78-g11e371c
2015-08-20 03:38:22 +02:00
63e3f326e9 clear waveform cache when shape changes - fixes #6525 2015-08-20 03:01:51 +02:00
aa3eb11fb3 fix typo in prev commit 2015-08-20 02:27:24 +02:00
89b0817f83 fix "locked" + "locked to video" bug.
previously if some audio region was locked and locked to video,
the audio-region always stayed put and the video could only be
moved forward.

TODO: add an "unlock all" option.
2015-08-20 02:24:27 +02:00
b8b6f61d6c save/load generic-midi motorized setting - fixes #5296 2015-08-20 00:19:32 +02:00
84845833c1 Add missing actions from MB2 for Mike:
Set-Loop-Start/End-From-Edit-Point
Set-Punch-Start/End-From-Edit-Point
2015-08-19 14:53:35 -05:00
11f51497f3 provisional processor control-box tweaks - possible fix for #6519
ControlBoxes are created/destroyed regularly (plugin re-order,
track selection -> Editor Mixer,...).

Properly disconnect the timer signal in the dtor and skip updateing the
tooltip unnecessarily (duplicate calls, Changed & Timer).

This should really be undone, the timer needs to be removed and Changed() used throughout.
2015-08-19 14:27:14 +02:00
bb79071038 Fix undo/redo when changing fade out length
This may fix bug #6518 or there may be more issues to be found
2015-08-19 13:56:12 +10:00
b4e13cbbb7 Add undo history related debug output for debugging Undo/Redo issues 2015-08-19 13:56:11 +10:00
463cf1cf9c Add PBD::DebugBit for debugging issues with undo history 2015-08-19 13:56:06 +10:00
f36f03fcb4 fix error-level 2015-08-19 04:09:22 +02:00
cf1ab3391f code consistency and hints for static analysis 2015-08-19 04:07:39 +02:00
a2fbce0e7f Change return type and name of get_win_special_folder
Rename it get_win_special_folder_path to indicate what it is returning

Move documentation for the function into the header and use doxygen style
comments.

Fixes a couple of memory leaks in ArdourVideoToolPaths class although it looks
as if there are more.
2015-08-18 15:33:03 +10:00