Date: Sun, 1 Dec 2013 00:59:56 GMT From: svn-freebsd-gecko@chruetertee.ch To: freebsd-gecko@freebsd.org Subject: [SVN-Commit] r1415 - trunk/audio/alsa-lib/files Message-ID: <201312010059.rB10xuhu017151@trillian.chruetertee.ch>
next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Dec 1 00:59:56 2013
New Revision: 1415
Log:
change default alsa config to auto-convert floats
This makes firefox non-plugin audio work even when built with
MOZ_SAMPLE_TYPE_FLOAT32 like it's done in official linux builds.
PR: ports/184006 (sans bogus ctl.! device change)
Modified:
trunk/audio/alsa-lib/files/asound.conf.sample
Modified: trunk/audio/alsa-lib/files/asound.conf.sample
==============================================================================
--- trunk/audio/alsa-lib/files/asound.conf.sample Sun Dec 1 00:59:50 2013 (r1414)
+++ trunk/audio/alsa-lib/files/asound.conf.sample Sun Dec 1 00:59:56 2013 (r1415)
@@ -1,9 +1,16 @@
#
# FreeBSD/OSS
#
+pcm_slave.oss {
+ pcm {
+ type oss
+ device /dev/dsp
+ }
+}
+
pcm.!default {
- type oss
- device /dev/dsp
+ type plug
+ slave pcm_slave.oss
}
ctl.!default {
@@ -15,28 +22,28 @@
# Remap all possible surround stuffs.
#
pcm.!surround40 {
- type oss
- device /dev/dsp
+ type plug
+ slave pcm_slave.oss
}
pcm.!surround41 {
- type oss
- device /dev/dsp
+ type plug
+ slave pcm_slave.oss
}
pcm.!surround50 {
- type oss
- device /dev/dsp
+ type plug
+ slave pcm_slave.oss
}
pcm.!surround51 {
- type oss
- device /dev/dsp
+ type plug
+ slave pcm_slave.oss
}
pcm.!surround71 {
- type oss
- device /dev/dsp
+ type plug
+ slave pcm_slave.oss
}
#
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312010059.rB10xuhu017151>
