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: Thu, 30 Mar 2006 21:43:42 +0100 [thread overview]
Message-ID: <1143751422.9265.1.camel@localhost.localdomain> (raw)
In-Reply-To: <20060330125559.GC12081@turing.informatik.uni-halle.de>
On Thu, 2006-03-30 at 14:55 +0200, Clemens Ladisch wrote:
> Adrian McMenamin wrote:
> > My mixer code is currently not working because my device does not report
> > the availability of SOUND_MASK_VOLUME to the oss emulation code.
>
> ALSA's OSS emulation automatically computed the mask value.
>
> > In the olden days I'd just write the ioctl - presumably I don't have to
> > do that with ALSA? How do I get round it?
>
> 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)?
-------------------------------------------------------
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
next prev parent reply other threads:[~2006-03-30 20:43 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 [this message]
2006-03-31 9:37 ` Clemens Ladisch
2006-04-01 9:25 ` Adrian McMenamin
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=1143751422.9265.1.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.