summaryrefslogtreecommitdiffstats
path: root/src/AlsaDriver.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-06-11 18:05:56 +0000
committerDavid Robillard <d@drobilla.net>2011-06-11 18:05:56 +0000
commit78cd5c462f1583131409abbaab596dcd419d3307 (patch)
treed0f0b80ff0f8d6c61f44fa1a73e8fdc5c52fec91 /src/AlsaDriver.cpp
parent9d651dcd3b58d38b8b28f1b5b8709708934f71d6 (diff)
downloadpatchage-78cd5c462f1583131409abbaab596dcd419d3307.tar.gz
patchage-78cd5c462f1583131409abbaab596dcd419d3307.tar.bz2
patchage-78cd5c462f1583131409abbaab596dcd419d3307.zip
Remove dead code.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3385 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/AlsaDriver.cpp')
-rw-r--r--src/AlsaDriver.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp
index 2ddb2b6..1e5490b 100644
--- a/src/AlsaDriver.cpp
+++ b/src/AlsaDriver.cpp
@@ -251,7 +251,6 @@ AlsaDriver::create_port_view_internal(
bool is_input = false;
bool is_duplex = false;
bool is_application = true;
- bool need_refresh = false;
int caps = snd_seq_port_info_get_capability(pinfo);
int type = snd_seq_port_info_get_type(pinfo);
@@ -272,7 +271,6 @@ AlsaDriver::create_port_view_internal(
if (is_duplex) {
split = true;
if (!_app->state_manager()->get_module_split(client_name, !is_application)) {
- need_refresh = true;
_app->state_manager()->set_module_split(client_name, true);
}
} else {
@@ -516,7 +514,6 @@ AlsaDriver::_refresh_main()
}
int caps = 0;
- int type = 0;
snd_seq_client_info_t* cinfo;
snd_seq_client_info_alloca(&cinfo);
@@ -545,7 +542,6 @@ AlsaDriver::_refresh_main()
snd_seq_get_any_client_info(_seq, ev->data.addr.client, cinfo);
snd_seq_get_any_port_info(_seq, ev->data.addr.client, ev->data.addr.port, pinfo);
caps = snd_seq_port_info_get_capability(pinfo);
- type = snd_seq_port_info_get_type(pinfo);
if (!ignore(ev->data.addr))
_events.push(PatchageEvent(PatchageEvent::PORT_CREATION,