]> git.alsa-project.org Git - alsa-tools.git/log
alsa-tools.git
5 months agoenvy24control: simplify code by using gtk_widget_show_all
Andreas Persson [Sun, 23 Mar 2025 12:56:29 +0000 (13:56 +0100)]
envy24control: simplify code by using gtk_widget_show_all

Remove all gtk_widget_show calls and replace it with just one
gtk_widget_show_all. This makes the code shorter and it will also help a
future port to GTK 4, where gtk_widget_show is gone.

Closes: https://github.com/alsa-project/alsa-tools/pull/29
Signed-off-by: Andreas Persson <andreasp56@outlook.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 months agoenvy24control: fix spdif output settings
Andreas Persson [Sun, 23 Mar 2025 09:00:10 +0000 (10:00 +0100)]
envy24control: fix spdif output settings

The S/PDIF Output Settings in envy24control had some bugs: wrong bits
were set when user changed "Stream" under "Professional" or any of the
settings under "Consumer".

Closes: https://github.com/alsa-project/alsa-tools/pull/28
Signed-off-by: Andreas Persson <andreasp56@outlook.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agohdajackretask: fix reset_changes_boot() declaration
Jaroslav Kysela [Mon, 27 Jan 2025 10:02:21 +0000 (11:02 +0100)]
hdajackretask: fix reset_changes_boot() declaration

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agold10k1: fix various gcc warnings
Jaroslav Kysela [Mon, 27 Jan 2025 08:42:39 +0000 (09:42 +0100)]
ld10k1: fix various gcc warnings

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agoechomixer: fix various gcc warnings
Jaroslav Kysela [Mon, 27 Jan 2025 08:34:38 +0000 (09:34 +0100)]
echomixer: fix various gcc warnings

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agovxloader: fix gcc warnings (string size)
Jaroslav Kysela [Mon, 27 Jan 2025 08:29:37 +0000 (09:29 +0100)]
vxloader: fix gcc warnings (string size)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agousx2yloader: fix gcc warnings (string size)
Jaroslav Kysela [Mon, 27 Jan 2025 08:28:53 +0000 (09:28 +0100)]
usx2yloader: fix gcc warnings (string size)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agormedigicontrol: fix gcc warnings (string size)
Jaroslav Kysela [Sun, 26 Jan 2025 12:21:13 +0000 (13:21 +0100)]
rmedigicontrol: fix gcc warnings (string size)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agopcxhrloader: fix gcc warnings (string truncation)
Jaroslav Kysela [Sun, 26 Jan 2025 12:19:59 +0000 (13:19 +0100)]
pcxhrloader: fix gcc warnings (string truncation)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agomixartloader: fix gcc warnings (string truncation)
Jaroslav Kysela [Sun, 26 Jan 2025 12:16:53 +0000 (13:16 +0100)]
mixartloader: fix gcc warnings (string truncation)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agohdspconf: fix gcc warnings (const)
Jaroslav Kysela [Sun, 26 Jan 2025 12:12:05 +0000 (13:12 +0100)]
hdspconf: fix gcc warnings (const)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agoas10k1: fix gcc warnings
Jaroslav Kysela [Sun, 26 Jan 2025 12:05:40 +0000 (13:05 +0100)]
as10k1: fix gcc warnings

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 months agoenvy24control: fix cast warnings and string array overflows
Jaroslav Kysela [Sun, 26 Jan 2025 11:40:23 +0000 (12:40 +0100)]
envy24control: fix cast warnings and string array overflows

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agohdajackretask: Fix build with gcc7
Takashi Iwai [Fri, 2 Feb 2024 16:19:47 +0000 (17:19 +0100)]
hdajackretask: Fix build with gcc7

The old compiler doesn't allow a variable declaration inside switch
block.

Fixes: d349d20c127b ("hdajackretask: add support for pipewire stop/start")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 months agoRelease v1.2.11 v1.2.11
Jaroslav Kysela [Mon, 29 Jan 2024 12:57:31 +0000 (13:57 +0100)]
Release v1.2.11

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agohdajackretask: limit the help window size to something safe (1600x1000) for the help...
Jaroslav Kysela [Thu, 25 Jan 2024 12:27:03 +0000 (13:27 +0100)]
hdajackretask: limit the help window size to something safe (1600x1000) for the help screen

If more monitors are present in the system, the window is too big and information
cannot be visible correctly.

Fixes: https://github.com/alsa-project/alsa-tools/issues/20
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agohdajackretask: add support for pipewire stop/start
Jaroslav Kysela [Thu, 25 Jan 2024 12:25:04 +0000 (13:25 +0100)]
hdajackretask: add support for pipewire stop/start

Link: https://github.com/alsa-project/alsa-tools/issues/21
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoas10k1: make (extern) declarations and definition of macro_depth
Michael Tautschnig [Thu, 12 Oct 2023 09:02:53 +0000 (09:02 +0000)]
as10k1: make (extern) declarations and definition of macro_depth

All `extern` declarations refer to it as `unsigned int`, but the actual
definition is a signed integer.

Reported by CBMC's goto-cc compiler, which performs type-aware linking.

Closes: https://github.com/alsa-project/alsa-tools/pull/19
Signed-off-by: Michael Tautschnig <tautschn@amazon.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoechomixer: fix clang-16 incompatible-function-pointer
Mazunki Hoksaas [Mon, 4 Sep 2023 12:50:02 +0000 (14:50 +0200)]
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>
2 years agohdspmixer: fix core dump
wynnfeng [Sun, 29 Jan 2023 12:47:53 +0000 (20:47 +0800)]
hdspmixer: fix core dump

Initialize the name pointer to NULL.

Fixes: https://github.com/alsa-project/alsa-tools/pull/14
Signed-off-by: wynnfeng <wynnfeng@tencent.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2 years agohdajackretask: Update kernel doc URL in README
Frank Dana [Mon, 17 Aug 2020 23:33:14 +0000 (19:33 -0400)]
hdajackretask: Update kernel doc URL in README

As of THIS writing, the documentation has been rearranged,
and the "Hint strings" section now resides at the updated URL

Fixes: https://github.com/alsa-project/alsa-tools/pull/2
Signed-off-by: Frank Dana <ferdnyc@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoRelease v1.2.5 v1.2.5
Jaroslav Kysela [Thu, 27 May 2021 17:18:38 +0000 (19:18 +0200)]
Release v1.2.5

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agohdspmixer: add output loopback buttons
Jasmin Fazlic [Sun, 7 Feb 2021 14:50:48 +0000 (15:50 +0100)]
hdspmixer: add output loopback buttons

This patch adds "LPBK" buttons to the output strip
channels allowing to toggle the hardware output
loopback state.

Efforts were made to hide the buttons for not yet
enabled devices but due to difficulties in implementation
was cancelled for the time being. Should it be a no-go
efforts should be made to fix this and hide them,
although I would think fixing the driver for other
devices would be an effort with much more merit.

This is currently only enabled for HDSP9632 devices
with following driver patch:
https://github.com/tiwai/sound/commit/da2a040ee7cfe1dd57d5bec7906cb979c5787a86

We check whether the system has the kernel patch
applied by calling `HDSPMixerCard::supportsLoopback()`
and if not these buttons remain gray (off) and do
nothing when clicked.

Signed-off-by: Jasmin Fazlic <superfassl@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
4 years agohdspmixer: enhance saving of presets
Jasmin Fazlic [Sun, 7 Feb 2021 14:50:47 +0000 (15:50 +0100)]
hdspmixer: enhance saving of presets

Changing the version in the file header would make
a preset file not readable by older versions of the
tool. If we just append new data always at the end
of the save procedure we should have no problems
reading them with different versions, as they all
just read to a certain point and ignore the rest
of the file.

This patch implements the logic to save the presets
first to a file called file_name.tmp and appends any
extra data that would come after in a possibly present
file_name file.

Any data written by newer versions would remain in
the preset file and from now on no old version should
remove data written by newer versions.

Also since we write to a temporary file and rename
afterwards an extra feature is gained of not corrupting
the preset should we crash.

Signed-off-by: Jasmin Fazlic <superfassl@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
5 years agoRelease v1.2.2 v1.2.2
Jaroslav Kysela [Wed, 19 Feb 2020 09:35:44 +0000 (10:35 +0100)]
Release v1.2.2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
5 years agohdspmixer: Use __u32 and __u64 for RMS array types
Takashi Iwai [Fri, 20 Dec 2019 15:40:43 +0000 (16:40 +0100)]
hdspmixer: Use __u32 and __u64 for RMS array types

Some variable types are referring to the field in ioctl struct, which
are actually __u32 or __u64 instead of uint32_t or uint64_t.
This inconsistency may result in the compile error.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
6 years agoRelease v1.1.7 v1.1.7
Jaroslav Kysela [Tue, 16 Oct 2018 08:08:36 +0000 (10:08 +0200)]
Release v1.1.7

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
6 years agohwmixvolume: mention the new dependencies in the README
Emmanuel Gil Peyrot [Tue, 18 Sep 2018 13:42:37 +0000 (15:42 +0200)]
hwmixvolume: mention the new dependencies in the README

Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
6 years agohwmixvolume: add my copyright
Emmanuel Gil Peyrot [Tue, 18 Sep 2018 13:42:36 +0000 (15:42 +0200)]
hwmixvolume: add my copyright

Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
6 years agohwmixvolume: switch the shebang to python
Emmanuel Gil Peyrot [Tue, 18 Sep 2018 13:42:35 +0000 (15:42 +0200)]
hwmixvolume: switch the shebang to python

This signifies that this code is now compatible with both Python 2 and
Python 3, as per PEP-0394[1].

[1] https://www.python.org/dev/peps/pep-0394/

Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
6 years agohwmixvolume: use a with context to open files
Emmanuel Gil Peyrot [Tue, 18 Sep 2018 13:42:34 +0000 (15:42 +0200)]
hwmixvolume: use a with context to open files

This feature has been added in Python 2.5 and automatically closes an
open file once the context exits.

Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
6 years agohwmixvolume: switch to GTK+ 3.0 and GLib 2.0
Emmanuel Gil Peyrot [Tue, 18 Sep 2018 13:42:33 +0000 (15:42 +0200)]
hwmixvolume: switch to GTK+ 3.0 and GLib 2.0

This replaces VBox and HBox with Grid (using Gtk.Orientation), HScale
with Scale, creates labels with mnemonics, set hexpand and vexpand
properly, use the correct enum container classes, use the correct getter
for size request, and finally update to the correct GLib watch function.

Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
6 years agohwmixvolume: replace PyGTK with gobject-introspection
Emmanuel Gil Peyrot [Tue, 18 Sep 2018 13:42:32 +0000 (15:42 +0200)]
hwmixvolume: replace PyGTK with gobject-introspection

This doesn’t work yet, we require Gtk 3.0 rather than 2.0 and the API
changed quite a lot, so this is but a preparatory patch.

This is done so that we can get rid of GTK+ 2 which has been EOL for
many years already, and to add Python 3 support because Python 2 will
very soon be EOL as well.

Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
6 years agohwmixvolume: use four spaces instead of one tab for indent
Emmanuel Gil Peyrot [Tue, 18 Sep 2018 13:42:31 +0000 (15:42 +0200)]
hwmixvolume: use four spaces instead of one tab for indent

This is the recommended coding style for all Python programs, as
specified in PEP-0008[1].

[1] https://www.python.org/dev/peps/pep-0008/

Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
7 years agold10k1: define _GNU_SOURCE and use sighandler_t
Ross Burton [Tue, 12 Jun 2018 12:24:34 +0000 (13:24 +0100)]
ld10k1: define _GNU_SOURCE and use sighandler_t

__sighandler_t is a glibc internal type which doesn't exist in musl.  By using
AC_USE_SYSTEM_EXTENSIONS to get _GNU_SOURCE defined, both glibc and musl
then expose sighandler_t.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
7 years agous428control: Fix clang -Wreserved-user-defined-literal warnings
Khem Raj [Tue, 24 Apr 2018 19:24:32 +0000 (12:24 -0700)]
us428control: Fix clang -Wreserved-user-defined-literal warnings

| us428control.cc:66:18: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
|         printf("usage: "PROGNAME" [-v verbosity_level 0..2] [-c card] [-D device] [-u usb-device] [-m mode]\n");
|                         ^

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
7 years agoRelease v1.1.6 v1.1.6
Jaroslav Kysela [Tue, 3 Apr 2018 07:01:37 +0000 (09:01 +0200)]
Release v1.1.6

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 years agohdajacksensetest: add gitcompile to EXTRA_DIST
Tanu Kaskinen [Mon, 20 Nov 2017 17:05:28 +0000 (19:05 +0200)]
hdajacksensetest: add gitcompile to EXTRA_DIST

The gitcompile script is used from the top-level Makefile, so it needs
to be included in the tarball.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
7 years agoMakefile: fix version file creation
Jaroslav Kysela [Wed, 15 Nov 2017 10:16:48 +0000 (11:16 +0100)]
Makefile: fix version file creation

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 years agohwmixvolume: add .desktop and icon files
Jaroslav Kysela [Wed, 15 Nov 2017 10:13:04 +0000 (11:13 +0100)]
hwmixvolume: add .desktop and icon files

  Resized version of public domain clipart found here:
  http://www.openclipart.org/detail/17428

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 years agoenvy24control: add .desktop and icon files
Jaroslav Kysela [Wed, 15 Nov 2017 10:09:04 +0000 (11:09 +0100)]
envy24control: add .desktop and icon files

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 years agoechomixer: add .desktop and icon files
Jaroslav Kysela [Wed, 15 Nov 2017 10:05:11 +0000 (11:05 +0100)]
echomixer: add .desktop and icon files

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 years agohdspconf: move .desktop and icon files to desktop, use modern destination for icons
Jaroslav Kysela [Wed, 15 Nov 2017 09:43:48 +0000 (10:43 +0100)]
hdspconf: move .desktop and icon files to desktop, use modern destination for icons

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 years agohdspmixer: move .desktop and icon files to desktop, use modern destination for icons
Jaroslav Kysela [Wed, 15 Nov 2017 09:24:14 +0000 (10:24 +0100)]
hdspmixer: move .desktop and icon files to desktop, use modern destination for icons

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 years agohdajackretask: add .desktop and icon files
Jaroslav Kysela [Wed, 15 Nov 2017 08:55:15 +0000 (09:55 +0100)]
hdajackretask: add .desktop and icon files

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 years agohdspconf, hdspmixer: validate the .desktop files
Jaroslav Kysela [Tue, 14 Nov 2017 16:37:58 +0000 (17:37 +0100)]
hdspconf, hdspmixer: validate the .desktop files

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 years agoChange FSF address (Franklin Street)
Jaroslav Kysela [Tue, 14 Nov 2017 13:46:35 +0000 (14:46 +0100)]
Change FSF address (Franklin Street)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 years agohwmixvolume: use python2 directly
Jaroslav Kysela [Tue, 14 Nov 2017 09:52:50 +0000 (10:52 +0100)]
hwmixvolume: use python2 directly

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 years agoRelease v1.1.5 v1.1.5
Jaroslav Kysela [Tue, 14 Nov 2017 07:52:10 +0000 (08:52 +0100)]
Release v1.1.5

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
7 years agoechomixer: obsolete usage of dimension information
Takashi Sakamoto [Sat, 4 Nov 2017 02:28:35 +0000 (11:28 +0900)]
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>
8 years agoas10k1: Drop superfluous inline prefix
Takashi Iwai [Tue, 22 Aug 2017 12:38:10 +0000 (14:38 +0200)]
as10k1: Drop superfluous inline prefix

output_tram_line() has a superfluous inline prefix and this interferes
the build with clang.  Let's drop it.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
8 years agoRelease v1.1.3 v1.1.3
Jaroslav Kysela [Tue, 20 Dec 2016 09:12:29 +0000 (10:12 +0100)]
Release v1.1.3

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
9 years agogcc6 narrowing error
Michel Normand [Mon, 20 Jun 2016 13:26:06 +0000 (15:26 +0200)]
gcc6 narrowing error

gcc6 narrowing error compiling for PowerPC archi
===
[   51s] Cus428Midi.cc: At global scope:
[   51s] Cus428Midi.cc:83:1: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]
[   51s]  };
===

proposed patch as suggested in
https://gcc.gnu.org/gcc-6/porting_to.html

Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
9 years agoRelease v1.1.0 v1.1.0
Jaroslav Kysela [Tue, 27 Oct 2015 13:34:05 +0000 (14:34 +0100)]
Release v1.1.0

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
9 years agoAdd */compile to .gitignore
Takashi Iwai [Fri, 2 Oct 2015 10:41:02 +0000 (12:41 +0200)]
Add */compile to .gitignore

Recent autotools give more garbages.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
9 years agoAdd some hdajacksensetest/* files to .gitignore
Takashi Iwai [Fri, 2 Oct 2015 10:38:33 +0000 (12:38 +0200)]
Add some hdajacksensetest/* files to .gitignore

Signed-off-by: Takashi Iwai <tiwai@suse.de>
10 years agocspctl.1: remove ".LO" macro. This macro don't exist for manpages syntax.
Stéphane Aulery [Wed, 25 Mar 2015 17:38:53 +0000 (18:38 +0100)]
cspctl.1: remove ".LO" macro. This macro don't exist for manpages syntax.

Signed-off-by: Stéphane Aulery <saulery@free.fr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
10 years agoRelease v1.0.29 v1.0.29
Jaroslav Kysela [Thu, 26 Feb 2015 12:35:49 +0000 (13:35 +0100)]
Release v1.0.29

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
10 years agohdajackretask: Add dock hp/mic/line to simple options
David Henningsson [Tue, 13 Jan 2015 08:12:29 +0000 (09:12 +0100)]
hdajackretask: Add dock hp/mic/line to simple options

This allows for simpler setting of dock headphone, dock mic,
dock line out and dock line in.

Also improve detection a bit so that an existing dock headphone
shows up as such and not as regular headphone.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
10 years agoAdd a small "hdajacksensetest" helper
David Henningsson [Mon, 6 Oct 2014 13:30:03 +0000 (15:30 +0200)]
Add a small "hdajacksensetest" helper

I previously had a small python script doing the same thing,
but it depended on hda-analyzer, which always breaks when something
new is added to the codec proc file.

I got tired and rewrote it as a small C program instead, which I
hope will be a useful addition to alsa-tools.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
11 years agohdajackretask: Add "hints" functionality
David Henningsson [Fri, 1 Aug 2014 14:20:30 +0000 (16:20 +0200)]
hdajackretask: Add "hints" functionality

The kernel driver has some hints you can send to it that changes
parser behaviour. This patch exposes that functionality to the user.

(This patch also includes minor fixes for documentation, GTK warnings
and whitespace.)

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
11 years agold10k1: Fix missing parentheses for functions
Takashi Iwai [Fri, 27 Jun 2014 14:48:33 +0000 (16:48 +0200)]
ld10k1: Fix missing parentheses for functions

The commit a1728250 removes bash-specific "function" but the necessary
parentheses are missing.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
11 years agoRelease v1.0.28 v1.0.28
Jaroslav Kysela [Fri, 13 Jun 2014 09:28:13 +0000 (11:28 +0200)]
Release v1.0.28

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
11 years agoqlo10k1: packing fix (configure.ac)
Jaroslav Kysela [Fri, 13 Jun 2014 09:26:43 +0000 (11:26 +0200)]
qlo10k1: packing fix (configure.ac)

11 years agoModernize configure.ac
Jaroslav Kysela [Thu, 12 Jun 2014 09:28:22 +0000 (11:28 +0200)]
Modernize configure.ac

11 years agohdajackretask: Make sure codecs do not show up twice under 3.15 kernel
David Henningsson [Tue, 27 May 2014 07:12:36 +0000 (09:12 +0200)]
hdajackretask: Make sure codecs do not show up twice under 3.15 kernel

On a 3.15 based kernel, both "hdaudioC*D*" and "hwC*D*" shows up under
/sys/class/sound, and pointing to the same object. Make sure we only
match on the hwC*D* name to avoid duplicate entries.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
11 years agohdspmixer: Add support for RME AIO AEB boards
Adrian Knoth [Sat, 4 Jan 2014 20:38:23 +0000 (21:38 +0100)]
hdspmixer: Add support for RME AIO AEB boards

AIO allows to connect Analogue Extension Boards (4in/4out).

Provide those channels in hdspmixer, too.

The channel maps were copied from the driver, hence the changed casing
in the comments.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
12 years agohdajackretask: Fix killing PulseAudio on newer PulseAudio versions
David Henningsson [Thu, 13 Jun 2013 14:26:43 +0000 (16:26 +0200)]
hdajackretask: Fix killing PulseAudio on newer PulseAudio versions

The standard configuration directory for PulseAudio has changed,
I think since 3.0. Adjust the directory lookup mechanism to match.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
12 years agoAdd AM_MAINTAINER_MODE([enable]) macro to all configure scripts.
Jordi Mallach [Wed, 15 May 2013 17:19:11 +0000 (19:19 +0200)]
Add AM_MAINTAINER_MODE([enable]) macro to all configure scripts.

Signed-off-by: Jordi Mallach <jordi@debian.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
12 years agoFix build errors caused by -Werror=format-security.
Jordi Mallach [Wed, 15 May 2013 17:19:09 +0000 (19:19 +0200)]
Fix build errors caused by -Werror=format-security.

When compiled with hardening-flags enabled, ld10k1 fails to build due to
a pair of unsafe printf usages that trigger -Werror=format-security.

Signed-off-by: Jordi Mallach <jordi@debian.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
12 years agoFix bashisms.
Elimar Riesebieter [Wed, 15 May 2013 17:19:07 +0000 (19:19 +0200)]
Fix bashisms.

The “function” builtin is a bashism that can be simply omitted with
no behaviour change, if parentheses are supplied.

Signed-off-by: Jordi Mallach <jordi@debian.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
12 years agoFix spelling of “successfully”.
Jordi Mallach [Wed, 15 May 2013 17:19:08 +0000 (19:19 +0200)]
Fix spelling of “successfully”.

[additionally fixed a typo of "Crative" -- tiwai]

Signed-off-by: Jordi Mallach <jordi@debian.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
12 years agoAdd a distclean target to example Makefile.
Elimar Riesebieter [Wed, 15 May 2013 17:19:05 +0000 (19:19 +0200)]
Add a distclean target to example Makefile.

Signed-off-by: Jordi Mallach <jordi@debian.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
12 years agoRelease v1.0.27 v1.0.27
Jaroslav Kysela [Thu, 11 Apr 2013 11:43:07 +0000 (13:43 +0200)]
Release v1.0.27

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
12 years agoac3dec: Remove the ac3dec tool
Jaroslav Kysela [Tue, 9 Apr 2013 09:10:02 +0000 (11:10 +0200)]
ac3dec: Remove the ac3dec tool

There may be some licencing issues for the name and decoder (it is not
build in the Fedora distro anyway).

Sources will stay in repos, but almost all current players are able
to handle DD AC-3.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
12 years agohdajackretask: Some more UI fixes
David Henningsson [Mon, 4 Mar 2013 14:10:48 +0000 (15:10 +0100)]
hdajackretask: Some more UI fixes

 - don't overwrite a set advanced override unless necessary
 - fix "not present" never selected
 - remove some trailing whitespaces

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
12 years agohdajackretask: Fix "advanced override" bug
David Henningsson [Thu, 28 Feb 2013 21:01:08 +0000 (22:01 +0100)]
hdajackretask: Fix "advanced override" bug

The values were not correctly retreived from the comboboxes.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
12 years agoAdd foreign automake option to hdajackretask/Makefile.am
Takashi Iwai [Tue, 13 Nov 2012 13:31:13 +0000 (14:31 +0100)]
Add foreign automake option to hdajackretask/Makefile.am

Signed-off-by: Takashi Iwai <tiwai@suse.de>
12 years agoFix typos and missing files for hdajackretask to .gitignore
Takashi Iwai [Tue, 13 Nov 2012 13:29:56 +0000 (14:29 +0100)]
Fix typos and missing files for hdajackretask to .gitignore

Signed-off-by: Takashi Iwai <tiwai@suse.de>
12 years agoac3dec: Show usage if no parameter is passed
Fabio Estevam [Tue, 13 Nov 2012 12:08:14 +0000 (10:08 -0200)]
ac3dec: Show usage if no parameter is passed

When ac3dec is called without any argument the application hangs forever.

Instead of hanging, print the usage and exit.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
13 years agoRelease v1.0.26.1 v1.0.26.1
Jaroslav Kysela [Thu, 6 Sep 2012 15:20:39 +0000 (17:20 +0200)]
Release v1.0.26.1

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 years ago(q)lo10k1: updated INSTALL files
Jaroslav Kysela [Thu, 6 Sep 2012 15:19:56 +0000 (17:19 +0200)]
(q)lo10k1: updated INSTALL files

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 years agohdajackretask: Add missing header files to tar-ball distribution
Jaroslav Kysela [Thu, 6 Sep 2012 15:19:10 +0000 (17:19 +0200)]
hdajackretask: Add missing header files to tar-ball distribution

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 years agoRelease v1.0.26 v1.0.26
Jaroslav Kysela [Thu, 6 Sep 2012 07:53:16 +0000 (09:53 +0200)]
Release v1.0.26

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 years agohda-verb: Don't include sys/io.h for PPC
Takashi Iwai [Tue, 31 Jul 2012 08:58:43 +0000 (10:58 +0200)]
hda-verb: Don't include sys/io.h for PPC

Signed-off-by: Takashi Iwai <tiwai@suse.de>
13 years agohda-verb: Add missing MYNAME definition for packaging
Jaroslav Kysela [Tue, 17 Jul 2012 16:48:20 +0000 (18:48 +0200)]
hda-verb: Add missing MYNAME definition for packaging

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 years agousx2yloader: make fxload work without deprecated usbfs
Karsten Wiese [Wed, 25 Apr 2012 10:25:04 +0000 (12:25 +0200)]
usx2yloader: make fxload work without deprecated usbfs

Use $DEVNAME instead of $DEVICE in script tascam_fw.

Signed-off-by: Karsten Wiese <fzuuzf@googlemail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
13 years agoUpdate .gitignore for hda-verb
Takashi Iwai [Fri, 20 Apr 2012 13:56:53 +0000 (15:56 +0200)]
Update .gitignore for hda-verb

Signed-off-by: Takashi Iwai <tiwai@suse.de>
13 years agoConvert hda-verb to use automake
Takashi Iwai [Fri, 20 Apr 2012 13:54:49 +0000 (15:54 +0200)]
Convert hda-verb to use automake

Signed-off-by: Takashi Iwai <tiwai@suse.de>
13 years agoAdd hdajackretask files to .gitignore
Takashi Iwai [Fri, 20 Apr 2012 13:49:35 +0000 (15:49 +0200)]
Add hdajackretask files to .gitignore

Signed-off-by: Takashi Iwai <tiwai@suse.de>
13 years agoImport hda-verb 0.4 to alsa-tools repo
Takashi Iwai [Fri, 20 Apr 2012 13:48:01 +0000 (15:48 +0200)]
Import hda-verb 0.4 to alsa-tools repo

Signed-off-by: Takashi Iwai <tiwai@suse.de>
13 years agohdajackretask: Use autotools
David Henningsson [Fri, 13 Apr 2012 09:49:21 +0000 (11:49 +0200)]
hdajackretask: Use autotools

Start to use autotools as build system, just like the other programs
in the alsa-tools suite.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
13 years agohdajackretask: Add new program for easy retask of hda pin nodes
David Henningsson [Thu, 22 Mar 2012 16:47:02 +0000 (17:47 +0100)]
hdajackretask: Add new program for easy retask of hda pin nodes

Most HDA Intel soundcards are to some degree retaskable, i e can be
used for more than one thing. This tool is a GUI to make it easy to
retask your jacks - e g, turn your Mic jack into an extra Headphone,
or why not make them both line outs and connect them to your surround
receiver?

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
13 years agoalsa-tools: hwmixvolume - update README for au88x0
Raymond Yau [Sun, 11 Mar 2012 03:37:22 +0000 (11:37 +0800)]
alsa-tools: hwmixvolume - update README for au88x0

- Need to use alsa-driver kernel 3.4 for Aureal sound cards

Signed-off-by: Raymond Yau <superquad.vortex2@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
13 years agoRelease v1.0.25 v1.0.25
Jaroslav Kysela [Wed, 25 Jan 2012 07:57:04 +0000 (08:57 +0100)]
Release v1.0.25

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 years agoRemove configure.in-gtk2 from Makefiles...
Jaroslav Kysela [Mon, 23 Jan 2012 10:45:15 +0000 (11:45 +0100)]
Remove configure.in-gtk2 from Makefiles...

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 years agoMore build fixes (gtk1 check removal from echomixer), cvscompile removal
Jaroslav Kysela [Mon, 23 Jan 2012 10:40:34 +0000 (11:40 +0100)]
More build fixes (gtk1 check removal from echomixer), cvscompile removal

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 years agoenvy24control: support gtk1 only in configure.in-gtk1
Jaroslav Kysela [Fri, 20 Jan 2012 11:39:09 +0000 (12:39 +0100)]
envy24control: support gtk1 only in configure.in-gtk1

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
14 years agohdspmixer: Fix temporary RPM constant
Adrian Knoth [Fri, 29 Jul 2011 15:57:30 +0000 (17:57 +0200)]
hdspmixer: Fix temporary RPM constant

RPM in hdsp.h's HDSP_IO_Type is 4, not 5. This patch isn't exactly
necessary here, because the constant is only used internally, but to
avoid confusion if somebody ever reads the code, let's use the correct
value.

Note that we'll drop it after the next alsa-lib release.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agohdsploader: Fix temporary RPM constant
Adrian Knoth [Fri, 29 Jul 2011 15:57:29 +0000 (17:57 +0200)]
hdsploader: Fix temporary RPM constant

RPM in HDSP_IO_Type (enum from hdsp.h) is 4, not 5.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>