summaryrefslogtreecommitdiffstats
path: root/src/AlsaDriver.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-03-30 23:41:21 +0000
committerDavid Robillard <d@drobilla.net>2014-03-30 23:41:21 +0000
commit59780bd8f9abf376a79ee192325ae868df7d1b5a (patch)
tree5959bf08a7eea9461659b2714053dd0daead04f6 /src/AlsaDriver.cpp
parent77448bc7507c26b964a9159fa1e4035487ccc326 (diff)
downloadpatchage-59780bd8f9abf376a79ee192325ae868df7d1b5a.tar.gz
patchage-59780bd8f9abf376a79ee192325ae868df7d1b5a.tar.bz2
patchage-59780bd8f9abf376a79ee192325ae868df7d1b5a.zip
StateManager => Configuration.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5348 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/AlsaDriver.cpp')
-rw-r--r--src/AlsaDriver.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp
index d894883..b4b43d7 100644
--- a/src/AlsaDriver.cpp
+++ b/src/AlsaDriver.cpp
@@ -268,11 +268,11 @@ AlsaDriver::create_port_view_internal(
bool split = false;
if (is_duplex) {
split = true;
- if (!_app->state_manager()->get_module_split(client_name, !is_application)) {
- _app->state_manager()->set_module_split(client_name, true);
+ if (!_app->configuration()->get_module_split(client_name, !is_application)) {
+ _app->configuration()->set_module_split(client_name, true);
}
} else {
- split = _app->state_manager()->get_module_split(client_name, !is_application);
+ split = _app->configuration()->get_module_split(client_name, !is_application);
}
/*cout << "ALSA PORT: " << client_name << " : " << port_name
@@ -312,7 +312,7 @@ AlsaDriver::create_port(PatchageModule& parent,
{
PatchagePort* ret = new PatchagePort(
parent, ALSA_MIDI, name, is_input,
- _app->state_manager()->get_port_color(ALSA_MIDI));
+ _app->configuration()->get_port_color(ALSA_MIDI));
dynamic_cast<PatchageCanvas*>(parent.canvas())->index_port(
PortID(addr, is_input), ret);