From owner-freebsd-bugs Sun Oct 31 15:20: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id BC21F14EE0 for ; Sun, 31 Oct 1999 15:20:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA90099; Sun, 31 Oct 1999 15:20:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id BA50114CC5; Sun, 31 Oct 1999 15:12:51 -0800 (PST) Message-Id: <19991031231251.BA50114CC5@hub.freebsd.org> Date: Sun, 31 Oct 1999 15:12:51 -0800 (PST) From: kushn@mail.kar.net To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: kern/14634: Mixer synth & mixer CD seem to be swapped for Yamaha OPL SAx under newpcm Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 14634 >Category: kern >Synopsis: Mixer synth & mixer CD seem to be swapped for Yamaha OPL SAx under newpcm >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 31 15:20:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Vladimir Kushnir >Release: FreeBSD-current >Organization: >Environment: FreeBSD kushnir.kiev.ua 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Sun Oct 31 14:11:20 EET 1999 root@kushnir.kiev.ua:/usr/src/sys/compile/KUSHNIR i386 >Description: Mixr tables for synth & CD under newpcm are swapped (at least, for Yamaha OPL SA2) so that mixer synth (not implemented as yet device) actually controls volume for CD-DA >How-To-Repeat: mixer synth 0:0 Mixer synth is currently set to 0:0 Result: no sound out of the CD. At the same time, setting `mixer synth enables sound for CD plyers (cdcomtrol, ascd and so on) >Fix: Don't know if this is a common feature for all the MSS-compatibles, but with my Yamaha OPL SA2 card works swapping of tables: *************** *** 172,183 **** MIX_NONE(SOUND_MIXER_VOLUME), MIX_NONE(SOUND_MIXER_BASS), MIX_NONE(SOUND_MIXER_TREBLE), ! MIX_ENT(SOUND_MIXER_SYNTH, 2, 1, 0, 5, 3, 1, 0, 5), MIX_ENT(SOUND_MIXER_PCM, 6, 1, 0, 6, 7, 1, 0, 6), MIX_ENT(SOUND_MIXER_SPEAKER, 26, 1, 0, 4, 0, 0, 0, 0), MIX_ENT(SOUND_MIXER_LINE, 18, 1, 0, 5, 19, 1, 0, 5), MIX_ENT(SOUND_MIXER_MIC, 0, 0, 5, 1, 1, 0, 5, 1), ! MIX_ENT(SOUND_MIXER_CD, 4, 1, 0, 5, 5, 1, 0, 5), MIX_ENT(SOUND_MIXER_IMIX, 13, 1, 2, 6, 0, 0, 0, 0), MIX_NONE(SOUND_MIXER_ALTPCM), MIX_NONE(SOUND_MIXER_RECLEV), --- 172,183 ---- MIX_NONE(SOUND_MIXER_VOLUME), MIX_NONE(SOUND_MIXER_BASS), MIX_NONE(SOUND_MIXER_TREBLE), ! MIX_ENT(SOUND_MIXER_SYNTH, 4, 1, 0, 5, 5, 1, 0, 5), MIX_ENT(SOUND_MIXER_PCM, 6, 1, 0, 6, 7, 1, 0, 6), MIX_ENT(SOUND_MIXER_SPEAKER, 26, 1, 0, 4, 0, 0, 0, 0), MIX_ENT(SOUND_MIXER_LINE, 18, 1, 0, 5, 19, 1, 0, 5), MIX_ENT(SOUND_MIXER_MIC, 0, 0, 5, 1, 1, 0, 5, 1), ! MIX_ENT(SOUND_MIXER_CD, 2, 1, 0, 5, 3, 1, 0, 5), MIX_ENT(SOUND_MIXER_IMIX, 13, 1, 2, 6, 0, 0, 0, 0), MIX_NONE(SOUND_MIXER_ALTPCM), MIX_NONE(SOUND_MIXER_RECLEV), >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message