(bind-func PaStreamInfo_toString
"specialised toString function for PaStreamInfo*"
(lambda (info:PaStreamInfo*)
(let ((str:i8* (salloc 256)))
(if (null? info)
(sprintf str "<PaStreamInfo 0x0>")
(sprintf str "<PaStreamInfo %p
structVersion: %d
inputLatency: %f
outputLatency: %f
sampleRate: %f>"
info
(tref info 0)
(convert (tref info 1) double)
(convert (tref info 2) double)
(convert (tref info 3) double)))
(Str str))))