Re: sound for linux
- Posted by Bernie <xotron at LOCALNET.COM> Feb 04, 2001
- 499 views
On Sat, 3 Feb 2001 18:13:00 -0500, jbrown <jbrown105 at MY-DEJA.COM> wrote: >I found out about KIOSOUND with ioctl. Just wondering, why didn't >Rob Craig put this in Euphoria for Linux v2.2? When Rob moved Euphoria to Linux he no longer could use any function that used DOS interrupts. I looked at the sound function when I was writing my eu_engin.e library for Linux and saw that it would need a wrapper that used IOCTL but could not think of any way of doing it, so you are correct in saying that it would have to be done within the interpter code. The only other way would to be to added it in as a "C" function in link it into the "C" translated code. As a general rule you can wrap or use any function that is in a shared library. If you take a look at my linux eu_engin.e you will see that I emplimented most of the graphics features that ROB left out of Linux Euphoria. If you want to use sound you might consider trying to use Linux soundcard functions, I didn't look in to using them. Bernie