Commit graph

18 commits

Author SHA1 Message Date
Jaroslav Kysela
2420b2a6df echomixer: fix various gcc warnings
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2025-01-27 10:44:25 +01:00
Mazunki Hoksaas
4bfaf097e0 echomixer: fix clang-16 incompatible-function-pointer
Closes: https://github.com/alsa-project/alsa-tools/pull/17
Signed-off-by: Mazunki Hoksaas <rolferen@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2024-01-24 19:09:06 +01:00
Jaroslav Kysela
38f7504af2 Change FSF address (Franklin Street)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2017-11-14 14:47:19 +01:00
Takashi Sakamoto
f0ffe1b732 echomixer: obsolete usage of dimension information
In current implementation for a series of echoaudio drivers, some control
element set delivers information to use element values for
multi-dimensional array. Essentially, ALSA control interface of asound.h
has no common way to parse the information. As a result, the drivers
forces 'echomixer' application to parse the information by several ways.

This issue was reported by a commit 51db452df07b ('Revert "ALSA: echoaudio:
purge contradictions between dimension matrix members and total number of
members"') to Linux kernel. As a result of discussion at Linux
miniconference 2017, usage of 'dimen' member of 'struct snd_ctl_elem_info'
is going to be deprecated for future removal.

According to the above decision, this commit obsoletes usage of 'dimen'
information in 'echomixer' application. In a series of echoaudio drivers,
a control element set named as 'Channels info' includes duplicated
information of the dimension information on value array. Additionally,
some of dimension information have fixed values. This commit utilizes them
to obsolete usage of dimension information.

This patch is tested with Echo Gina 3G.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2017-11-05 22:34:15 +01:00
Giuliano Pochini
4ba89e3b9f echomixer: little bug fix
This patch fixes a stupid bug that was introduced in the last change.

Signed-off-by: Giuliano Pochini <pochini@shiny.it>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-19 08:33:36 +01:00
Giuliano Pochini
cf4b9bcad4 echomixer: Fix echomixer to work with the new drivers
There is a long standing bug in the drivers for cards with a vmixer because
I overlooked a detail in the c++ generic driver by echoaudio. Those cards
do not have a line-out volume control. It is a virtual control provided by
the generic driver. The bug is harmless because the DSP just ignores the
command to change the volume.
Since that control has been removed, echomixer must be updated. With this
patch it uses the vmixer to fake the line-out volume.

This patch makes echomixer work with the new drivers.

Signed-off-by: Giuliano Pochini <pochini@shiny.it>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-16 08:48:48 +01:00
Giuliano Pochini
8e2e19c8e8 ALSA: echomixer, fix vmixer GUI
This patch fixes several bugs in the vmixer GUI and removes the "misc"
button from the main window when the card has no global controls.

Signed-off-by: Giuliano Pochini <pochini@shiny.it>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-09 14:13:40 +01:00
Giuliano Pochini
8ee0611dc1 [PATCH] echomixer, update driver name
- Updates echomixer according to the new driver name.

Signed-off-by: Giuliano Pochini <pochini@shiny.it>
2005-07-26 12:57:08 +00:00
Giuliano Pochini
bac8fe19d3 echomixer - display fix
- Fix a display bug in the vmixer part of the graphic mixer that was
introduced recently.

Signed-off-by: Giuliano Pochini <pochini@shiny.it>
2005-06-08 14:16:42 +00:00
Takashi Iwai
2e27f490d5 Fix compile warnings
Fix compile warnings regarding int <-> pointer conversion
2005-05-24 16:52:18 +00:00
Giuliano Pochini
ecf60d374d echomixer automute support
This patch:

- Adds support for the digital input automute control.

- Some minor cleanup.

Signed-off-by: Giuliano Pochini <pochini@shiny.it>
2005-04-05 17:28:24 +00:00
Giuliano Pochini
d9ae4c6cc9 echomixer cleanup
This patch:

- Cleans up the mess about nominal level switches.

- Removes some old unused code.

Signed-off-by: Giuliano Pochini <pochini@shiny.it>
2005-04-05 17:27:26 +00:00
Giuliano Pochini
86a5b18787 echomixer autoclock support
This patch:

- Adds the "autoclock" feature. When it's enabled echomixer automatically
switches between external and internal clock source if the cards receives,
or it doesn't, a valid clock signal, respectively.

Signed-off-by: Giuliano Pochini <pochini@shiny.it>
2005-04-05 17:25:20 +00:00
Giuliano Pochini
861570e782 echomixer GUI changes
The following patch:

- Adds a frame that will hold many switches.

- Replaces the phantom power toggle button with a checkbutton inside the
frame.

Signed-off-by: Giuliano Pochini <pochini@shiny.it>
2005-04-05 17:24:09 +00:00
Giuliano Pochini
c57ea192bb echomixer update 3/4
- Code cleanup: remove some redundant variables.

- Enhancement: The matrix mixer ignores mouse clicks that don't fall inside
  enabled mixer cells.

Signed-off-by: Giuliano Pochini <pochini@shiny.it>
2005-01-19 10:51:57 +00:00
Giuliano Pochini
6d36219735 echomixer update 2/4
- Bugfix: Makes sure that the "changed" event will be triggered when we will
  set the right value (the trick of setting an out of range value do not work
  anymore with gtk+-2.x).

- Bugfix: Same as above for toggle buttons.

Signed-off-by: Giuliano Pochini <pochini@shiny.it>
2005-01-19 10:50:30 +00:00
Giuliano Pochini
08916c0027 echomixer update 1/4
- Matrix mixer drawing code cleanup.

- New feature: echomixer can load and restore the status of nominal level
  switches.

Signed-off-by: Giuliano Pochini <pochini@shiny.it>
2005-01-19 10:48:45 +00:00
Takashi Iwai
df4477b5b6 Add echomixer
Added echomixer by Giuliano Pochini <pochini@shiny.it>
Mixer app for echoaudio drivers.
2004-12-29 13:02:53 +00:00