diff options
author | David Robillard <d@drobilla.net> | 2007-02-10 20:48:54 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-02-10 20:48:54 +0000 |
commit | 2f652fcefc7e7bfe3b9c3b56172a2d69ee604cbf (patch) | |
tree | 9bed2d012b04c729e0370a36904d3ba205e15954 /src/libs/engine/AlsaMidiDriver.cpp | |
parent | 69de9f5364094e0cafe818a4a1e5af96f8a42a07 (diff) | |
download | ingen-2f652fcefc7e7bfe3b9c3b56172a2d69ee604cbf.tar.gz ingen-2f652fcefc7e7bfe3b9c3b56172a2d69ee604cbf.tar.bz2 ingen-2f652fcefc7e7bfe3b9c3b56172a2d69ee604cbf.zip |
Alsa compile fixes.
Removed unecessary MIDI normalization in Jack MIDI driver.
git-svn-id: http://svn.drobilla.net/lad/ingen@301 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/AlsaMidiDriver.cpp')
-rw-r--r-- | src/libs/engine/AlsaMidiDriver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/engine/AlsaMidiDriver.cpp b/src/libs/engine/AlsaMidiDriver.cpp index 47566880..81f9ccc5 100644 --- a/src/libs/engine/AlsaMidiDriver.cpp +++ b/src/libs/engine/AlsaMidiDriver.cpp @@ -322,11 +322,11 @@ AlsaMidiDriver::remove_port(const Path& path) for (Raul::List<AlsaMidiPort*>::iterator i = _in_ports.begin(); i != _in_ports.end(); ++i) if ((*i)->patch_port()->path() == path) - return _in_ports.remove(i)->elem(); + return _in_ports.erase(i)->elem(); // FIXME: leak for (Raul::List<AlsaMidiPort*>::iterator i = _out_ports.begin(); i != _out_ports.end(); ++i) if ((*i)->patch_port()->path() == path) - return _out_ports.remove(i)->elem(); + return _out_ports.erase(i)->elem(); // FIXME: leak cerr << "[AlsaMidiDriver::remove_port] WARNING: Failed to find Jack port to remove!" << endl; return NULL; |