summaryrefslogtreecommitdiffstats
path: root/src/PatchageEvent.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-12-19 22:58:06 +0000
committerDavid Robillard <d@drobilla.net>2007-12-19 22:58:06 +0000
commit5c092eb9b185c92fe11926a72a7bdaeb638520b3 (patch)
treeb421007d88df4fa82a02b98d498425bbf54df0f0 /src/PatchageEvent.cpp
parent507ddc607504f0629e9cc110fa1a6b1c28477f85 (diff)
downloadpatchage-5c092eb9b185c92fe11926a72a7bdaeb638520b3.tar.gz
patchage-5c092eb9b185c92fe11926a72a7bdaeb638520b3.tar.bz2
patchage-5c092eb9b185c92fe11926a72a7bdaeb638520b3.zip
Follow ALSA changes, in a kludgey ridiculously slow way.
git-svn-id: http://svn.drobilla.net/lad/patchage@984 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageEvent.cpp')
-rw-r--r--src/PatchageEvent.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/PatchageEvent.cpp b/src/PatchageEvent.cpp
index c3fd144..2b2941b 100644
--- a/src/PatchageEvent.cpp
+++ b/src/PatchageEvent.cpp
@@ -71,7 +71,9 @@ PatchageEvent::execute(Patchage* patchage)
{
//cerr << "{ EXECUTING EVENT" << endl;
- if (_type == PORT_CREATION) {
+ if (_type == REFRESH) {
+ patchage->refresh();
+ } else if (_type == PORT_CREATION) {
jack_port_t* jack_port = NULL;
if (patchage->jack_driver()->client())
jack_port = jack_port_by_id(patchage->jack_driver()->client(), _port_1.id.jack_id);