fixes another allocation when run with inlining off
This commit is contained in:
parent
829a09a2ae
commit
7cccb28d2b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue