13
0
Go to file
Robin Gareus 8f5df7ed28
Fix console1 crashes when no surface is present
e.g. selecting a track causes a ControlNotFoundException
if the ctrl surface is enabled, but no hardware is connected.

terminate called after throwing an instance of 'ArdourSurface::ControlNotFoundExceptio

```
#0  0x00007ffff14d8c2e in __cxa_throw () at /lib/x86_64-linux-gnu/libstdc++.so.6
#1  0x00007fffe2b560a0 in ArdourSurface::Console1::get_button(ArdourSurface::Console1::ControllerID) const (this=0x61d0017e1c80, id=ArdourSurface::Console1::FOCUS1)
    at ../libs/surfaces/console1/console1.cc:928
#2  0x00007fffe2bfc647 in ArdourSurface::Console1::map_select() (this=0x61d0017e1c80) at ../libs/surfaces/console1/c1_operations.cc:653
#3  0x00007fffe2b55384 in ArdourSurface::Console1::map_stripable_state() (this=0x61d0017e1c80) at ../libs/surfaces/console1/console1.cc:832
#4  0x00007fffe2b541ab in ArdourSurface::Console1::set_current_stripable(std::shared_ptr<ARDOUR::Stripable>)
...
```

This does at least fix the crash. Ideally the surface would
only be enabled if there is hardware present.
2023-10-19 21:58:28 +02:00
doc short doc on drawing cairo single pixel lines 2023-07-17 16:46:54 -06:00
gtk2_ardour conform to platform expectations for scroomer select mouse ops 2023-10-18 10:14:34 -06:00
headless wscript: drop str() on VERSION 2023-10-15 10:47:16 -06:00
libs Fix console1 crashes when no surface is present 2023-10-19 21:58:28 +02:00
luasession wscript: sanitize strings from fetch_*_revision_date early instead of applying str() all over 2023-10-15 10:47:16 -06:00
msvc_extra_headers
MSVCardour3 remove midi_scroomer.h from MSVC project file 2023-09-10 18:20:35 -06:00
MSVCMixbus3
MSVCvst_scan
session_utils wscript: sanitize strings from fetch_*_revision_date early instead of applying str() all over 2023-10-15 10:47:16 -06:00
share Update scripts for new bonuce_range API 2023-10-16 21:12:42 +02:00
tools wscript: drop str() on VERSION 2023-10-15 10:47:16 -06:00
.dir-locals.el
.gitattributes
.gitignore
ardour.1 Update tracker/reference URLs to prefer HTTPs 2022-10-24 04:59:20 +02:00
COPYING add plugin clarification to COPYING 2023-04-26 13:28:29 -06:00
nutempo-todo
PACKAGER_README
README
README-GITHUB.txt Update tracker/reference URLs to prefer HTTPs 2022-10-24 04:59:20 +02:00
system_config
TRANSLATORS Update translation howto 2023-09-24 19:58:25 +02:00
waf upgrade waf to 2.0.26 (includes new autowaf.py version) 2023-09-23 12:09:52 -06:00
wscript Revert "wscript: drop unnecessary str() on configure variables" 2023-10-16 21:15:25 +02:00

Please see the Ardour web site at https://ardour.org/ for all documentation..

For information on building ardour: 
      
     https://ardour.org/development.html