From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH/alsa-utils] amixer: fix 'cset' operation to set several channels
Date: Mon, 06 Apr 2015 16:42:02 +0900 [thread overview]
Message-ID: <552238CA.8060601@sakamocchi.jp> (raw)
In-Reply-To: <s5hr3rxwwyh.wl-tiwai@suse.de>
On Apr 06 2015 16:13, Takashi Iwai wrote:
> At Mon, 6 Apr 2015 11:30:50 +0900,
> Takashi Sakamoto wrote:
>>
>> For an enumerated element with several channels, when given comma-separated
>> string values, 'cset' operation sets these values just to the first channel,
>> instead of corresponding channels.
>>
>> This commit adds missing-increment to fix this bug.
>>
>> Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
>
> Did you really test this patch...?
>
> amixer.c: In function ‘sset_enum’:
> amixer.c:1295:5: error: ‘chn’ undeclared (first use in this function)
I workd on 6f9835f. After testing, rebase to current master. Then I
missed 1a19ec1. I should have compile again in this tree. (missing
enough caution...)
Well, I think the 1a19ec1 still includes a bug. It cannot parse this
option correctly.
$ amixer sset enum-element-13,1019 A,B,,D
In this case, no values should be set to the third channel of the
element. But current implementation set D to the channel and the last
channel is not changed.
I'll post a new patch, later.
Thanks for your indication.
Takashi Sakamoto
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
prev parent reply other threads:[~2015-04-06 7:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-06 2:30 [PATCH/alsa-lib] amixer: fix 'cset' operation to set several channels Takashi Sakamoto
2015-04-06 2:33 ` [PATCH/alsa-utils] " Takashi Sakamoto
2015-04-06 7:13 ` [PATCH/alsa-lib] " Takashi Iwai
2015-04-06 7:42 ` Takashi Sakamoto [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=552238CA.8060601@sakamocchi.jp \
--to=o-takashi@sakamocchi.jp \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
/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