From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrian McMenamin Subject: Re: OSS emulation question Date: Sat, 01 Apr 2006 10:25:44 +0100 Message-ID: <1143883544.9228.0.camel@localhost.localdomain> References: <1143673730.15278.7.camel@localhost.localdomain> <20060330125559.GC12081@turing.informatik.uni-halle.de> <1143751422.9265.1.camel@localhost.localdomain> <20060331093731.GB21761@turing.informatik.uni-halle.de> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060331093731.GB21761@turing.informatik.uni-halle.de> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Clemens Ladisch Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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