Commit graph

32 commits

Author SHA1 Message Date
Jaroslav Kysela
90c2aa2639 ld10k1: fix various gcc warnings
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2025-01-27 10:44:25 +01:00
Ross Burton
235d9c5e83 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>
2018-06-12 14:30:58 +02: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 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
07896d3d16 Modernize configure.ac 2014-06-12 11:28:22 +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
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
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
a726e5df68 Added configure target to global Makefile and gitcompile to EXTRA_DIST
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-09-09 14:17:10 +02:00
Jaroslav Kysela
880926b3cd gitcompile: return error return code and add GITCOMPILE_NO_MAKE condition
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-08-19 18:51:25 +02:00
Jaroslav Kysela
c989fddc7e hgcompile -> gitcompile changes (include README files) 2008-06-03 10:39:28 +02:00
Jaroslav Kysela
41282b058b Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-15 10:25:36 +02:00
Takashi Iwai
ca6a8bac3c ld10k1 - Use the new API
Issue SNDRV_EMU10K1_IOCTL_PVERSION and check the driver.
This prevents to run ld10k1 on the older binary-incompatible driver.
2007-01-19 18:38:26 +01:00
Takashi Iwai
e13da40b0e Add hgcompile scripts
Added hgcompile scripts.
2006-05-12 15:36:52 +02:00
Takashi Iwai
ef87719aec Fix exec permission of cvscompile and add .hgignore 2006-04-07 18:17:19 +02:00
Takashi Iwai
26247b5422 ld10k1 - Fix eq10 patch for SB Live
From: Piotr Tajdus <aegis@op.pl>

There were problems with EQ10 on Sound Blaster (caused by ACCUM or macmv
instruction, i am not sure), so i made some changes. Now equalizer
should work also with SB Live.
2006-01-02 14:28:40 +00:00
Takashi Iwai
82b21d4c71 Add Equalizer support for emu10k1 Audigy
From: Piotr Tajdus <aegis@op.pl>

Added the equalizer support for emu10k1 (Audigy only).
2005-12-12 11:32:07 +00:00
Takashi Iwai
4146690880 Minor clean up for bitops
Minor clean up for bitops.
2005-11-09 12:32:17 +00:00
Takashi Iwai
f6f9529714 Use unsigned int for better optimization
Use unsigned int in bitops for better optimization.
2005-11-09 12:23:02 +00:00
Takashi Iwai
6b46723473 Fix bit ops for 64bit long
Fix bit ops for 64bit long.
2005-11-08 17:13:30 +00:00
Takashi Iwai
125498519d Fix bitops to be 64bit clean
A patch from bug#1343:

On all 64bit systems (the easiest example is amd64) ld10k1 crashes on
use by lo10k1, some debugging tracked down the problem fairly quickly.

The bitops functions (set_bit and associated) that ld10k1 use come from
the linux kernel, and assume that longs are 32bit only, causing a buffer
overflow of the bit buffer.

The attached patch fixes the bitops to be independent of the size of
longs, and is confirmed to fix the bug on my box.

Zephaniah E. Hull.
2005-08-18 13:01:56 +00:00
Takashi Iwai
700edf08b4 Various fixes to ld10k1
Various fixes by Tim <terminator356@users.sourceforge.net>:

- Now loads as10k1 bin patch files from ALSA alsa-tools AND from EMU1roject emu-utils.
- Fixed init_live bug.
- Fixed bug in liblo10k1.c liblo10k1_patch_get().
2005-06-03 12:30:46 +00:00
Takashi Iwai
7cd01af9c1 Fix uninitialized variable
Fixed uninitialized variable.  Fix also for gcc-2.9x.
2005-05-24 16:53:10 +00:00
Mikael Magnusson
e4da25863f Fix handling of $CFLAGS and $LIBS
Removes ALSA_CFLAGS and ALSA_LIBS in configure.in, they are added to
CFLAGS and LDADD in src/Makefile.am already.

Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
2005-05-17 16:10:38 +00:00
Jaroslav Kysela
d9f562d1f7 ALSA 1.0.9 is required 2005-05-16 12:56:20 +00:00
Mikael Magnusson
d54b7eb412 init_live updates
ld10k1: init_live updates

 * Added IEC958 Optical Raw Playback
 * Changed to mono switches saving GPRs
 * Renamed controls to match the Audigy driver closer.
 * switch_2x2.asm: Switch 2 x 2 channels
 * mono_switch_2.asm: Mono Switch 2 channels
 * mono_switch_2x2.asm: Mono Switch 2 x 2 channels
 * prologic.asm: LFE output added

Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
2005-04-11 13:30:00 +00:00
Mikael Magnusson
6c37fd7953 Don't require as10k1
Don't require as10k1 in the configure script and remove the .emu10k1
files in maintainer-clean instead of clean, since the assembled
.emu10k1 files are included in the alsa-tools dist.

Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
2005-04-11 13:15:52 +00:00
Jaroslav Kysela
de1481924f Packaging fix 2005-03-24 11:36:41 +00:00
Takashi Iwai
83b4a93e03 Fix cvscompile
- Use autoreconf.
- Check as10k1 program in configure.
2005-03-18 16:34:28 +00:00
Takashi Iwai
2df1aa7c20 Add ld10k1 tool
Added ld10k1 tool by Peter Zubaj.
2005-03-18 13:40:44 +00:00