Linux Sound subsystem development
 help / color / mirror / Atom feed
* How to set gain?
@ 2001-07-12 20:56 David Nedved
  0 siblings, 0 replies; only message in thread
From: David Nedved @ 2001-07-12 20:56 UTC (permalink / raw)
  To: linux-sound

Hi All,

Quick question: how do I set the gain on my sound system?  I'm using mpg123
to play mp3's (in remote mode) and want to be able to vary the volume.  I
think I see how to do it in the opl3sa2 driver code, but I would prefer an
easier and more generic way (so that it will work with any sound card).

I looked for a generic oss.c, oss.h, mixer.c, mixer.h file in the sound
drivers directory of the kernel (2.4.4) but didn't see anything other than
specific drivers for specific cards.  I'm looking for the cleanest most
generic way that makes sense...

A pointer would be very helpful, a code snippet would be a gift from the gods!

Thanks in advance,

David
-
To unsubscribe from this list: send the line "unsubscribe linux-sound" in
the body of a message to majordomo@vger.kernel.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-12 20:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-12 20:56 How to set gain? David Nedved

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox