9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] kw audio -- /dev/audio and friends
@ 2010-10-26 14:06 Tristan Plumb
  2010-10-26 14:31 ` Russ Cox
  2010-10-27 12:30 ` Tristan Plumb
  0 siblings, 2 replies; 16+ messages in thread
From: Tristan Plumb @ 2010-10-26 14:06 UTC (permalink / raw)
  To: 9fans

i've been working on an an audio driver for the kirkwood for a while now,
indeed it's been working well for a while now. at this point i'm mostly
struggling to figure out the mixer/controls/codec filesystem interface.

if any of this is incorrect, please correct me.

the soundblaster driver has audio for data and volume for control:
name [in l r] [out l r]

usb/audio has audio and audioin for data and audioctl for control:
name (in|out) val min [max [res]]
with writes looking like volume

as yet, i have audio and audioin with audioctl and audioinctl:
name min max( val)+
writes:
name( val)+

mostly this just feels better to me. it has both single and multiple
values, it can handle cards with more than one channel in or out (not
that i'm working with one), and it's simple. but it doesn't indicate
card-wide controls (i have a few), and it's yet another incompatable
interface.

do any of you folks have opinions on these interfaces? i would like to
use a simple and extendible interface for the kirkwood driver, and am
willing to convert the soundblaster and usb drivers and sound programs
(though i don't have the hardware to test).

tristan

--
All original matter is hereby placed immediately under the public domain.



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2010-10-28 13:26 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-26 14:06 [9fans] kw audio -- /dev/audio and friends Tristan Plumb
2010-10-26 14:31 ` Russ Cox
2010-10-26 14:49   ` erik quanstrom
2010-10-27 12:30 ` Tristan Plumb
2010-10-27 12:50   ` Lucio De Re
2010-10-27 13:29   ` erik quanstrom
2010-10-27 14:15     ` Tristan Plumb
2010-10-27 18:58       ` Anthony Sorace
2010-10-27 20:07         ` Skip Tavakkolian
2010-10-27 21:05           ` David Leimbach
2010-10-28  0:11           ` Tristan Plumb
2010-10-28  3:01             ` Anthony Sorace
2010-10-28  7:53               ` yy
2010-10-28 12:38                 ` Tristan Plumb
2010-10-28 13:07                   ` Gorka Guardiola
2010-10-28 13:26                     ` Tristan Plumb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).