diff mbox series

[2/3] snd-usb-6fire: Pulseaudio needs snd_pcm_hardware.channels_min > 1

Message ID 20200721064853.9516-3-rene.herman@gmail.com (mailing list archive)
State New, archived
Headers show
Series snd-usb-6fire: firmware load and pulseaudio assumption | expand

Commit Message

René Herman July 21, 2020, 6:48 a.m. UTC
Pulseaudio with snd_pcm_hardware.channels_min=1 creates a mono device
only.

Signed-off-by: René Herman <rene.herman@gmail.com>
---
 pcm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/pcm.c b/pcm.c
index 88ac1c4..cce1312 100644
--- a/pcm.c
+++ b/pcm.c
@@ -58,7 +58,7 @@  static const struct snd_pcm_hardware pcm_hw = {
 
 	.rate_min = 44100,
 	.rate_max = 192000,
-	.channels_min = 1,
+	.channels_min = 2,
 	.channels_max = 0, /* set in pcm_open, depending on capture/playback */
 	.buffer_bytes_max = MAX_BUFSIZE,
 	.period_bytes_min = PCM_N_PACKETS_PER_URB * (PCM_MAX_PACKET_SIZE - 4),