From: "René Herman" <rene.herman@gmail.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org, Torsten Schenk <torsten.schenk@zoho.com>
Subject: [PATCH v2 2/2] Pulseaudio needs snd_pcm_hardware.channels_min > 1
Date: Tue, 21 Jul 2020 11:57:48 +0200 [thread overview]
Message-ID: <20200721095748.16224-3-rene.herman@gmail.com> (raw)
In-Reply-To: <20200721095748.16224-1-rene.herman@gmail.com>
Pulseaudio with snd_pcm_hardware.channels_min=1 creates a mono device
only.
Signed-off-by: René Herman <rene.herman@gmail.com>
---
sound/usb/6fire/pcm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/usb/6fire/pcm.c b/sound/usb/6fire/pcm.c
index 88ac1c4ee163..cce1312db93a 100644
--- a/sound/usb/6fire/pcm.c
+++ b/sound/usb/6fire/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),
--
2.17.1
prev parent reply other threads:[~2020-07-21 9:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-21 9:57 [PATCH v2 0/2] snd-usb-6fire: firmware load and pulseaudio assumption René Herman
2020-07-21 9:57 ` [PATCH v2 1/2] Move DMA-buffer off the stack René Herman
2020-07-21 10:03 ` Takashi Iwai
2020-07-21 10:09 ` René Herman
2020-07-21 9:57 ` René Herman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200721095748.16224-3-rene.herman@gmail.com \
--to=rene.herman@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
--cc=torsten.schenk@zoho.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox