additional cleanup for "arecord -L show entries which are not capture pcms"
diff mbox series

Message ID 20200327171824.GA18675@freedom
State New
Headers show
Series
  • additional cleanup for "arecord -L show entries which are not capture pcms"
Related show

Commit Message

Sylvain BERTRAND March 27, 2020, 5:18 p.m. UTC
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.

Patch
diff mbox series

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