Skip to content
Snippets Groups Projects
Commit 06c22c25 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

port from Pd Vanilla: readsf fix for short soundfiles

if the entire soundfile fits into the fifo, then [readsf~] will start
to loop the file, since the 'drained' test in d_soundfile.c:1937 does
not trigger.
the fix is to properly set the fifohead (in the read thread) to the new
position, even if the read() returned '0' (indicating EOF)

commit 057cb3ee6cc58597a1b74a00a7880c2cfd0a466a
parent 30ae40fa
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment