From: Kirill Marinushkin <k.marinushkin@gmail.com>
To: Takashi Sakamoto <o-takashi@sakamocchi.jp>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: [RFC, alsa-utils] RFC: alsamixer: Improve description of playback switches
Date: Mon, 26 Mar 2018 20:42:40 +0200 [thread overview]
Message-ID: <cdb05b97-94ce-ff22-e0c6-c5f00e290af2@gmail.com> (raw)
In-Reply-To: <0f684e10-d8b0-611b-50a3-b982658de0c3@sakamocchi.jp>
On 03/26/18 10:19, Takashi Sakamoto wrote:
> Hi,
>
> On Mar 26 2018 14:11, Kirill Marinushkin wrote:
>> Currently, all playback switches are described as mute. It is shown as:
>>
>> [OO] == sound is on (left and right channels)
>> [MM] == sound is muted (left and right channels)
>>
>> But cards can have different kinds of switch controls, not only mute. At
>> least usb-audio provides boolean controls as playback switches for:
>>
>> * clock source validity (read only switch)
>> * processing features on/off (rw switch)
>> * potentially other similar use-cases
>>
>> It becames confusing, because it is shown as:
>>
>> [OO] == clock source is valid
>> [MM] == clock source is invalid
>>
>> [OO] == processing feature is on
>> [MM] == processing feature is off
>>
>> And from the help, it is not clear how to toggle such switches.
>
> Could you show such control elements to help reviewers? For example, output from 'amixer' might be enough.
>
Hello Takashi Sakamoto,
I misread your message. You mean the amixer output, not the alsamixer.
Below I attach the output from amixer.
$ amixer -c2
Simple mixer control 'Clock Source 15 Validity',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Up Down',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Up Down Mode Select',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 1
Mono: 1 [100%]
> Regards
>
> Takashi Sakamoto
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2018-03-26 18:42 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-26 5:11 [RFC, alsa-utils] RFC: alsamixer: Improve description of playback switches Kirill Marinushkin
2018-03-26 7:38 ` Takashi Iwai
2018-03-26 18:32 ` Kirill Marinushkin
2018-03-26 20:41 ` Andrew Chant
2018-03-26 21:13 ` Kirill Marinushkin
2018-03-26 21:44 ` Takashi Sakamoto
2018-03-26 21:53 ` Kirill Marinushkin
2018-03-27 19:12 ` Kirill Marinushkin
2018-03-26 8:19 ` Takashi Sakamoto
2018-03-26 18:37 ` Kirill Marinushkin
2018-03-26 18:42 ` Kirill Marinushkin [this message]
2018-03-26 22:03 ` Takashi Sakamoto
2018-03-26 22:22 ` Kirill Marinushkin
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=cdb05b97-94ce-ff22-e0c6-c5f00e290af2@gmail.com \
--to=k.marinushkin@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=o-takashi@sakamocchi.jp \
--cc=perex@perex.cz \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.