[PATCH] additional cleanup for "arecord -L show entries which are not capture pcms"

sylvain.bertrand at gmail.com sylvain.bertrand at gmail.com
Fri Mar 27 18:18:24 CET 2020


I did post to github, my bad.

On Fri, Mar 27, 2020 at 04:01:57AM -0700, Jaroslav Kysela wrote:
> Closed #39 via d434638a683c01bd6decf8f41863044055237a50.

Tested with the mic from my usb webcam, and it actually needs a little bit more
tidying.

-- 
Sylvain

--- a/share/alsa/pcm/front.conf
+++ b/share/alsa/pcm/front.conf
@@ -53,6 +53,7 @@
 			name defaults.namehint.basic
 		}
 		description "Front speakers"
-		device $DEV
+		device_output $DEV
+		omit_noargs true
 	}
 }

--- a/share/alsa/pcm/iec958.conf
+++ b/share/alsa/pcm/iec958.conf
@@ -78,6 +78,6 @@
 			name defaults.namehint.basic
 		}
 		description "IEC958 (S/PDIF) Digital Audio Output"
-		device $DEV
+		device_output $DEV
 	}
 }


More information about the Alsa-devel mailing list