Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 May 2016 03:10:22 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r414376 - in head/audio/alsa-lib: . files
Message-ID:  <201605010310.u413AM8A075717@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun May  1 03:10:21 2016
New Revision: 414376
URL: https://svnweb.freebsd.org/changeset/ports/414376

Log:
  audio/alsa-lib: improve etc/asound.conf
  
  - Expose "oss" via "aplay -L"
  - Simplify "oss" and "pulse"
  - Define "sysdefault"
  
  Note, "aplay -D sysdefault" != "aplay -D oss" per ports/184006

Modified:
  head/audio/alsa-lib/Makefile   (contents, props changed)
  head/audio/alsa-lib/files/asound.conf.sample

Modified: head/audio/alsa-lib/Makefile
==============================================================================
--- head/audio/alsa-lib/Makefile	Sun May  1 01:24:00 2016	(r414375)
+++ head/audio/alsa-lib/Makefile	Sun May  1 03:10:21 2016	(r414376)
@@ -3,6 +3,7 @@
 
 PORTNAME=	alsa-lib
 PORTVERSION=	1.1.1
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	ftp://ftp.alsa-project.org/pub/lib/ \
 		GENTOO

Modified: head/audio/alsa-lib/files/asound.conf.sample
==============================================================================
--- head/audio/alsa-lib/files/asound.conf.sample	Sun May  1 01:24:00 2016	(r414375)
+++ head/audio/alsa-lib/files/asound.conf.sample	Sun May  1 03:10:21 2016	(r414376)
@@ -1,25 +1,25 @@
 #
 # FreeBSD/OSS
 #
-pcm.!default {
-	type plug
-	slave.pcm.type oss
+pcm.oss {
+	type oss
+	hint.description "Open Sound System"
 }
 
-ctl.!default {
+ctl.oss {
 	type oss
 }
 
+pcm.!sysdefault pcm.plug:oss
+ctl.!sysdefault ctl.oss
+pcm.!default pcm.sysdefault
+ctl.!default ctl.sysdefault
+
 #
 # Pulseaudio
 #
-# pcm.!default {
-# 	type pulse
-# }
-# 
-# ctl.!default {
-# 	type pulse
-# }
+# pcm.!default pcm.pulse
+# ctl.!default ctl.pulse
 
 #
 # Remap all possible surround stuffs.



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