All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sebastian H." <vand2@gmx.de>
To: alsa-devel@alsa-project.org
Subject: Re: Alsamixer-Qt4 0.4.0 released
Date: Thu, 05 Aug 2010 14:48:36 +0200	[thread overview]
Message-ID: <4C5AB324.2020006@gmx.de> (raw)
In-Reply-To: <AANLkTim=OvWfYgvRLvGgELg5AiJPYZk0snkEHSxxdcaC@mail.gmail.com>

Hello Raymond

>> I've been working on Alsamixer-Qt4 lately and compiled
>> the changes into a new release version 0.4.0.
> 
> 1) au8830 Equalizer
> you can find the screenshot of the equalizer ( gnome volume control) and the
> correct implementation of the equalizer of the vortexcontrol and python
> version of the equalizer
> 
> the asound.state of au8830
> 
> https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3678

Ok, I tried to figure out how this relates to alsamixer-qt4 (since I
don't have the sound card).

Please correct me if I'm wrong.

The "EQ Peaks" Simple Mixer Element has more channels than the 9
channels described in the snd_mixer_selem_channel_id_t enum.
( SND_MIXER_SCHN_FRONT_LEFT up to SND_MIXER_SCHN_REAR_CENTER ).

http://www.alsa-project.org/alsa-doc/alsa-lib/group___simple_mixer.html#g9cb8437b2f92d168c43e4da2c667e823

Alsamixer-Qt4 currently can only show these 9 channels - in the channels
mixer dialog - which is not sufficient.

I did not find a function like snd_mixer_selem_playback_channels
which would return the number of channels.
So to find out how many channels there actually are I would have to do
something like this

int num_playback = 0;
for ( int ii=0; ii < 1024; ++ii ) {
	if ( snd_mixer_selem_has_playback_channel ( elem, ii ) ) {
		num_playback += 1;
	} else {
		break;
	}
}



> 2) CMI8788 's 8 Channels Master Volume Control
> 
> https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4204
> 
> Card hw:0 'CMI8788'/'C-Media Oxygen HD Audio (rev 2) at 0xec00, irq 17'
> 
>   Mixer name	: 'CMI8788'
>   Components	: 'AK4396 AK5385 CMI8788'
>   Controls      : 23
>   Simple ctrls  : 12
> Simple mixer control 'Master',0
>   Capabilities: pvolume pswitch pswitch-joined
>   Playback channels: Front Left - Front Right - Rear Left - Rear Right
> - Front Center - Woofer - Side Left - Side Right
>   Limits: Playback 0 - 255
>   Mono:
>   Front Left: Playback 112 [44%] [-7.14dB] [on]
>   Front Right: Playback 112 [44%] [-7.14dB] [on]
>   Rear Left: Playback 178 [70%] [-3.12dB] [on]
>   Rear Right: Playback 178 [70%] [-3.12dB] [on]
>   Front Center: Playback 178 [70%] [-3.12dB] [on]
>   Woofer: Playback 178 [70%] [-3.12dB] [on]
>   Side Left: Playback 178 [70%] [-3.12dB] [on]
>   Side Right: Playback 178 [70%] [-3.12dB] [on]
> 
> 
> state.CMI8788 {
> 	control.1 {
> 		comment.access 'read write'
> 		comment.type INTEGER
> 		comment.count 8
> 		comment.range '0 - 255'
> 		comment.dbmin -9999999
> 		comment.dbmax 0
> 		iface MIXER
> 		name 'Master Playback Volume'
> 		value.0 112
> 		value.1 112
> 		value.2 178
> 		value.3 178
> 		value.4 178
> 		value.5 178
> 		value.6 178
> 		value.7 178
> 	}

Basically the same issue?

Best,
Sebastian

  reply	other threads:[~2010-08-05 12:47 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-04 12:17 Alsamixer-Qt4 0.4.0 released Sebastian H.
2010-08-04 23:33 ` errordeveloper
2010-08-05 11:22   ` Sebastian H.
2010-08-08 12:12     ` Sebastian H.
2010-08-05  7:20 ` Raymond Yau
2010-08-05 12:48   ` Sebastian H. [this message]
2010-08-06  0:26     ` Raymond Yau
2010-08-06 14:34       ` Sebastian H.
2010-08-12  1:38         ` Raymond Yau
2010-08-12  9:27           ` Sebastian H.
2010-08-05  8:46 ` The Source
2010-08-08 20:54 ` Niels Mayer
2010-08-09 14:08   ` Sebastian H.
2010-08-12 14:20     ` Niels Mayer
2010-08-15 13:14       ` Sebastian H.
2010-09-25  1:25 ` Raymond Yau
2010-09-25 10:42   ` Sebastian H.
2010-09-25 23:56     ` Raymond Yau
2010-09-26 10:36       ` Sebastian H.

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=4C5AB324.2020006@gmx.de \
    --to=vand2@gmx.de \
    --cc=alsa-devel@alsa-project.org \
    /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.