Re: [LAD] Mouse/knob interaction

From: Olivier Guilyardi <list@email-addr-hidden>
Date: Tue Sep 14 2010 - 23:49:20 EEST

On 09/13/2010 04:43 PM, Paul Davis wrote:
> On Mon, Sep 13, 2010 at 10:38 AM, Olivier Guilyardi <list@email-addr-hidden> wrote:
>> On 09/13/2010 04:25 PM, Paul Davis wrote:
>>> On Mon, Sep 13, 2010 at 9:53 AM, Olivier Guilyardi <list@email-addr-hidden> wrote:
>>>> On 09/12/2010 02:05 PM, Loki Davison wrote:
>>>>
>>>>> Thorsten's design is as always fantastic. :)
>>>> Agreed, it's a a shame his new knob designs at
>>>> http://thorwil.wordpress.com/?s=knobs were never implemented. I think they're
>>>> very cool and somehow remind me of Live knobs.
>>> except ... they were ...
>>>
>>> hans baier took the idea and implemented it in cairo as part of his
>>> prolooks library, and i took what hans had done and incorporated it
>>> into ardour3 in the new monitor section.
>> Okay, I was playing with Vala and Cairo, and the result was rather faithful to
>> the design. Where's this prolooks library? I can't find anything about it. I'll
>> have a look at the new monitor of ardour3. I suppose there might still be a bit
>> of work to make it a fully reusable and customizable widget.
>
> the implementation is in libs/gtkmm2ext/motion_feedback.cc
>
> this has existed for years, but i reimplemented the expose/draw method.

I would quite like to have a look at your knob, but ardour3 r7775 segfaults
here, right after clicking on Apply in the New Session dialog. Attached: output
and backtrace.

Note: I changed the jack dependency to 0.118 in libs/midi++2/wscript and
libs/ardour/wscript, to build with Debian's libjack 1:0.118+svn3796-7.

--
  Olivier

olivier@email-addr-hidden:~/dev/ardour3$ gtk2_ardour/ardev
Ardour3.0pre0 (built using 7775 and GCC version 4.4.5 20100728 (prerelease))
Copyright (C) 1999-2010 Paul Davis
Some portions Copyright (C) Steve Harris, Ari Johnson, Brett Viren, Joel Baker

Ardour comes with ABSOLUTELY NO WARRANTY
not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This is free software, and you are welcome to redistribute it
under certain conditions; see the source for copying conditions.
ardour: [INFO]: Loading default ui configuration file gtk2_ardour/../gtk2_ardour/ardour3_ui_default.conf
Loading ui configuration file gtk2_ardour/../build/default/gtk2_ardour/ardour3_ui_dark.rc
ardour: [INFO]: Ardour will be limited to 1024 open files
ardour: [INFO]: Loading user configuration file /home/olivier/.config/ardour3/ardour.rc
Using SSE optimized routines
Callback to ardour.org ...
Current release is 2.8.11
Unusual local version: 3.0pre0
Found 0 along :/home/olivier/.config/ardour3/templates
Grab new name focus
lost focus
lost focus
no more csLADSPA plugins
Segmentation fault

Program received signal SIGSEGV, Segmentation fault.
0xb607a145 in std::string::assign(std::string const&) () from /usr/lib/libstdc++.so.6
(gdb) bt
#0 0xb607a145 in std::string::assign(std::string const&) () from /usr/lib/libstdc++.so.6
#1 0xb7f4ce09 in XMLNode::XMLNode(XMLNode const&) () from gtk2_ardour/../build/default/libs/pbd/libpbd.so.4
#2 0xb7f4cfee in XMLNode::add_child_copy(XMLNode const&) () from gtk2_ardour/../build/default/libs/pbd/libpbd.so.4
#3 0xb7f42f1c in PBD::Stateful::add_instant_xml(XMLNode&, PBD::sys::path const&) () from gtk2_ardour/../build/default/libs/pbd/libpbd.so.4
#4 0xb7c2dfb6 in ARDOUR::Session::add_instant_xml(XMLNode&, bool) () from gtk2_ardour/../build/default/libs/ardour/libardour.so.3
#5 0x081c1b8a in ARDOUR_UI::build_session(std::string const&, std::string const&, ARDOUR::BusProfile&) ()
#6 0x081c1e8b in ARDOUR_UI::build_session_from_nsd(std::string const&, std::string const&) ()
#7 0x081c22a6 in ARDOUR_UI::get_session_parameters(bool, bool, std::string) ()
#8 0x081c348a in ARDOUR_UI::startup() ()
#9 0x081cd7cc in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR_UI>, void>::call_it(sigc::internal::slot_rep*) ()
#10 0xb76c2e09 in Gtkmm2ext::UI::run(Receiver&) () from gtk2_ardour/../build/default/libs/gtkmm2ext/libgtkmm2ext.so.0
#11 0x085176f7 in main ()

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Wed Sep 15 00:15:01 2010

This archive was generated by hypermail 2.1.8 : Wed Sep 15 2010 - 00:15:02 EEST