Pulseaudio needs snd_pcm_hardware.channels_min > 1
Pulseaudio with snd_pcm_hardware.channels_min=1 creates a mono device only.
Signed-off-by René Herman <[email protected]>
From 070d3a9b76cebf9f66ca092fc097753e165ddd77 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ren=C3=A9=20Herman?= <[email protected]>
Date: Sun, 12 Jul 2020 01:31:29 +0200
Subject: [PATCH 2/3] [snd-usb-6fire] Pulseaudio needs
snd_pcm_hardware.channels_min > 1
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Pulseaudio with snd_pcm_hardware.channels_min=1 creates a mono device only.
Signed-off-by René Herman <[email protected]>
--- sound/usb/6fire/pcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/usb/6fire/pcm.c +1 -1
@@ -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),
Signature · 1 line
2.17.1