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
Robin Gareus
9b2898c533
yet unheard of edge-case.
2015-03-10 22:15:44 +01:00
Robin Gareus
68146a0969
audio interpolation is really private
2015-03-10 22:15:44 +01:00
Robin Gareus
7619946b4b
MIDI vari-speed playback
2015-03-10 22:15:44 +01:00
Robin Gareus
3139b7e980
prototype basic midi varispeed
2015-03-10 22:15:44 +01:00
nick_m
a2b35aa634
Fix compilation for osx.
2015-03-11 01:57:16 +11:00
nick_m
fb8bc4e8c9
Manual merge of the backend (peakfile reading) part of waveview branch.
...
Summary:
* use mmap() for the whole peakfile instead of lots of small seek/reads
* cache the computed peaks
* where possible, open files with O_NOATIME.
2015-03-11 00:40:02 +11:00
nick_m
e7b0e67bc8
Manual merge of the drawing component of waveview branch.
...
In summary:
* no antialiasing of waveviews
* no diagonal lines
* simplify clip detection
* don't use LINE_CAP_ROUND for outline
* use the wave colour when drawing outline only
2015-03-10 23:35:53 +11:00
Robin Gareus
3547540f98
throttle TransportStateChange signal emissions
2015-03-10 10:49:52 +01:00
Robin Gareus
db8406dc4a
disk-space calc is windows (not MSVC) specific.
2015-03-10 00:21:37 +01:00
Robin Gareus
a6b9e81ed1
10ms = 1e7 nsec
2015-03-10 00:09:01 +01:00
Robin Gareus
22a91f47bb
rework/optimize CoreMidi
2015-03-09 23:28:57 +01:00
Robin Gareus
efbc00651f
NOOP, add header-guards and namespace to CA backend
2015-03-09 23:28:57 +01:00
Colin Fletcher
f7a2df1c9a
Make editing of meter work at the current position
...
Add a function TempoMap::meter_section_at(), similar to
TempoMap::tempo_section_at() but returning the meter section at the given
position, and use this to make editing meter changes from the main clock
work on the meter that's in effect at the current position.
2015-03-09 19:17:53 +00:00
John Emmas
523f703b3b
Move 'poor_mans_glob()' into libpbd
2015-03-09 18:32:55 +00:00
nick_m
03160ee182
Tearoff windows are utility windows rather than toolbars.
2015-03-10 03:58:00 +11:00
Robin Gareus
52e99750a0
ALSA: fix thinko in sample time calc.
2015-03-09 17:17:50 +01:00
Robin Gareus
0446ff64f4
implement samples_since cycle start.
2015-03-09 17:17:50 +01:00
John Emmas
2d6e48fb0b
Define NO_JACK_METADATA when building the jack backend with MSVC
...
Jack (on Windows) doesn't seem to have a header file called 'metadata.h' - so hopefully, this'll be correct?
2015-03-09 11:43:05 +00:00
Robin Gareus
f2592df842
fix typo in 72ed785
2015-03-09 05:59:46 +01:00
Robin Gareus
09dd3fc369
some backends can handle incorrectly ordered midi events.
...
(that can happen if multiple sources send to the same
ouput port, in particular async midi events)
2015-03-09 05:41:36 +01:00
Robin Gareus
72ed785940
allow hotplugging CoreMidi devices.
2015-03-09 00:26:01 +01:00
Robin Gareus
bc7be6fd3e
there’s no jack_creator_thread on windows
2015-03-09 00:09:42 +01:00
Robin Gareus
a64a311a41
keep port bundles in sync with engine
2015-03-08 22:40:27 +01:00
Robin Gareus
40c04867ef
Bundle API user update
...
cherry-pickable follow up to 0582221
2015-03-08 22:39:34 +01:00
Robin Gareus
0582221353
consolidate BundleAdded/Remove signal
...
The only user (matrix) does not care which bundles are added/removed.
This simplification will make it a lot easier to keep bundles
in sync with actual hardware ports.
2015-03-08 22:38:55 +01:00
Robin Gareus
9107a4b7fe
add a no-jack-metadata option for poor 12.04 souls
...
(jack does have metadata support but ubuntu packaged
a version with a wrong header)
2015-03-08 21:31:08 +01:00
Robin Gareus
8008d4262f
nicely named session bundles
2015-03-08 19:02:31 +01:00
Robin Gareus
8fd67c5a88
coremidi separate ID and Name, use fixed IDs.
2015-03-08 19:02:31 +01:00
Robin Gareus
0cf11acc27
add backend support for port properties (CoreAudio)
2015-03-08 19:02:31 +01:00