Date: Sun, 14 Aug 2005 11:38:38 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: Julian Elischer <julian@elischer.org> Cc: "A. Wik" <aw@aw.gs>, multimedia@freebsd.org, John Baldwin <jhb@freebsd.org> Subject: Re: SB 3DSE ioctl() patch Message-ID: <20050814113838.762e6330@Magellan.Leidinger.net> In-Reply-To: <42FE5ED1.5070209@elischer.org> References: <20050806084910.N13128@dynamite.narpes.com> <200508081346.16811.jhb@FreeBSD.org> <20050813150300.5d4d11f2@Magellan.Leidinger.net> <42FE5ED1.5070209@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 13 Aug 2005 13:57:53 -0700 Julian Elischer <julian@elischer.org> wrote: > Alexander Leidinger wrote: > > > > > I haven't looked at the patch, but from looking at the names of the > > files I assume you've a program which kust is responsible for > > activating the 3D stereo enhancement. While this enables this > > functionality (which is good), there should be a generic "sndctl" > > program which allows to manipulates multiple settings. So the sndctl > > program could be called in this case for exmaple as "sndctl 3dse > > on" (or something like this). Maybe you can add some rough command line > > parsing to your program which reacts on a keyword like above? Ideally > > it should support the "-f" option like mixer(8) does. > > > > I want to work on something like this for the s/pdif <-> analog > > features (ATM only available as sysctl's in -current), but I don't know > > when I get time to do it. Your ctl program could then be enhanced to > > also handle this (and maybe other things like querying for such > > capabilities and print them together with the current state of > > operation). > > Isn't "mixer" the equivalent of "sndctl"? > Just add the functionality to mixer.. ---snip--- % man -k mixer mixer(8) - set/display soundcard mixer values ---snip--- For me the mixer is a device which controls the volume level of various streams and is responsible how to mix those streams into each other. The mixer(8) program is a program which allows to manipulate the mixer (let's compare it with network routing and bandwith management). The sndctrl program would be responsible to query and change various properties/capabilities of the soundsystem (let's compare it with configuring a network interface with ifconfig) which don't have to be related to the mixer, e.g. Ariff is working on "slave-channels", which decouple the hardware buffer from the userland buffer. ATM slave-channels are controled by a sysctl like the vchans. This could be changed to be controled by sndctl. I don't think this falls into the responsibility of mixer(8). What are the arguments to integrate it into mixer(8)? Bye, Alexander. -- The best things in life are free, but the expensive ones are still worth a look. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050814113838.762e6330>