Robin Gareus [Mon, 15 Jun 2015 22:47:53 +0000 (00:47 +0200)]
use mpeg4 for internal video format (not mjpeg)
reduces file size.
xjadeo > 0.8 and harvid >= 0.8 handle this fine.
Robin Gareus [Sun, 14 Jun 2015 20:24:53 +0000 (22:24 +0200)]
ALSA backend: add support for half-duplex devices
Robin Gareus [Sun, 14 Jun 2015 20:16:31 +0000 (22:16 +0200)]
allow to scan for half-duplex ALSA devices
Robin Gareus [Sun, 14 Jun 2015 18:43:29 +0000 (20:43 +0200)]
prepare ALSA backend for half-duplex
Robin Gareus [Sun, 14 Jun 2015 16:10:31 +0000 (18:10 +0200)]
probe buffersize if jackd is already running.
Robin Gareus [Sat, 13 Jun 2015 20:05:29 +0000 (22:05 +0200)]
NOOP, reindent code.
Robin Gareus [Sat, 13 Jun 2015 20:04:31 +0000 (22:04 +0200)]
fix crash on OSX displaying MIDI sysex, or similar text.
Paul Davis [Fri, 12 Jun 2015 22:14:09 +0000 (18:14 -0400)]
We were 2 more debug "bits" away from overflow, so recast PBD::DEBUG mechanism away from a 64bit integer and toward std::bitset.
Clean up a few minor related PBD::DEBUG issues along the way
Paul Davis [Thu, 11 Jun 2015 21:04:08 +0000 (17:04 -0400)]
more refactoring of WaveView threaded code to try to get to heart of crash bug
Paul Davis [Thu, 11 Jun 2015 17:34:46 +0000 (13:34 -0400)]
don't queue a callback with the idle event for waveview image generation if one is already queued.
Also, hold relevant lock when waking image rendering thread.
Paul Davis [Thu, 11 Jun 2015 17:33:45 +0000 (13:33 -0400)]
comment tweak
Robin Gareus [Thu, 11 Jun 2015 13:05:46 +0000 (15:05 +0200)]
fix transport loop sub-state events
Loading a session with a loop-range, or setting
a loop-range adds LoopDeclick events.
Normal play back (no loop) never processes/clears the events.
Ardour was constantly doing split cycles for nothing.
This lead to stuck midi-notes: Split cycle calls
increment_global_port_buffer_offset() but the midi_diskstream
itself was not aware of any loop positions or offsets.
Entering loop playback adds those events explicitly
in Session::set_play_loop(). auto_loop_changed() only
needs to add/replace session-events when actively looping.
Paul Davis [Thu, 11 Jun 2015 02:26:58 +0000 (22:26 -0400)]
possible fix for crashes related to vanishing waveviews (and if it doesn't fix anything, it is still more correct than it was)
Paul Davis [Thu, 11 Jun 2015 02:04:20 +0000 (22:04 -0400)]
remove left-over debugging code
Paul Davis [Wed, 10 Jun 2015 22:48:01 +0000 (18:48 -0400)]
fix basic error with computation of partial image width; add use of DEBUG_TRACE (DEBUG::WaveView,...)
Paul Davis [Wed, 10 Jun 2015 22:47:10 +0000 (18:47 -0400)]
add PBD::DEBUG::WaveView
Paul Davis [Wed, 10 Jun 2015 22:46:43 +0000 (18:46 -0400)]
no Save-As progress dialog if we're not copying media
nick_m [Wed, 10 Jun 2015 16:20:37 +0000 (02:20 +1000)]
Magnetic snap now works on note moves / resizes.
nick_m [Wed, 10 Jun 2015 15:36:34 +0000 (01:36 +1000)]
Make absolute snap the default snap.
- also fixes a couple of absolute snap bugs wrt midi notes.
Robin Gareus [Wed, 10 Jun 2015 01:00:00 +0000 (03:00 +0200)]
hide the aggregate device, again
further amends to
17453ec debugging.
Robin Gareus [Wed, 10 Jun 2015 00:46:10 +0000 (02:46 +0200)]
undo debug (
17453ec) info.
The problem was: OSX i386 builds used --dist-target=leopard
which forced the deprecated 10.5 CoreAudio API.
(build-host config has been changed now).
There is currently insufficient support in ardour’s
CoreAudioPCM::create_aggregate_device() for the old API,
COREAUDIO_108 needs to be defined or aggregate devices stop
working on OSX 10.8 or later.
Robin Gareus [Tue, 9 Jun 2015 21:26:43 +0000 (23:26 +0200)]
fix video-image request, zoom before video start.
Robin Gareus [Tue, 9 Jun 2015 20:24:46 +0000 (22:24 +0200)]
fix OSX optimized builds (NDEBUG)
Robin Gareus [Tue, 9 Jun 2015 19:34:16 +0000 (21:34 +0200)]
debug aggregate device issue - i386/10.8 only
Robin Gareus [Tue, 9 Jun 2015 17:18:31 +0000 (19:18 +0200)]
coreaudio: initialize [output] variable.
possible fix for 32bit/10.8,
AudioObjectGetPropertyDataSize error
John Emmas [Tue, 9 Jun 2015 15:25:20 +0000 (16:25 +0100)]
Don't close OSC server sockets explicitly (the subsequent call to 'lo_server_free()' will close the socket anyway)
John Emmas [Tue, 9 Jun 2015 12:18:42 +0000 (13:18 +0100)]
Add the new (UINTSDEFINED) preprocessor directive to all out MSVC projects (just to be on the safe side)
John Emmas [Tue, 9 Jun 2015 11:09:21 +0000 (12:09 +0100)]
Add a new preprocessor directive (UINTSDEFINED) which is rather annoyingly needed if liblo gets built with MSVC
John Emmas [Tue, 9 Jun 2015 11:06:49 +0000 (12:06 +0100)]
Add a new link library that's needed when building against the newer version of liblo (0.28)
(probably only needed when building with MSVC)
Paul Davis [Mon, 8 Jun 2015 21:22:48 +0000 (17:22 -0400)]
Merge branch 'ovenwerks-master'
Len Ovens [Fri, 5 Jun 2015 23:32:19 +0000 (16:32 -0700)]
Don't allow user to change function of modifier buttons.
Colin Fletcher [Mon, 8 Jun 2015 19:07:52 +0000 (20:07 +0100)]
Update export config on stem export select tracks/busses/none
Call update_config() after selecting/deselecting all tracks/busses so that
the warning about 'No channels have been selected' is shown/hidden
appropriately.
Colin Fletcher [Sun, 7 Jun 2015 21:51:00 +0000 (22:51 +0100)]
Enclose bar code number in ""s in TOC & CUE export
cdrdao seems to want the CATALOG field to be enclosed in double-quotes.
Colin Fletcher [Sun, 7 Jun 2015 21:48:01 +0000 (22:48 +0100)]
Remove doubled quotes in TOC export PERFORMER field
toc_escape_text() already encloses its result in ""s, and if album_artist
is empty, the resulting PERFORMER """" line makes cdrdao upset. Just remove
the extra quotes.
Colin Fletcher [Sat, 6 Jun 2015 14:14:20 +0000 (15:14 +0100)]
Fix tiny typo in PortExportChannelSelector error text
Colin Fletcher [Mon, 8 Jun 2015 13:41:29 +0000 (14:41 +0100)]
Don't select any routes for stem export by default
Now that there are 'select all tracks/busses' buttons, it makes sense to me
that stem export should start off with no routes selected, rather than all.
Maybe stem export should by default select routes that are selected in the
editor, but that's a task for another time.
Colin Fletcher [Sat, 6 Jun 2015 14:13:39 +0000 (15:13 +0100)]
Exclude inactive tracks & busses from stem export list
The exported file is silent, when choosing to export either region contents or
track outputs, so there seems no point in making such routes available for stem
export at all.
Perhaps there's an arguable use case for enabling stem export of inactive
tracks, but I can't see that it's worth worrying about for now.
Colin Fletcher [Fri, 5 Jun 2015 22:08:38 +0000 (23:08 +0100)]
Add 'Select tracks/busses' & 'Deselect all' buttons to stem export
Add buttons to to select all tracks, select all busses and deselect all to
the stem export channel selector.
Robin Gareus [Sun, 7 Jun 2015 00:32:39 +0000 (02:32 +0200)]
Coreaudio: ignore [expected] SR changes.
Don’t disconnect from engine if sample-rate change
happens during initialization.
Paul Davis [Thu, 4 Jun 2015 22:23:08 +0000 (18:23 -0400)]
Merge branch 'ovenwerks-master'
Paul Davis [Thu, 4 Jun 2015 21:45:58 +0000 (17:45 -0400)]
use existing partial existing waveview images (if they exist) while waiting for the full ones
Len Ovens [Thu, 4 Jun 2015 22:07:43 +0000 (15:07 -0700)]
Add an option in the MCP .device file to set master position (fixes #6357)
Len Ovens [Thu, 4 Jun 2015 22:02:51 +0000 (15:02 -0700)]
Clean up mackie surface profile editor from things that don't work or match the mackie hardware (fixes #6342)
Paul Davis [Thu, 4 Jun 2015 21:58:24 +0000 (17:58 -0400)]
MackieControl: Make ctl put v-pot in fine mode.
Paul Davis [Thu, 4 Jun 2015 21:45:58 +0000 (17:45 -0400)]
use existing partial existing waveview images (if they exist) while waiting for the full ones
Len Ovens [Thu, 4 Jun 2015 21:04:46 +0000 (14:04 -0700)]
Make ctl put v-pot in fine mode.
Ben Loftis [Thu, 4 Jun 2015 20:49:56 +0000 (15:49 -0500)]
Enable stationary playhead mode.
stationary playhead needs to follow same rules as regular moving playhead.
Robin Gareus [Thu, 4 Jun 2015 00:44:58 +0000 (02:44 +0200)]
half-duplex Coreaudio support.
Paul Davis [Wed, 3 Jun 2015 17:48:43 +0000 (13:48 -0400)]
Change message about JACK already running to be less scary
Paul Davis [Wed, 3 Jun 2015 17:47:58 +0000 (13:47 -0400)]
check size of peak file before attempting to use it. Rebuild from scratch if necessary.
Paul Davis [Wed, 3 Jun 2015 17:46:59 +0000 (13:46 -0400)]
when AudioSource::read_peaks() provides start+cnt too close to the end, be sure to reset expected_peaks and scale to match the corrected values
Paul Davis [Tue, 2 Jun 2015 16:53:04 +0000 (12:53 -0400)]
break apart style errors from style warnings in pre-commit hook
Paul Davis [Tue, 2 Jun 2015 16:27:39 +0000 (12:27 -0400)]
expand comment
Paul Davis [Tue, 2 Jun 2015 16:17:50 +0000 (12:17 -0400)]
don't use the return value from AudioRegion::read_peaks() because it is either zero or n_peaks
Paul Davis [Tue, 2 Jun 2015 16:08:59 +0000 (12:08 -0400)]
close all source files before renaming interchange tree in Session::rename()
Paul Davis [Tue, 2 Jun 2015 16:08:02 +0000 (12:08 -0400)]
AudioRegion::read_peaks() should return 0 or the number of peaks read, not the number of samples
John Emmas [Tue, 2 Jun 2015 10:17:31 +0000 (11:17 +0100)]
Amend WaveView::send_request() such that it'll compile with MSVC
Hopefully, this was the original intention (I've simply amended a function call to match similar usages elsewhere in the code).
Paul Davis [Tue, 2 Jun 2015 01:08:42 +0000 (21:08 -0400)]
reinstate absent image.
Then go back to bed and be ill some more.
Robin Gareus [Mon, 1 Jun 2015 22:57:58 +0000 (00:57 +0200)]
fix duplicate inc/decrement in AutoSpin?
Robin Gareus [Mon, 1 Jun 2015 21:58:23 +0000 (23:58 +0200)]
NOOP, fix whitespace
Robin Gareus [Mon, 1 Jun 2015 19:47:08 +0000 (21:47 +0200)]
always round integer steps (regardless of enum)
Robin Gareus [Mon, 1 Jun 2015 19:27:14 +0000 (21:27 +0200)]
properly handle integer steps in plugin controls
The integer steps min/max are inclusive.
e.g the integer range -1 to +1 has three possible values (not two).
Ben Loftis [Mon, 1 Jun 2015 21:18:10 +0000 (16:18 -0500)]
fix cursor in smart mode, when moving up and down the frame handles
Paul Davis [Mon, 1 Jun 2015 18:55:17 +0000 (14:55 -0400)]
remove debug output and get logic correct to cause first render to always use the render thread
Paul Davis [Mon, 1 Jun 2015 18:45:32 +0000 (14:45 -0400)]
drop in threaded waveview changes via the two affected files.
Rebasing the feature branch against master was too messy, and only these two files were
changed. The development history of this branch could easily have been --squash'ed anyway,
so not much of a loss
Ben Loftis [Mon, 1 Jun 2015 18:12:39 +0000 (13:12 -0500)]
Fix some visual loopholes when switching tools inside a region:
switching to Grab should show the fade handles...
...switching away from grab should hide them.
Also, change "always show gain" preference to show lines, but not control points.
Robin Gareus [Mon, 1 Jun 2015 16:17:34 +0000 (18:17 +0200)]
fix importing A2 automation data - fixes #6359
Robin Gareus [Tue, 5 May 2015 15:28:31 +0000 (17:28 +0200)]
coreaudio support for multiple devices
Robin Gareus [Sun, 31 May 2015 20:14:44 +0000 (22:14 +0200)]
engine dialog fixes for multiple devices
Tim Mayberry [Tue, 5 May 2015 02:59:26 +0000 (12:59 +1000)]
Allow selection of input and output devices in EngineDialog for backends that support it
Some refactoring was necessary to avoid code duplication
Restoring of device state for input and output devices still doesn't work
correctly. I'm not quite sure what the issue is at this stage.
Tim Mayberry [Sat, 9 May 2015 01:35:27 +0000 (11:35 +1000)]
Add API to ARDOUR::AudioBackend to allow different input and output devices
Used spaces instead of tabs for whitespace consistancy with rest of header
Robin Gareus [Sun, 31 May 2015 17:40:04 +0000 (19:40 +0200)]
fix the cairo-fletcher-fluctuation
CF reports occasional “rendering icon 1 at size 1 x 1”
always followed by “rendering icon 1 at size 21 x 21”.
Probably a GTK bug with some specific version of GTK.
Robin Gareus [Sat, 30 May 2015 15:28:32 +0000 (17:28 +0200)]
vector icons should at least be 6x6 px
Ben Loftis [Sat, 30 May 2015 13:31:09 +0000 (08:31 -0500)]
Stationary Playhead.
It is hard to locate/edit while playing, in this mode.
I think it needs to be an action, not a mode.
Ben Loftis [Fri, 29 May 2015 20:17:46 +0000 (15:17 -0500)]
factor out Route::muted_by_others from existing code
Paul Davis [Thu, 28 May 2015 23:26:21 +0000 (19:26 -0400)]
tweaks and improvements to Save-As
Always copy MIDI files, they are small and they get rewritten for lots of reasons, which can cause confusion
if the user elected to NOT "copy media" since the file ends up existing in both the new and old (but in use)
session.
Avoid copying analysis files on Windows, where for now the files contain illegal colon characters
Paul Davis [Thu, 28 May 2015 23:08:47 +0000 (19:08 -0400)]
change the semantics of AudioFileSource::peak_path() and Session::peak_path() a little.
If given a full path that points outside the current session but is within another ardour session,
attempt to use the peakfiles present in that other session.
Paul Davis [Thu, 28 May 2015 20:22:32 +0000 (16:22 -0400)]
add name text for ToggleExternalSync action
Paul Davis [Thu, 28 May 2015 17:27:38 +0000 (13:27 -0400)]
only use and present the buggy gradient parameter if built with a suitably patched version of Cairo
Paul Davis [Thu, 28 May 2015 16:46:31 +0000 (12:46 -0400)]
rearrange and redesign UIConfiguration/ARDOUR_UI APIs to allow correct initialization.
We need to be able to set an environment variable *before* gtk_init() is called, but also to
load the color theme right after gtk_init() and before the rest of the GUI is created.
Paul Davis [Thu, 28 May 2015 15:46:01 +0000 (11:46 -0400)]
add control for buggy gradient option
Paul Davis [Thu, 28 May 2015 15:45:49 +0000 (11:45 -0400)]
add buggy gradient option
nick_m [Thu, 28 May 2015 13:37:46 +0000 (23:37 +1000)]
Fix uninitialised variable.
Robin Gareus [Thu, 28 May 2015 12:41:17 +0000 (14:41 +0200)]
amend
3f5d17d, clear changes to MIDI as well.
Robin Gareus [Thu, 28 May 2015 11:18:59 +0000 (13:18 +0200)]
Fix region paste (ctrl+v) undo.
Paul Davis [Wed, 27 May 2015 23:34:04 +0000 (19:34 -0400)]
prevent crash when using WM close button on "new route name contains bad chars" dialog.
The dialog would be created twice, once because the user hit enter etc. to indicate they were done editing,
and once because focus left the name text entry, also indicate the end of editing. We now note that we're
already processing the end of a name edit, and do nothing in that case
Robin Gareus [Wed, 27 May 2015 21:16:59 +0000 (23:16 +0200)]
relax LinuxVST GUI event loop.
it was spinning at 100Hz.
Robin Gareus [Wed, 27 May 2015 14:39:42 +0000 (16:39 +0200)]
fader: start muted, ramp up/interpolate to target
Paul Davis [Wed, 27 May 2015 14:57:40 +0000 (10:57 -0400)]
some more information output to log during save-as, for debugging
Paul Davis [Wed, 27 May 2015 12:57:16 +0000 (08:57 -0400)]
fix unsigned/signed math error
Paul Davis [Wed, 27 May 2015 11:10:52 +0000 (07:10 -0400)]
add new MIDI map file for M-Audio Oxygen 49, from Erik Deroo
Paul Davis [Tue, 26 May 2015 14:21:55 +0000 (10:21 -0400)]
ensure that Mackie Control bank left/right commands always hit the same boundary (Len Ovens)
John Emmas [Wed, 27 May 2015 09:21:21 +0000 (10:21 +0100)]
Add some newly introduced sources to our MSVC project (gtkmm2ext)
John Emmas [Wed, 27 May 2015 09:11:34 +0000 (10:11 +0100)]
Gtkmm2ext::ArdourIcon::render() is needed outside of libgtkmm2ext (so let's make it exportable)
Ben Loftis [Tue, 26 May 2015 21:41:03 +0000 (16:41 -0500)]
Rationalize some aspects of region-gain control-point visibility:
Visibility is driven by the currently selected mouse mode.
Visibility no longer depends on entering/exiting the region.
Range mode shows the lines but not the points.
Fixed option text to reflect new operation.
Robin Gareus [Tue, 26 May 2015 17:25:47 +0000 (19:25 +0200)]
more pixel rounding (small range icon)
Robin Gareus [Tue, 26 May 2015 00:38:58 +0000 (02:38 +0200)]
icon pixel compatibility
Ensure that relevant lines always end up on a pixel
(regardless of scaling).
Robin Gareus [Mon, 25 May 2015 22:56:51 +0000 (00:56 +0200)]
replace tool pixel icons with vector drawing
Robin Gareus [Mon, 25 May 2015 22:52:06 +0000 (00:52 +0200)]
refactor vector icon drawing
Robin Gareus [Mon, 25 May 2015 02:42:58 +0000 (04:42 +0200)]
a go at a pixel-compatible vector “hand” icon.
..and some related ArdourIcon changes.