Commit graph

8014 commits

Author SHA1 Message Date
nick_m
69a6c4d747 Provide an image if there are no peaks. 2015-03-22 00:31:32 +11:00
Robin Gareus
0f2ead3d6b fix redraw of automation ControlPoints 2015-03-20 23:31:21 +01:00
Robin Gareus
2a9d7286f9 fix AWOL semicolon in 9f842f3 2015-03-20 22:08:17 +01:00
Robin Gareus
9f842f3247 NOOP, whitespace 2015-03-20 21:38:26 +01:00
Robin Gareus
410cf8e79d OSC log errors 2015-03-20 21:32:56 +01:00
Robin Gareus
7619edd1f6 OSC: fix crash when trying to set output params 2015-03-20 21:19:25 +01:00
Robin Gareus
17e1e2641b OSC fix plugin numbering:
ignore non-plugin processors for OSC
/ardour/routes/plugin/parameter

fixes issue with hidden internal processors. (rec-en
track adds a hidden [meter] processor at the top,
internal returns on busses have returns etc.)
2015-03-20 20:27:15 +01:00
Robin Gareus
a563007fcc add missing return value 2015-03-20 16:17:07 +01:00
nick_m
53f452dde1 Don't open peakfiles O_NONBLOCK or O_NOATIME.
O_NOATIME removed due to what appears to be a bug in fuse where open fails.
O_NONBLOCK was basically unjustifiable.
2015-03-21 01:02:51 +11:00
Robin Gareus
26ce7b5f1b add a non-interleaved mode to the Portaudio backend 2015-03-20 11:45:56 +01:00
Robin Gareus
abfdcb5439 fix windows + VST debug versions
pthread.h needs to be included before pbd/debug.h
otherwise PTW32_VERSION is not defined, bug in 831f298
2015-03-17 16:30:16 +01:00
Paul Davis
5188f02cfe hide issues with g_close() not being available in somewhat older versions of glib 2015-03-16 13:34:35 -05:00
Paul Davis
72b19e60fe fix compiler warning 2015-03-16 13:02:20 -05:00
Paul Davis
8ff477ab1a add PBD::toggle_file_existence() 2015-03-16 13:00:28 -05:00
Robin Gareus
4c2ea510e3 add API to query Gtk::ComboBoxText entries
..the overly complex C++ style variant.
iterate twice..  hell yeah.
2015-03-16 14:38:21 +01:00
nick_m
135e865302 Add route dialog order hint changes.
Add an option to insert new routes at the top of the list ("First").
Reorder/rename the entries in the dialog.
Session's _order_hint is now the signed int it always wanted to be.
2015-03-16 04:01:30 +11:00
Robin Gareus
d8d9f9b486 proper port unregistration (just some refactoring, noop) 2015-03-14 22:59:07 +01:00
Robin Gareus
83babb8a52 automatic error log window popup be gone. 2015-03-14 18:28:36 +01:00
David Robillard
0028630ece Fix stretch for MIDI regions (#6164). 2015-03-14 00:39:52 -04:00
David Robillard
86c6541323 Move PC flags to avoid obscuring region name.
Fixes bug #6179.  Top vs. bottom seems pretty arbitrary to me, and this solves
the obscuring issue (which is quite common since there are often PC events at
the start of MIDI files), so bottom it is.
2015-03-14 00:21:29 -04:00
Robin Gareus
524f322250 ignore master & monitor when “solo all [in group]”
should fix #6193
2015-03-14 01:49:32 +01:00
John Emmas
94e36450d2 Fix some build anomalies between PROGRAM_NAME and PROGRAM_VERSION
When building with MSVC, some libraries had PROGRAM_NAME set to "Mixbus" and PROGRAM_VERSION set to "3". Whereas other libraries had PROGRAM_NAME set to "Mixbus3" while PROGRAM_VERSION was an empty string.

I've a horrible feeling there must have been a reason for this but I can't quite think what it was. Hopefully though, this change will standardize everything.
2015-03-13 17:40:53 +00:00
Robin Gareus
5090934a2c clean out cruft from CoreAudio Backend 2015-03-13 14:05:12 +01:00
Robin Gareus
7a4f1cb98f only jack+windows use portaudio.
fixes missing lib if portaudio-backend is used on on non-windows
platforms (pkg-config defines HAVE_PORTAUDIO)
2015-03-13 13:32:14 +01:00
Robin Gareus
1cca79258a call me Mr. Backend
simple blocking (no callback) PortAudio Backend
2015-03-13 13:32:14 +01:00
Paul Davis
9a05a0fbfb alter config file copying infrastructure so it can be used at a suitable time in the instance's lifetime 2015-03-12 17:45:42 -05:00
Robin Gareus
b622bc18fc amend 7bb9d04, fix midi looping 2015-03-12 16:18:06 +01:00
Robin Gareus
7bb9d04859 cont’d work on a16dd7c, fixes #6170 2015-03-12 15:23:05 +01:00
Robin Gareus
a16dd7c071 explain midi starvation, issue #6170
this is not a fix yet, just some comments and
code cleanup done while reading/investigating:

* limit reads to available write-space
* skip inactive tracks
* handle potential unsigned + negative value.
2015-03-12 15:22:18 +01:00
Tim Mayberry
831f2989ac Revert commit 635578b3 relating to pthread debugging
This breaks the build for windows builds that don't use the pthreads_win32
library. Using the opaque pthread_t type like this is probably not a great
idea. Using PBD::pthread_name is another option that I've used elsewhere
that seems more useful.
2015-03-12 23:05:31 +10:00
Tim Mayberry
0f8da2d4cd Define DEBUG_THREAD_SELF when debug is enabled 2015-03-12 23:04:25 +10:00
Tim Mayberry
a9c449c4af Use DEBUG_THREAD_SELF macro in session_vst.cc 2015-03-12 23:04:14 +10:00
Tim Mayberry
5476b48539 Don't try linking libclearlooks files with mingw build
I believe this is unnecessary for cross and native builds
2015-03-12 23:03:59 +10:00
Tim Mayberry
47b1c2889c Include windows.h in Dummy backend for LARGE_INTEGER
This is necessary for a native build using MSYS2 and mingw-w64
2015-03-12 23:03:45 +10:00
Tim Mayberry
4c4863248c Include windows.h on windows build for LARGE_INTEGER
This is necessary for a native build using MSYS2 with mingw-w64
2015-03-12 23:03:32 +10:00
Paul Davis
89a3c78175 finish (?) infrastructure for copying configuration files from a3 to a4 2015-03-11 14:28:30 -05:00
Robin Gareus
087b5dc43b interpret CoreMidi unique ID as unsigned for consistency.
coremidi specifies it as SInt32 but system:midi_playback_-126632214 ,
even if only used internally, just does not seem right.
2015-03-11 20:06:41 +01:00
Paul Davis
8587855b99 more infrastructure for copying old configuration files 2015-03-11 13:24:47 -05:00
Paul Davis
59880b7fa3 efficiency is overrated - don't cache the return value of user_config_directory_name() since it can be called with different arguments 2015-03-11 13:24:47 -05:00
Paul Davis
f9ce27fd65 global ARDOUR signal to ask GUI to copy configuration files across versions 2015-03-11 13:24:47 -05:00
Paul Davis
d563b1173b only create user configuration directory if no explicit version was given 2015-03-11 13:24:47 -05:00
Paul Davis
1644fc1068 hide user_config_dir_name; alter API for user_config_dir() to allow specification of a version number 2015-03-11 10:39:15 -05:00
Robin Gareus
99260742d2 mingw: all code is position independent 2015-03-11 14:58:02 +01:00
Robin Gareus
77821ba373 NOOP, midi-auditioner clean API usage 2015-03-11 12:29:45 +01:00
Robin Gareus
ac23461ed9 remove duplicate code
set_header_timeline_position() does exactly that. Also doing it
twice may have lead to a NULL-pointer dereference.
2015-03-11 12:28:47 +01:00
Robin Gareus
6d2189f9e3 reasonably sized CoreMidi Buffers 2015-03-11 12:23:05 +01:00
nick_m
a1ac941a00 Fix windows compilation for merged waveview branch. 2015-03-11 10:50:35 +11:00
Robin Gareus
c3d7654884 coreaudio backend: switch threads early 2015-03-11 00:27:14 +01:00
Robin Gareus
fe85575a12 fix “no per-thread pool” abort
For some backends the process thread can change (e.g.
switch coreaudio headphone + internal speakers)

If there are existing x-thread event calls this can lead to
the following situation:

1) SessionEvent::operator new
2) audioengine process thread change
3) SessionEvent::operator delete  -> crash, wrong thread

SessionEvent::operator delete can safely push the event back to
the pool for later cleanup..
2015-03-11 00:25:10 +01:00
Robin Gareus
1a5a48436a NOOP, re-indent. 2015-03-10 22:15:44 +01:00