Brad Fitzpatrick (brad) wrote,
Brad Fitzpatrick
brad

/dev/dsp through a FIFO

I created a fifo, made xmms write into that, then wrote a tiny program to both feed into the real /dev/dsp and (stubbed out) send UDP packets to the living room laptop.

But I forgot: to use /dev/dsp you have to use ioctls to set the rate and such, so the sound turned out shitty. Bleh.

So now I have to figure out how to capture and redirect the ioctls ... I guess? Anybody know how to do that?

Okay, enough of this project for today.
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 5 comments