adds wrapper for Pa_GetVersionText

This commit is contained in:
Spencer Russell 2014-11-21 23:16:12 -05:00
parent d871de743f
commit 87a160ba78

View file

@ -232,6 +232,11 @@ end
Pa_GetVersion() = ccall((:Pa_GetVersion, libportaudio), Cint, ())
function Pa_GetVersionText()
versionPtr = ccall((:Pa_GetVersionText, libportaudio), Ptr{Cchar}, ())
bytestring(versionPtr)
end
function Pa_OpenDefaultStream(inChannels::Integer, outChannels::Integer,
sampleFormat::PaSampleFormat,
sampleRate::Real, framesPerBuffer::Integer)