Jack Carrozzo
Jack Carrozzo
Take a look at the flexi-stream docs, there are examples for streaming into files: http://edicl.github.io/flexi-streams/
I agree with your point that moving the boilerplate template packages into caveman itself would be a lot cleaner- end user code can then choose to implement parts as needed,...
I'm interested to hear the clean way to handle this as well!
I seem to be getting almost the same issue, but unsolved by masking float traps: ```` CL-USER> (sb-int:with-float-traps-masked (:divide-by-zero :invalid) (portaudio:print-devices)) PortAudio version number = 1246976 PortAudio version text =...
For whatever reason, in my case the problem appears to be `is-format-supported`, a foreign-bound function called from `print-supported-standard-sample-rates` which is itself called by `print-devices`. When I shadow `is-format-supported` with a...
In case this is of any value, the bug doesn't occur for me at all (`(print-devices)` returns immediately) on Linux: ```` * (pa:print-devices) Expression 'GetExactSampleRate( hwParams, &defaultSr )' failed in...
Hm this is interesting- portaudio's `examples/pa_devs.c` does more or less exactly what cl-portaudio's `(print-devices)` does, but the former works on my laptop where the latter did not: ```` [jackc@n] ~/Projects/portaudio...
Ahh good call @lispnik , it does indeed work as expected when I do what you suggested: `sbcl --eval '(ql:quickload :cl-portaudio)' --eval '(sb-int:with-float-traps-masked (:divide-by-zero :invalid) (portaudio:print-devices))' --quit` This is the...
OK, here are my results trying all four methods, conveniently commented in my swank init: ```` ~ $ cat .swank.lisp ;; this works! (setq SWANK:*COMMUNICATION-STYLE* nil) ;; cl-portaudio hangs while...
The way I have solved this is to have lots of packages (myproj.whatever) export functions etc that do things, then a myproj.http that depends on all of them and ties...