Brad Fitzpatrick (brad) wrote,
Brad Fitzpatrick

/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.

  • Ukraine

    Nobody reads my LiveJournal anymore, but thank you to everybody in Russia protesting Putin's insane war against Ukraine. (I know it's risky…

  • Happy Birthday!

    Happy 20th Birthday, LiveJournal! 🐐🎂🎉

  • hi

    Posting from the iPhone app. Maybe I'm unblocked now.

  • Post a new comment


    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.