aboutsummaryrefslogtreecommitdiff
path: root/sandbox_ui.lv2
diff options
context:
space:
mode:
authorGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2017-05-04 22:49:31 +0200
committerGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2017-05-04 22:49:31 +0200
commita94c8ac6e1d8944ed451f90f5da6999b4b7bef73 (patch)
tree26a08fef0e9cd3e51cb05c792dcb579bbf1aed95 /sandbox_ui.lv2
parente64706f166a03130513e53024f236ae042ccea4e (diff)
downloadsynthpod-a94c8ac6e1d8944ed451f90f5da6999b4b7bef73.zip
synthpod-a94c8ac6e1d8944ed451f90f5da6999b4b7bef73.tar.gz
synthpod-a94c8ac6e1d8944ed451f90f5da6999b4b7bef73.tar.bz2
synthpod-a94c8ac6e1d8944ed451f90f5da6999b4b7bef73.tar.xz
debug: notify about buffer overflows.
Diffstat (limited to 'sandbox_ui.lv2')
-rw-r--r--sandbox_ui.lv2/sandbox_io.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sandbox_ui.lv2/sandbox_io.h b/sandbox_ui.lv2/sandbox_io.h
index 4fbe101..9be9972 100644
--- a/sandbox_ui.lv2/sandbox_io.h
+++ b/sandbox_ui.lv2/sandbox_io.h
@@ -318,6 +318,10 @@ _sandbox_io_flush(sandbox_io_t *io)
varchunk_write_advance(&tx->varchunk, sz);
sem_post(&tx->sem);
}
+ else
+ {
+ fprintf(stderr, "_sandbox_io_flush: buffer overflow\n");
+ }
}
_sandbox_io_reset(io);