diff mbox series

[v2] fix some output pcms being namehint-ed as input pcms

Message ID 20200329151241.GA395@freedom
State New
Headers show
Series [v2] fix some output pcms being namehint-ed as input pcms | expand

Commit Message

sylvain.bertrand@gmail.com March 29, 2020, 3:12 p.m. UTC
This is additional cleanup following:

commit d434638a683c01bd6decf8f41863044055237a50
    namehint: remember the direction from the upper levels

signed-off-by: Sylvain BERTRAND <sylvain.bertrand@legeek.net>
---
based on arecord -L output
diff mbox series

Patch

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