[PD-cvs] externals/gridflow/devices4ruby ChangeLog, NONE, 1.1 README, NONE, 1.1

Mathieu Bouchard matju at users.sourceforge.net
Tue Oct 4 04:12:46 CEST 2005

Update of /cvsroot/pure-data/externals/gridflow/devices4ruby
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23360/devices4ruby

Added Files:
	ChangeLog README 
Log Message:
added the remainder of the files (or almost) from GF 0.8.0



	Mathieu Bouchard <matju at sympatico.ca>
	irc: irc.openprojects.net / #ruby-lang / matju
	(note: I can't read Japanese; write in French or English please)


This is a collection of simple modules that you extend IO objects with, to
give them support for specific devices.  For example:

	require "linux/SoundMixer"
	f = File.open "/dev/mixer"
	f.extend Linux::SoundMixer

	# f now has special accessors for driver variables, e.g:

	f.treble = left_speaker_percent + 256 * right_speaker_percent

The modules are made of automatically generated methods, much like Ruby's
accessors. those generators are called ioctl_reader, ioctl_writer,
ioctl_accessor. Writing expects an integer in -2**31...2**31; reading will
return the same. You may browse the source to find out which accessors are
available, and it's easy to add support for more features.

--- NEW FILE: ChangeLog ---
/* $Id: ChangeLog,v 1.1 2005/10/04 02:12:44 matju Exp $ */

version 0.1.1 (2002.07.29):
 * module Linux::SoundDSP renamed to Linux::SoundPCM (with alias)
 * added installer (ruby extconf.rb && make install)

version 0.1 (2001.06.28):
 * added module IoctlClass, Ioctl
 * added module Linux::SoundDSP (4 accessors)
 * added module Linux::SoundMixer (25 accessors)
 * added module Linux::ParallelPort (2 readers, 2 writers)

More information about the Pd-cvs mailing list