From 87a160ba7882c7bf486270734b6c8d2dd7c6d53b Mon Sep 17 00:00:00 2001 From: Spencer Russell Date: Fri, 21 Nov 2014 23:16:12 -0500 Subject: [PATCH] adds wrapper for Pa_GetVersionText --- src/portaudio.jl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/portaudio.jl b/src/portaudio.jl index 6372a96..6b081bb 100644 --- a/src/portaudio.jl +++ b/src/portaudio.jl @@ -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)