Commit Graph

16764 Commits

Author SHA1 Message Date
Robin Gareus
7eca991971 fix fader default-value line position 2014-01-05 13:09:08 +01:00
Robin Gareus
d89573f8e7 update slider rendering & set style for faders
* render background -- outside of rounded corners
* visually align unity-location with fader at 0.
* sharp lines (no more AA blur) x/y offset, radius
2014-01-05 13:07:31 +01:00
Robin Gareus
f3d858f9df fix detection of aubio library - aubio-0.4 breaks API and ABI.
ideally we'll want atleast_version='0.3.2', max_version='0.3.9'
(or anything before 0.4.0) for the time being.
but waf/autowaf don't seem to allow that.

aubio-0.3.2 was the previous minimum requirement and is
also the last release of audio-0.3.X, so we're good with
exact_version for now.
2014-01-04 19:28:15 +01:00
Robin Gareus
e8e4e677aa processor drag box only 2014-01-04 05:43:20 +01:00
Robin Gareus
52d6cbc1e9 fix PixFader size allocation
previously faders in the processor box were only sized correctly
after the 2nd iteration: allocate -> request -> allocate
2014-01-04 05:42:31 +01:00
Robin Gareus
d85ec4ee17 don't split process cycle at end
Keep in mind: While this is the correct thing to do,
it hides another another bug under the hood, related to
_global_port_buffer_offset in MidiPort::flush_buffers.
For debugging the latter issue, revert this.
2014-01-03 18:36:00 +01:00
Paul Davis
a37112bdd7 improve clarity of logic parentheses 2014-01-03 12:19:18 -05:00
Paul Davis
31a1b73752 Merge branch 'master' of https://github.com/derAbgang/ardour 2014-01-03 12:18:36 -05:00
Nils Philippsen
aa15f90959 don't declare hilight variable twice 2014-01-03 18:11:30 +01:00
Nils Philippsen
156283936b get rid of const warnings 2014-01-03 18:11:30 +01:00
derAbgang
f1a93bc8a1 mantis 0005805 2014-01-02 17:13:14 -05:00
Paul Davis
7b24be86a2 make raise_to_top() and lower_to_bottom() no-ops if item is already in the right place 2014-01-02 16:49:42 -05:00
Paul Davis
7f83975e7d add drag handle source to wscript 2014-01-02 16:49:11 -05:00
Paul Davis
edb932b819 basic, prototypical drag handle implementation 2014-01-02 16:48:44 -05:00
Paul Davis
10c8b48235 tweak design of time axis view item name text handling 2014-01-02 14:29:07 -05:00
Paul Davis
e7c4774728 Merge branch 'master' into cairocanvas 2014-01-02 09:16:28 -05:00
Julien de Kozak
b439b79813 Fix tests compilation after Control API changes 2014-01-02 09:00:58 -05:00
Robin Gareus
2644aaddb1 visualize port connections in mixer/processor when in < out 2014-01-01 15:34:06 +01:00
Paul Davis
8f876bb5ab remove legacy CANVAS_COMPATIBILITY property_foo() stuff (related to gnomecanvas API) from libcanvas 2013-12-31 11:54:05 -05:00
Robin Gareus
91ae2c0e81 debug message: print uint8 channel as integer not char 2013-12-31 11:44:19 +01:00
Paul Davis
501bfdb15a fix an errant visibility macro 2013-12-30 17:21:15 -05:00
Paul Davis
d1818d1879 change clip level variable units to dB (conversion likely not complete yet) 2013-12-30 17:20:54 -05:00
Paul Davis
d1098f4f30 add new configurable parameter for waveview clip level 2013-12-30 15:55:38 -05:00
Paul Davis
110c790d91 define signal associated with configurable clipping level to Canvas::WaveView 2013-12-30 15:54:09 -05:00
Paul Davis
7158eb7565 add configurable clipping level to Canvas::WaveView 2013-12-30 15:46:44 -05:00
Paul Davis
2d50adaf3a ignore invisible items when picking the current item
Also left behind some commented debug out that probably deserves a new PBD::Debug bit.
2013-12-30 14:02:43 -05:00
Robin Gareus
bcc5a4d7d2 improve debug message 2013-12-30 16:58:46 +01:00
Robin Gareus
e281f5653c fix assert for non-existing MIDI patch-names
typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = MIDI::Name::ChannelNameSet; typename boost::detail::sp_member_access<T>::type = MIDI::Name::ChannelNameSet*]: Assertion `px != 0' failed.
2013-12-30 16:24:27 +01:00
Robin Gareus
c284823413 optimize peak calculation of silent buffers 2013-12-30 14:26:09 +01:00
Robin Gareus
a3ba6163b3 NOOP. remove trailing whitespace 2013-12-30 14:21:09 +01:00
Robin Gareus
ee5186a461 make meters request constant buffers 2013-12-30 14:20:02 +01:00
Paul Davis
4886eb7098 try to rationalize logic for displaying/hiding regionview (time axis view item) name highlights and text 2013-12-29 23:10:54 -05:00
Robin Gareus
9875d43414 use buffer APIs instead of raw memcpy, fix plugin bypass 2013-12-29 21:48:14 +01:00
Paul Davis
dfec88e1a3 add proper namespace to PBD::demangle for systems without execinfo 2013-12-29 13:59:37 -05:00
Robin Gareus
f4060c6b38 fix replicate_missing_region_channels option 2013-12-28 21:12:57 +01:00
Paul Davis
b880a38152 Merge branch 'master' into cairocanvas 2013-12-28 14:00:20 -05:00
Paul Davis
a585816f3e slight optimization of PolyItem::render_path() 2013-12-28 13:52:08 -05:00
Robin Gareus
0f6686eea9 remove unused API to explicitly set/unset buffer silent flag 2013-12-28 13:43:57 +01:00
Robin Gareus
37264c85a5 centralize buffer silent-flag
fixes possible x-talk 1 in, >= 2 out tracks:

Previously, only the first route-buffer of the input buffers
were marked as non-silent in Route::process_output_buffers().
Other buffers in the set (e.g. post-panner) would
contain audio but not marked as non-silent.
2013-12-28 13:43:44 +01:00
Paul Davis
218a4664be add visibility/export control to libcanvas 2013-12-27 16:24:58 -05:00
Paul Davis
b0e4f81eb3 merge exportvis branch into cairocanvas, to reduce the number of "floating" branches.
Still need to add API export/visibility macros for the canvas library.
2013-12-27 14:29:06 -05:00
Robin Gareus
8f69af4af3 add support for old compilers w/o implicit stdbool 2013-12-27 14:53:30 +01:00
Robin Gareus
3f75d78848 initialize some uninitialized variables 2013-12-27 14:04:49 +01:00
Paul Davis
84f55440a3 fix redrawing of canvas with an optimized build
Best guess right now is that optimization does something bad when ceil() is called twice on a very large dbl-precision number,
which results in a zero (empty) redraw area. Without the removal of the redundant ceil & floor functions, no expose events
would be delivered to the canvas in an optimized build during drags (and maybe more).
2013-12-23 15:35:49 -05:00
Sakari Bergen
e00d9dd585 Re-enable export file tagging. No idea why this code has dropped out at some stage... 2013-12-23 20:26:51 +02:00
Robin Gareus
0acafa4d3d add K12/RMS meter type 2013-12-22 09:25:33 +01:00
Paul Davis
2065a2a2ac fix up OSC support to conform to new CP API and pay attention to feedback setting, even though feedback does nothing right now 2013-12-21 15:31:28 -05:00
Paul Davis
e9c47051f7 conform to new CP API 2013-12-21 15:31:28 -05:00
Paul Davis
91e2b5f88a conform to new CP API 2013-12-21 15:31:28 -05:00
Paul Davis
362769e967 new CP API and fix several egregious bugs with port handling when switching devices, setting state etc. 2013-12-21 15:31:28 -05:00