Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Nov 2014 22:12:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-emulation@FreeBSD.org
Subject:   [Bug 169896] [patch] audio/linux-f10-alsa-lib: use OSS plugin by default
Message-ID:  <bug-169896-4075-ihjwyf4Rd7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-169896-4075@https.bugs.freebsd.org/bugzilla/>
References:  <bug-169896-4075@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=169896

Jan Beich <jbeich@vfemail.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #149455|0                           |1
        is obsolete|                            |

--- Comment #19 from Jan Beich <jbeich@vfemail.net> ---
Created attachment 149456
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=149456&action=edit
use system asound.conf (f10 and c6), v1.1

Doh, I forgot about the conflict with etc/alsa/pulse-default.conf. Currently
linux-c6-alsa-plugins-oss and linux-c6-alsa-plugins-pulseaudio compete for the
default output/mixer device. My guess the last one wins in the following
scenario.

  # /compat/linux/etc/asound.conf
  @hooks [
          {
                  func load
                  files [
                          "/etc/alsa/pcm/pcm-oss.conf"
                          "/etc/alsa/pulse-default.conf"
                  ]
                  errors false
          }
  ]

  # /compat/linux/etc/alsa/pcm/pcm-oss.conf
  pcm.!default {
        type oss
        device /dev/dsp
        hint {
                description "Open Sound System"
        }
  }

  # /compat/linux/etc/alsa/pulse-default.conf
  pcm.!default {
      type pulse
      hint {
          description "Default"
      }
  }

In short, by using linux-c6- a user would trade one bug for another. While
harmless *with* the patch here applied better remove all no longer used
/etc/alsa/*.conf to avoid confusion.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-169896-4075-ihjwyf4Rd7>