Skip to contentSkip to conversation

alsaloop: fix a typo in the comparison

PATCH Jaroslav Kysela 2 participants 2 messages Feb 5, 2018 – Feb 7, 2018 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Jaroslav Kysela

author Applied
#1 lore raw

Dne 5.2.2018 v 07:47 Kirill Marinushkin napsal(a):

Quoted 4 lines

Hello maintainers,

I would like to suggest you a patch which fixes a typo in the alsa-utils alsaloop.

Applied. Thanks.

Jaroslav

Signature · 2 lines
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
#2 lore raw
In reply to a message not in the archive
Quoted 6 lines · Kirill Marinushkin

Hello maintainers,

I would like to suggest you a patch which fixes a typo in the alsa-utils alsaloop.

Quoted 6 lines

Best Regards,
Kirill Marinushkin

Sorry for the late reply, as I've been (and still) on vacation.

About your patch: The fix itself looks OK, but could you give more explanation about the change? E.g. what does this fix?

thanks,

Takashi

Quoted 20 lines
---
 alsaloop/pcmjob.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
alsaloop/pcmjob.c +1 -1
index 69abf94..7de757b 100644
@@ -1479,7 +1479,7 @@ __again:
 	if (loop->play->access == loop->capt->access &&
 	    loop->play->format == loop->capt->format &&
 	    loop->play->rate == loop->capt->rate &&
-	    loop->play->channels == loop->play->channels &&
+	    loop->play->channels == loop->capt->channels &&
 	    loop->sync != SYNC_TYPE_SAMPLERATE) {
 		if (verbose > 1)
 			snd_output_printf(loop->output, "shared buffer!!!\n");
Signature · 1 line
2.13.6