From: Mathieu Bouchard Date: 2001-07-12T05:52:05+09:00 Subject: [ruby-talk:17678] LinuxDevices 0.1 Announcing LinuxDevices 0.1 Wrote this some time ago... not working often on it though. Code for new devices should be fairly easy to add. There's a semi-automatic *.h constants collector included. http://hostname.2y.net/~matju/LinuxDevices/LinuxDevices-0.1.tar.gz version 0.1: * Linux::SoundDSP (/dev/dsp) * Linux::SoundMixer (/dev/mixer) * Linux::ParallelPort (/dev/lp) sample code: require "linux/SoundDSP" f = File.open("/dev/dsp","w") f.extend Linux::SoundDSP f.rate = 44100 f.channels = 2 f.bits = 16 f.write my_data matju