fixes another allocation when run with inlining off

This commit is contained in:
Spencer Russell 2016-07-30 02:05:00 -04:00
parent 829a09a2ae
commit 7cccb28d2b

View file

@ -281,7 +281,7 @@ function portaudio_callback{T}(inptr::Ptr{T}, outptr::Ptr{T},
# TODO: send a notification to an error msg ringbuf # TODO: send a notification to an error msg ringbuf
# TODO (maybe): we could do a partial write if there's anything in the # TODO (maybe): we could do a partial write if there's anything in the
# ringbuf, and minimize the dropout # ringbuf, and minimize the dropout
memset(outptr, 0, sizeof(T)*nframes*info.outchannels) memset(outptr, 0, sizeof(T)*outsamples)
return paContinue return paContinue
end end