All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian McMenamin <adrian@mcmen.demon.co.uk>
To: Clemens Ladisch <clemens@ladisch.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: OSS emulation question
Date: Sat, 01 Apr 2006 10:25:44 +0100	[thread overview]
Message-ID: <1143883544.9228.0.camel@localhost.localdomain> (raw)
In-Reply-To: <20060331093731.GB21761@turing.informatik.uni-halle.de>

On Fri, 2006-03-31 at 11:37 +0200, Clemens Ladisch wrote:
> Adrian McMenamin wrote:
> > On Thu, 2006-03-30 at 14:55 +0200, Clemens Ladisch wrote:
> > > See snd_mixer_oss_build() in core/oss/mixer_oss.c for a list of mixer
> > > control names that get mapped to OSS controls (e.g., "Master Playback
> > > Volume"/"...Switch" would be mapped to SOUND_MIXER_VOLUME).
> > 
> > I have implemented master volume and master switch but all I get is:
> > 
> > audio/gain: setable Volume/PCM-Level not supported by your audio device:
> > 0000
> > 
> > what is the minimum set of controls I need to have settable volume
> > in /dev/mixer (ie oss emulation)?
> 
> One control should be enough.
> 
> What are the contents of /proc/asound/cardX/oss_mixer?

Doesn't look good....


/proc/asound/card0 # cat oss_mixer
VOLUME "" 0
BASS "" 0
TREBLE "" 0
SYNTH "" 0
PCM "" 0
SPEAKER "" 0
LINE "" 0
MIC "" 0
CD "" 0
IMIX "" 0
ALTPCM "" 0
RECLEV "" 0
IGAIN "" 0
OGAIN "" 0
LINE1 "" 0
LINE2 "" 0
LINE3 "" 0
DIGITAL1 "" 0
DIGITAL2 "" 0
DIGITAL3 "" 0
PHONEIN "" 0
PHONEOUT "" 0
VIDEO "" 0
RADIO "" 0
MONITOR "" 0





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

  reply	other threads:[~2006-04-01  9:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-29 23:08 OSS emulation question Adrian McMenamin
2006-03-30 12:55 ` Clemens Ladisch
2006-03-30 20:43   ` Adrian McMenamin
2006-03-31  9:37     ` Clemens Ladisch
2006-04-01  9:25       ` Adrian McMenamin [this message]
2006-04-01 13:32       ` Adrian McMenamin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1143883544.9228.0.camel@localhost.localdomain \
    --to=adrian@mcmen.demon.co.uk \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=clemens@ladisch.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.