Commit graph

510 commits

Author SHA1 Message Date
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
Takashi Iwai
e926822747 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>
2017-08-22 14:40:49 +02:00
Jaroslav Kysela
b01cf309bd Release v1.1.3
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2016-12-20 10:12:29 +01:00
Michel Normand
70118f5f93 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>
2016-06-20 15:30:47 +02:00
Jaroslav Kysela
44f3750171 Release v1.1.0
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2015-10-27 14:34:05 +01:00
Takashi Iwai
ed9c1b7b4e Add */compile to .gitignore
Recent autotools give more garbages.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-10-02 12:41:02 +02:00
Takashi Iwai
8a241fa7db Add some hdajacksensetest/* files to .gitignore
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-10-02 12:38:33 +02:00
Stéphane Aulery
471ba9b3cf 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>
2015-03-26 07:33:17 +01:00
Jaroslav Kysela
42b826d59f Release v1.0.29
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2015-02-26 13:35:49 +01:00
David Henningsson
9dca16c1fc 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>
2015-01-13 17:47:12 +01:00
David Henningsson
7a7d94a031 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>
2014-10-06 15:31:48 +02:00
David Henningsson
eb6408a791 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>
2014-08-04 11:07:01 +02:00
Takashi Iwai
406f80c968 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>
2014-06-27 16:48:33 +02:00
Jaroslav Kysela
c3eb62540f Release v1.0.28
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2014-06-13 11:28:13 +02:00
Jaroslav Kysela
1e7b6189d8 qlo10k1: packing fix (configure.ac) 2014-06-13 11:26:43 +02:00
Jaroslav Kysela
07896d3d16 Modernize configure.ac 2014-06-12 11:28:22 +02:00
David Henningsson
ab0104736c 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>
2014-05-27 09:28:54 +02:00
Adrian Knoth
f3c2688f9d 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>
2014-01-05 12:01:44 +01:00
David Henningsson
772fbde91c 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>
2013-06-14 14:08:14 +02:00
Jordi Mallach
472c414744 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>
2013-05-16 10:40:12 +02:00
Jordi Mallach
e79e2011ef 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>
2013-05-16 10:40:06 +02:00
Elimar Riesebieter
a17282503f 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>
2013-05-16 10:40:00 +02:00
Jordi Mallach
c1fdd7594b 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>
2013-05-16 10:39:25 +02:00
Elimar Riesebieter
2fcce932b6 Add a distclean target to example Makefile.
Signed-off-by: Jordi Mallach <jordi@debian.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-05-16 10:38:45 +02:00
Jaroslav Kysela
4bf54c5003 Release v1.0.27
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2013-04-11 13:43:07 +02:00
Jaroslav Kysela
4f0f875032 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>
2013-04-09 11:18:42 +02:00
David Henningsson
c416c1180d 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>
2013-03-04 16:41:54 +01:00
David Henningsson
6391a860e8 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>
2013-03-01 12:00:13 +01:00
Takashi Iwai
c2963afb19 Add foreign automake option to hdajackretask/Makefile.am
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-11-13 14:33:22 +01:00
Takashi Iwai
9a49ef8c62 Fix typos and missing files for hdajackretask to .gitignore
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-11-13 14:32:48 +01:00
Fabio Estevam
848e26d10e 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>
2012-11-13 14:26:23 +01:00
Jaroslav Kysela
e875fa883d Release v1.0.26.1
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-09-06 17:20:39 +02:00
Jaroslav Kysela
d22f887951 (q)lo10k1: updated INSTALL files
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-09-06 17:19:56 +02:00
Jaroslav Kysela
61ea74a6e5 hdajackretask: Add missing header files to tar-ball distribution
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-09-06 17:19:10 +02:00
Jaroslav Kysela
c799e978c8 Release v1.0.26
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-09-06 09:53:16 +02:00
Takashi Iwai
aa795cb827 hda-verb: Don't include sys/io.h for PPC
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-07-31 11:04:38 +02:00
Jaroslav Kysela
65219ca2de hda-verb: Add missing MYNAME definition for packaging
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-07-17 18:48:20 +02:00
Karsten Wiese
845c3186a7 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>
2012-04-27 14:32:14 +02:00
Takashi Iwai
43135b17d8 Update .gitignore for hda-verb
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-04-20 15:56:53 +02:00
Takashi Iwai
2996581ce2 Convert hda-verb to use automake
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-04-20 15:56:45 +02:00
Takashi Iwai
f8d648a84b Add hdajackretask files to .gitignore
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-04-20 15:53:36 +02:00
Takashi Iwai
21e250bfbc Import hda-verb 0.4 to alsa-tools repo
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-04-20 15:48:01 +02:00
David Henningsson
d06008f397 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>
2012-04-13 12:42:38 +02:00
David Henningsson
7aa4a74f88 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>
2012-03-22 17:47:02 +01:00
Raymond Yau
a680841d4a 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>
2012-03-13 10:49:20 +01:00
Jaroslav Kysela
50fb5772e6 Release v1.0.25
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-01-25 08:57:04 +01:00
Jaroslav Kysela
234fa1f79a Remove configure.in-gtk2 from Makefiles...
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-01-23 11:45:15 +01:00
Jaroslav Kysela
3375a08a4c More build fixes (gtk1 check removal from echomixer), cvscompile removal
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-01-23 11:40:34 +01:00
Jaroslav Kysela
52384d8479 envy24control: support gtk1 only in configure.in-gtk1
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-01-20 12:39:09 +01:00
Adrian Knoth
15aaaba184 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>
2011-07-29 19:23:42 +02:00