From: Takashi Iwai Subject: Re: [PATCH] alsaloop: fix a typo in the comparison Date: Wed, 07 Feb 2018 06:39:07 +0100 Message-ID: References: <20180205064711.4322-1-k.marinushkin@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 21C21266F62 for ; Wed, 7 Feb 2018 06:39:07 +0100 (CET) In-Reply-To: <20180205064711.4322-1-k.marinushkin@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Kirill Marinushkin Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Mon, 05 Feb 2018 07:47:11 +0100, Kirill Marinushkin wrote: > > Hello maintainers, > > I would like to suggest you a patch which fixes a typo in the alsa-utils > alsaloop. > > Best Regards, > Kirill Marinushkin > > Signed-off-by: Kirill Marinushkin > Cc: patch@alsa-project.org > Cc: alsa-devel@alsa-project.org 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 > --- > alsaloop/pcmjob.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/alsaloop/pcmjob.c b/alsaloop/pcmjob.c > index 69abf94..7de757b 100644 > --- a/alsaloop/pcmjob.c > +++ b/alsaloop/pcmjob.c > @@ -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"); > -- > 2.13.6 >