Commit graph

492 commits

Author SHA1 Message Date
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
Adrian Knoth
1d37a85054 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>
2011-07-29 19:23:42 +02:00
Adrian Knoth
21df31ab4f hdsploader: Temporary define for RPM
Right now (1.0.24.1), alsa-lib's hdsp.h doesn't know about the RPM. To
avoid a strong dependency on unreleased code, temporary provide the
define here.

It can be dropped as soon as a new version of alsa-lib will be released,
thus effectively making it the required minimum version for alsa-tools.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-07-29 07:40:10 +02:00
Adrian Knoth
da8a50938d hdsploader: Add support for RME RPM
Augment hdsploader to support the RME RPM devices. The firmware is
already present in alsa-firmware, so we can directly load it.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-07-29 07:39:51 +02:00
Adrian Knoth
53bcd9d16c hdspmixer: Add support for RME RPM
This patch adds support for the RME RPM devices. It's mostly based on
Florian Faber's previous patch against hdspmixer 1.0.23,
forwarded-ported to the current hdspmixer code.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-07-29 07:39:35 +02:00
Adrian Knoth
cb40769c93 hdspmixer: Handle preset files used in 1.0.24 and 1.0.24.1
As an addition to the previous commit, let's also cover the 3rd case
when a preset file was written with hdspmixer v1.0.24 or v1.0.24.1.

In this case, no magic header will be present, but the file size would
differ from the pre 1.0.24 format.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-04-14 12:01:04 +02:00
Adrian Knoth
7c6912449a hdspmixer: Handle channel count in old (v1.0.23) preset file format
When reading a preset file, v1.0.23 only used 26 channels instead of 64.
Reading 64 channels from a 26 channel file won't work, hence set it
depending on the file format version.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-04-14 12:00:52 +02:00
Adrian Knoth
25bd81562a hdspmixer: Fix read/write from/to preset files on MADI-like cards
The old hdspmixer (prior to e24e56795e,
that is pre-1.0.24) has used the hard-coded value "14" for
reading/storing 14 ints from/to preset files, however, it's actually
HDSP_MAX_DEST that should be used.

HDSP_MAX_DEST was bumped from 14 to 32 to allow for MADI cards (32
stereo pairs equal 64 output channels on MADI cards)

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-04-14 12:00:26 +02:00
Adrian Knoth
f9147bfc2c hdspmixer: Initialize headphones out in presets
Cards like the multiface/digiface have additional headphones out. Those
were not initialized in the presets due to wrong loop boundaries:
maxdest represents the amount of physical stereo pairs, and chnls is
either equal or less, so the output fader array needs more iterations
than the playback section.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-04-06 08:22:41 +02:00
Adrian Knoth
92413b739e hdspmixer: Recall 1st preset on all cards, not just on the first
With the new "store current settings to the virtual 9th preset" before
switching cards code, one needs to make sure the actual mixer state is
loaded with sane values, either from the preset file or a generic
builtin preset.

Calling preset_change(1) is sufficient, setting all the required data.
However, in case of more than one RME card in the system, one needs to
call this function for each card, otherwise, some of the cards store
uninitialized data to the 9th preset, resulting in a weird mixer state
afterwards.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-04-06 08:22:33 +02:00
Adrian Knoth
7a865ce040 hdspmixer: Save preset before switching cards
When running with more than one card, switching cards would lose any
changes made to the current card. To avoid this inconvenience, save the
current settings to the virtual 9th preset and restore them when
switching back.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-04-06 08:22:15 +02:00
Adrian Knoth
0b018d9a23 hdspmixer: Add a 9th pseudo preset
When switching cards, all current settings are lost. To have a place
where to store them, let's add a virtual 9th preset which can be used as
a temporary scratch pad.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-04-06 08:22:06 +02:00
Tim Blechmann
c975369874 hdspmixer: fix drawing problems with black background
- use foreground color instead of black
- HDSPMixerSelector: set colors before setting labels

Signed-off-by: Tim Blechmann <tim@klingt.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-04-06 08:20:50 +02:00
Tim Blechmann
210cb5f447 hdspconf: more string constant fixes
Signed-off-by: Tim Blechmann <tim@klingt.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-03-28 12:25:22 +02:00
Tim Blechmann
3ee59653ec hdspconf: use foreground color instead of black
if the background color of the color scheme is black, black text is hard
to read. using the foreground color fixes this problem

Signed-off-by: Tim Blechmann <tim@klingt.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-03-28 12:25:12 +02:00
Tim Blechmann
e6c8241752 hdspconf: fix some string constant conversions
Signed-off-by: Tim Blechmann <tim@klingt.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-03-28 12:24:51 +02:00
Adrian Knoth
8f446f99e5 hdspmixer: Update NEWS file.
Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-03-22 13:03:04 +01:00
Adrian Knoth
287bc091e9 hdspmixer: Save and restore level meter settings
Each preset can have a different level meter setting (FS samples for
OVR, release rate, minimum level and so on).

These settings were not saved/restore to/from the on-disk file. This
patch adds the missing functionality.

Unfortunately, the current on-disk format is a 1:1 binary dump from
memory without any header information. In other words, this commit will
break backward compatibility with older hdspmixers, that is, new preset
files cannot be read by older versions of hdspmixer. However, we can
still read the old mix files and save them in the new format.

I hence bumped the version, so users know to re-create their files after
upgrading to 1.11.

Bug discovered by Raphaël Doursenaud from ematech.fr.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-03-22 13:01:45 +01:00
Adrian Knoth
6cc4d395f4 hdspmixer: Use constant instead of hardcoded number of cards.
Again, use MAX_CARDS instead of "3", just in case MAX_CARDS should
change some day.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-03-22 13:01:32 +01:00