All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] fix some output pcms being namehint-ed as input pcms
@ 2020-03-29 15:12 sylvain.bertrand
  0 siblings, 0 replies; only message in thread
From: sylvain.bertrand @ 2020-03-29 15:12 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-29 15:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-29 15:12 [PATCH v2] fix some output pcms being namehint-ed as input pcms sylvain.bertrand

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.