13
0
Commit Graph

17612 Commits

Author SHA1 Message Date
bbfb53e881 RF64, RF64 (WAV) and MBWF native file header formats 2015-09-08 17:40:28 -04:00
f1c0f587ca new enums required for RF64 => RIFF and MBWF support 2015-09-08 17:40:28 -04:00
5f6d8aded3 configure time detection of a patch/feature of libsndfile not yet in release 2015-09-08 17:40:28 -04:00
Guy Sherman
045b878bd1 NOOP, whitespace only 2015-09-08 22:30:36 +02:00
Guy Sherman
036ebab8a0 Replaced broken code in recent_sessions.cc
The original broken code was intended to stop using ifstream
and ofstream to open files, but it used a very old MSVCism to
open streams from FILE*.

In the case for reading, this patch replaces that code by using
standard c file manipulation to read the data into a stringstream,
and then it uses the existing stream-based code to read from there.

Similarly the ofstream in the code for writing the recent files list
is replaced by a stringstream, and then a c-string is extracted
from it and written using standard c file manipulation.

Also tweaked a couple of typos from rgareus :)
2015-09-08 22:29:20 +02:00
929db238c9 fix prev. commit 2015-09-08 22:27:15 +02:00
2f1878a6f7 portable c-code for reading pingback/announcement message 2015-09-08 21:21:28 +02:00
dee324cc36 Use glib to open our 'recent file' list, rather than opening directly with ifstream / ofstream
(on Windows, ifstream & ofstream don't support UTF8)
2015-09-08 15:45:34 +01:00
d0fdcf2848 Use glib to open our 'announcements' file, rather than opening directly with ofstream
(on Windows, std::ofstream doesn't support UTF8)
2015-09-08 15:45:33 +01:00
d11b15fbca dummy, allow 8k buffer-size. 2015-09-08 15:14:02 +02:00
78f028b690 fix redeclaration of symbol 2015-09-08 12:49:24 +02:00
c315c6f140 Allow to override A/V-lock (when moving audio) 2015-09-08 02:51:58 +02:00
88f532ed6a Allow to override A/V-lock (when moving video) 2015-09-08 01:35:35 +02:00
b08fd6483c add OSX/objc valgrind suppression file 2015-09-07 15:43:20 +02:00
fcbf359dd6 properly clean up meter-pattern cache 2015-09-07 13:35:48 +02:00
c6e0c8430f image-surface/software rendering as preference 2015-09-07 13:35:11 +02:00
d6a5e6fc2e fix some more uninitialized vars 2015-09-07 00:00:44 +02:00
6ade16b38d Workaround to allow loading large sessions.
During session-load, ardour calls Route::SoloControllable::set_value() 
which calls Session::set_solo()  which in turn sends a session-rt event.

Along with other rt-events (locations,..) the current solo logic limits
Ardour to only load sessions with about >= 200 tracks.

now bumped to a few thousand tracks.. until a proper solution comes along.
2015-09-06 22:36:09 +02:00
1e404da10d libardour: initialize some uninitialized vars.. 2015-09-06 21:55:12 +02:00
fc079a0ea3 initialize some uninitialized variables.
really just nitpicking (keep valgrind clean).
2015-09-06 21:54:54 +02:00
ebe15849d4 gracefully handle LV2 GUI instantiation failure. 2015-09-06 19:32:13 +02:00
53cdc8046f catch duplicate shortcut folders. 2015-09-06 18:15:48 +02:00
2309bb2a7f Don't keep gtk-file-chooser around.
This fixes some odd-crashes in the gtk main-thread after loading a new
session in gtk_file_system_model_sort().
2015-09-06 18:15:13 +02:00
87d45542eb update region's constrained-name width with name 2015-09-06 16:45:48 +02:00
57321bef35 consistent pango-text layout size - fixes #6490
Use gdk_pango_layout() for all text-size calculations.
In Canvas::Text always use the same context (local image surface)
for layouting (prior to this, local and window-context mix resulted in 
different sizes).
2015-09-06 16:39:08 +02:00
787fe69ff8 highlight regions with pending peak-files 2015-09-06 12:58:54 +02:00
1aa4c62abe properly disconnect peak-ready connection 2015-09-06 12:56:50 +02:00
e161bc0596 fix peak-thread, GUI-thread race condition 2015-09-06 12:39:53 +02:00
ef3a42faed terminate peak-file creation on session-close 2015-09-06 11:49:47 +02:00
f5f11158aa another hint for clang static analysis. 2015-09-06 10:42:58 +02:00
788234e317 fix dummy-backend driver state
When loading previous state, set_driver() is called before
enumerate_drivers(). 
The available driver list must be available early on.
2015-09-06 10:42:29 +02:00
3fc5bf617a mode dummy speeds 2015-09-06 00:46:05 +02:00
4ef62a0d6d add dummy-backend speed-selection 2015-09-06 00:33:24 +02:00
7f00c70f9f create peak files in background when loading session 2015-09-05 23:28:34 +02:00
bea9bf5387 initialize private variable (unit-test) 2015-09-05 19:16:50 +02:00
482bd4b51c leave a hint for clang scan-build 2015-09-05 19:16:50 +02:00
c6272812e2 Add a newly introduced source to our MSVC project (libardour) 2015-09-05 18:05:10 +01:00
7e589dcda2 Add some newly introduced sources to our MSVC project (portaudio_backend) 2015-09-05 18:04:29 +01:00
03163154a2 As an experiment, use PBD::ScopedFileDescriptor in preference to 'ofstream' which doesn't support UTF8 (on Windows at least)
This change should ensure that our "been_here_before" file ('.a3' or whatever) will get created successfully - even for user paths with non-English characters in them.

If this experiment works on all platforms, there are several other areas where we'll probably need something similar.
2015-09-05 18:02:32 +01:00
0b2af5b9b8 fix log-scale for automation lanes. 2015-09-05 17:25:59 +02:00
b6f1eac8b0 don't use gain-mapping (verbose-cursor) for plugin params. 2015-09-05 17:13:04 +02:00
42f0142bb9 remove a float loop counter 2015-09-05 15:47:00 +02:00
1c9bb7de66 display session create/open failure errors. 2015-09-05 15:45:59 +02:00
56eae394cc provide details about session-creation failure. 2015-09-05 15:44:41 +02:00
ebfd0782e1 add missing include 2015-09-05 11:36:16 +02:00
d84bc9123f unit-test: set instance name to pre-configure dummy engine 2015-09-05 01:16:10 +02:00
d6df63ed91 Dummy-Backend: special case unit-test 2015-09-05 01:15:28 +02:00
b66bf67030 fix bitwise enum parsing 2015-09-05 00:00:16 +02:00
015b588d65 print insanity-check message only in debug builds 2015-09-04 22:36:14 +02:00
ad6c71e1fd Fix invalid error message when selecting directories/folders in Import dialog
On linux SndFileSource::get_soundfile_info was being called with an empty path
value when clicking on a folder in the left side part of the file browser which
resulted in an unnecessary error message.

On Windows every time a directory was selected in the Import dialog,
SndFileSource::get_soundfile_info would fail to open the directory in read only
mode and produce an error, but as we don't want to query/open soundfile info
for directories anyway just test and return if the path is a directory.
2015-09-04 11:50:08 +10:00