From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 18 Jan 2008 14:26:13 +0100 From: Enrico Weigelt To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] Mixer-FS Message-ID: <20080118132613.GA8175@nibiru.local> References: <82c890d00801170120y14b1a09ar79c4324ca4d212a8@mail.gmail.com> <884f94db2b69e3038cc6e214e12c61f7@yourdomain.dom> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <884f94db2b69e3038cc6e214e12c61f7@yourdomain.dom> User-Agent: Mutt/1.4.1i Topicbox-Message-UUID: 31d2b1be-ead3-11e9-9d60-3106f5b1d025 * Federico G. Benavento wrote: > > take a look at the varous slider.c in /contrib (fgb did one for me time ago) > > slider is at /n/sources/contrib/fgb/cmd/slider.c it uses control(2) > and accepts -c col1 col2 col2, the idea was to have several slider's > one per mixer opt, volume, etc. hence the colors opts > > % slider | while(v=`{read}){echo volume $v > /dev/volume} hmm, I'm not sure if this is what I'm looking for. I'd like to have an filesystem representation of an mixer device's status - separated by channel. For example, per mixer device tree: /name verbose device name /channels/ subdir for channels /pcm channel named "pcm" /name verbose channel name (eg. "PCM") /mute boolean flag for muting /volume-r right side volume /volume-l left side volume /mic channal named "mic" ... cu -- --------------------------------------------------------------------- Enrico Weigelt == metux IT service - http://www.metux.de/ --------------------------------------------------------------------- Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ ---------------------------------------------------------------------