mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-31 19:07:43 +01:00
use a single controller list
This commit is contained in:
parent
28c89ef3d6
commit
fbf6400955
8 changed files with 394 additions and 370 deletions
|
|
@ -22,15 +22,14 @@
|
|||
#include "console1.h"
|
||||
|
||||
using namespace ARDOUR;
|
||||
using namespace ArdourSurface;
|
||||
|
||||
static ControlProtocol*
|
||||
new_console1 (Session* s)
|
||||
{
|
||||
Console1* console1 = 0;
|
||||
Console1::Console1* console1 = 0;
|
||||
|
||||
try {
|
||||
console1 = new Console1 (*s);
|
||||
console1 = new Console1::Console1 (*s);
|
||||
} catch (failed_constructor& err) {
|
||||
delete console1;
|
||||
console1 = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue