adds wrapper for Pa_GetVersionText
This commit is contained in:
parent
d871de743f
commit
87a160ba78
1 changed files with 5 additions and 0 deletions
|
@ -232,6 +232,11 @@ end
|
||||||
|
|
||||||
Pa_GetVersion() = ccall((:Pa_GetVersion, libportaudio), Cint, ())
|
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,
|
function Pa_OpenDefaultStream(inChannels::Integer, outChannels::Integer,
|
||||||
sampleFormat::PaSampleFormat,
|
sampleFormat::PaSampleFormat,
|
||||||
sampleRate::Real, framesPerBuffer::Integer)
|
sampleRate::Real, framesPerBuffer::Integer)
|
||||||
|
|
Loading…
Reference in a new issue