clap

CLAP Audio Plugin API
Log | Files | Refs | README | LICENSE

commit 8d29623522546ed55ebc79279e785da1701dde7f
parent 866205ace6bd152c353766f34141ce6c08921877
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date:   Tue, 14 Sep 2021 14:59:02 +0200

fix EOF on io channel

Diffstat:
Mexamples/plugins/io/remote-channel.cc | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/examples/plugins/io/remote-channel.cc b/examples/plugins/io/remote-channel.cc @@ -32,8 +32,10 @@ namespace clap { return; } - if (nbytes == 0) + if (nbytes == 0) { + close(); return; + } _inputBuffer.wrote(nbytes); processInput();