[Haskell-cafe] "Segmentation fault/access violation" when working with FFI
Leza Morais Lutonda
leza.ml at fecrd.cujae.edu.cu
Tue Jan 7 19:16:11 UTC 2014
El 1/7/2014 07:03, John Van Enk escribió:
> Hi Leza,
>
> Unfortunately, this project is really really old and rather broken.
> I've tried to address it in the last few years a few times, but I've
> been unable to block out enough time to give portaudio's bindings the
> love and care they need.
>
> I'm truly sorry for the condition of the code. I don't believe the
> package can be relied upon right now.
>
> John Van Enk
>
Fortunately I could solve the problem (unfortunately without knowing
exactly what was causing it). I guess there is a bug in Sound.PortAudio
module that causes the problem.
What I did is to work directly with the bindings functions to the C Api
in module Sound.PortAudio.Base and make my own `play` function.
Maybe someday I can contribute to the package since I am very interested
in easily playing sound with haskell.
Thanks.
--
Leza Morais Lutonda
https://github.com/lemol
More information about the Haskell-Cafe
mailing list