From: ruud Date: 2008-03-28T00:29:59+09:00 Subject: accessing mixer values hi group I want to read the volume of the mixer device with a ruby script. Can anybody tell me what the ruby equivalent is of what the MIXER_READ macro does in C? #define SOUND_MIXER_VOLUME 0 #define SOUND_MIXER_READ_VOLUME MIXER_READ(SOUND_MIXER_VOLUME) #define MIXER_READ(dev) _SIOR('M', dev, int) I've been googling with keywords like 'ioctl, MIXER_READ SOUND_MIXER', but with little result. Hopefully someone can me push me in the right direction... thanks in advance, Ruud