Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Oct 1999 15:12:51 -0800 (PST)
From:      kushn@mail.kar.net
To:        freebsd-gnats-submit@freebsd.org
Subject:   kern/14634: Mixer synth & mixer CD seem to be swapped for Yamaha OPL SAx under newpcm 
Message-ID:  <19991031231251.BA50114CC5@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 <non_zero_value>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991031231251.BA50114CC5>