summaryrefslogtreecommitdiffstats
path: root/src/AtomReader.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-02-02 18:44:27 +0000
committerDavid Robillard <d@drobilla.net>2014-02-02 18:44:27 +0000
commit9de25ab8525edac98187221815fa2867687b26f0 (patch)
tree875bfc8f30e0d0505fd8716a012597ed6e0da795 /src/AtomReader.cpp
parentdb9c2f21eaf8952cf17a06db508879d61e6d007f (diff)
downloadingen-9de25ab8525edac98187221815fa2867687b26f0.tar.gz
ingen-9de25ab8525edac98187221815fa2867687b26f0.tar.bz2
ingen-9de25ab8525edac98187221815fa2867687b26f0.zip
Disable responses in the usual case where the UI doesn't care.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5333 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/AtomReader.cpp')
-rw-r--r--src/AtomReader.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/AtomReader.cpp b/src/AtomReader.cpp
index 2f3cf695..ca083497 100644
--- a/src/AtomReader.cpp
+++ b/src/AtomReader.cpp
@@ -134,11 +134,7 @@ AtomReader::write(const LV2_Atom* msg)
const int32_t seq_id = ((number && number->type == _uris.atom_Int)
? ((const LV2_Atom_Int*)number)->body
: 0);
- if (seq_id) {
- _iface.set_response_id(seq_id);
- } else {
- _iface.set_response_id(-1);
- }
+ _iface.set_response_id(seq_id);
if (obj->body.otype == _uris.patch_Get) {
_iface.get(Raul::URI(subject_uri));