Commit graph

9 commits

Author SHA1 Message Date
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
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
Takashi Iwai
2df1aa7c20 Add ld10k1 tool
Added ld10k1 tool by Peter Zubaj.
2005-03-18 13:40:44 +00:00