mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
for an ipMIDI surface, make the GSource used for input hold the only reference on the GUIChannel.
This commit is contained in:
parent
7e10c21468
commit
bda0ba173c
3 changed files with 9 additions and 12 deletions
|
|
@ -92,7 +92,6 @@ Surface::Surface (MackieControlProtocol& mcp, const std::string& device_name, ui
|
|||
, _master_fader (0)
|
||||
, _last_master_gain_written (-0.0f)
|
||||
, connection_state (0)
|
||||
, input_channel (0)
|
||||
, input_source (0)
|
||||
{
|
||||
DEBUG_TRACE (DEBUG::MackieControl, "Surface::Surface init\n");
|
||||
|
|
@ -169,11 +168,6 @@ Surface::~Surface ()
|
|||
input_source = 0;
|
||||
}
|
||||
|
||||
if (input_channel) {
|
||||
g_io_channel_unref (input_channel);
|
||||
input_channel = 0;
|
||||
}
|
||||
|
||||
delete _jog_wheel;
|
||||
delete _port;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue