Commit graph

862 commits

Author SHA1 Message Date
Jaroslav Kysela
3c55dcabbf Sverker Wiberg <sverkerw@swipnet.se>
Opening the patch ROM on GusPnP always fails:

* iwffff_get_rom_header() gets the card directory wrong when opening
  the ROM file.

* iwffff_get_rom_header() forgets that the ROM header is padded to 512
  bytes length.

I also fixed some small stuff:

* Tried to improve snd_instr_iwffff_open_rom()'s doxygen comment. The
  commingling of file-system files (denoted by names) and ROM-embedded
  files (numbers) is somewhat confusing --- I'm still looking for the
  right words to explain it.

* Oh, and snd_instr_iwffff_open_rom() returns -EPERM for invalid
  bank/file values --- it means the wrong thing: ENOENT would be
  better.
2002-11-14 08:48:29 +00:00
Jaroslav Kysela
6ebde1c926 Added ENS1371 configuration and fixes for iec958 definition (dev arg removal) 2002-11-07 20:06:11 +00:00
Jaroslav Kysela
0d7d11889d Added missing snd_dlclose() calls 2002-11-07 15:18:45 +00:00
Jaroslav Kysela
3bccde0087 Removed clear() functions 2002-10-23 17:49:34 +00:00
Jaroslav Kysela
d2095e3a35 Fixed stream info for info ioctl in open() 2002-10-22 14:21:49 +00:00
Jaroslav Kysela
6979732fa5 Changed sw_params to follow hw_params (unify functions) 2002-10-19 19:09:46 +00:00
Jaroslav Kysela
cebc5c9bef Updated hw_params_(can|is)_* functions 2002-10-12 14:32:59 +00:00
Jaroslav Kysela
0d699d7e19 Improved documentation for hw_params_(can|is)_* functions 2002-10-12 13:37:42 +00:00
Jaroslav Kysela
170a5d0d7b Added ommited clear() functions 2002-10-12 12:04:08 +00:00
Jaroslav Kysela
8205a95376 Replaced snd_pcm_avail() with snd_pcm_hwsync() 2002-10-12 11:49:53 +00:00
Jaroslav Kysela
dac0626b9f Added snd_pcm_hw_params_current() function and clear() functions for structures 2002-10-12 10:38:43 +00:00
Jaroslav Kysela
e859cf2644 Implemented snd_pcm_avail() function.
More documentation updates for snd_pcm_avail_update() and snd_pcm_delay().
Updated behaviour of read/write functions (wait when buffer is full) to
follow kernel.
2002-10-11 18:39:24 +00:00
Takashi Iwai
25e41cf1e8 fixed the build without versioned symbols.
the rc4 symbols are defined as __ prefix, which are aliased in
pcm.h as well as the versioned symbol binary.
2002-10-10 11:01:18 +00:00
Jaroslav Kysela
f0e5677f29 Fixed mmap_xxxx_delay() to follow kernel code 2002-10-09 06:44:45 +00:00
Jaroslav Kysela
3560bb1481 Fixes in documentation for fast status 2002-10-09 06:13:57 +00:00
Takashi Iwai
bcc0866b62 added Versions to EXTRA_DIST. 2002-10-07 10:42:18 +00:00
Jaroslav Kysela
ecceb914bf Added debug code 2002-09-21 19:01:24 +00:00
Takashi Iwai
3b6ee2ad97 accept enum items for other volumes and switches. 2002-09-20 09:44:25 +00:00
Jaroslav Kysela
7f3942d827 Reverted back the PCM API.
New snd_pcm_hw_params_* functions are available only explicitly when
ALSA_PCM_NEW_HW_PARAMS_API is defined.
Updated documentation and test code to new API.
2002-09-19 16:12:13 +00:00
Jaroslav Kysela
adc1b2afb9 Initial version 2002-09-17 18:29:56 +00:00
Jaroslav Kysela
4dbdc06809 Added a lookup for exact ALSA library binary to allow RTLD_LOCAL usage 2002-09-17 15:28:41 +00:00
Jaroslav Kysela
b9343e0834 - unified snd_pcm_hw_params_* functions
- added backward compatibility for older non-compatible functions
- added --with-compat-rc3 to configure script to build library
  backwards compatible with 0.9.0rc3
- added symbol versioning like libc.so.6
  - ALSA_0.9      - alsa base
  - ALSA_0.9.0rc4 - first set of new functions (snd_pcm_hw_params_*)
2002-09-17 12:33:05 +00:00
Takashi Iwai
cabf841f4e handle enumerated playback/capture routes. 2002-09-13 17:36:44 +00:00
Jaroslav Kysela
677b0f60d6 Added snd_pcm_hw_params_get_min_align; changed get_format, get_subformat and get_access function to return not mixed error and return value 2002-09-09 19:47:50 +00:00
Takashi Iwai
c25879f9d9 added the handling of enum controls to simple mixer API.
the following functions are added:
int snd_mixer_selem_is_enumerated()
int snd_mixer_selem_get_enum_items()
int snd_mixer_selem_get_enum_item_name()
int snd_mixer_selem_get_enum_item()
int snd_mixer_selem_set_enum_item()
2002-09-09 14:24:56 +00:00
Jaroslav Kysela
52237f3542 Added back check for duplicated helements 2002-09-04 07:35:25 +00:00
Takashi Iwai
cf444c56b3 replaced excessive asserts with normal conditionals.
this _might_ cure some problems on powermac driver...
2002-09-03 15:53:59 +00:00
Takashi Iwai
5191bbcce5 output error message instead of assert().
assert() may cause an infinite loop in aplay, since it's in the
closing phase.
2002-08-27 16:30:59 +00:00
Takashi Iwai
b4b00dd7cf removed invalid assert().
there are reserved fields for the extended masks which are not used,
and this caused wrong assert()...
2002-08-27 16:30:03 +00:00
Jaroslav Kysela
63d708a344 Documentation update by Clement Ladish 2002-07-23 19:51:16 +00:00
Jaroslav Kysela
2db6b18b39 Fixed silence_64 and added support for 24-bit samples to area_silence 2002-07-21 08:19:40 +00:00
Takashi Iwai
fe58dd62eb fixed typo of snd_seq_poll_descriptors() in getting poll desc
for output only.
2002-07-15 14:08:32 +00:00
Jaroslav Kysela
518d16d849 Next signess fixes 2002-07-11 09:03:47 +00:00
Jaroslav Kysela
e4ccce7058 Replaced floor with rint 2002-07-11 08:01:58 +00:00
Jaroslav Kysela
8586ba20c9 Fixed normalization of int64 and float values 2002-07-10 12:13:45 +00:00
Abramo Bagnara
a81bf16bc9 Fixed normalization 2002-07-09 20:21:00 +00:00
Takashi Iwai
c4a0be5c5c - removed bad get_triple_* for i386. this can access over pages.
- fixed get16_1230_B2.
- fixed the size of put16_labels.
2002-07-09 12:44:34 +00:00
Abramo Bagnara
503dfb7162 Fixed interchanged max/min 2002-07-09 09:03:00 +00:00
Takashi Iwai
f726799483 fixed safe_strtoll to check the following characters. 2002-07-03 09:23:36 +00:00
Jaroslav Kysela
3bcd8ebfcf Removed drain call from the snd_pcm_close() function, data are always dropped 2002-06-26 18:12:07 +00:00
Jaroslav Kysela
9b46e6b3f8 Small cleanup 2002-06-26 18:05:10 +00:00
Takashi Iwai
03b2599397 don't check the error from running-mode ioctl (for backward
compatibility).
2002-06-26 08:53:07 +00:00
Jaroslav Kysela
16b3bf447c Enhanced bitmasks in PCM - added support for more formats by Takashi and me 2002-06-26 02:04:11 +00:00
Takashi Iwai
84730c976f initialize the running mode (if exists). 2002-06-21 12:24:58 +00:00
Takashi Iwai
9081af5d02 fixed compile warning. 2002-06-18 16:06:36 +00:00
Takashi Iwai
12e89c5307 fixed compile warning (conversion between signed and unsigned). 2002-06-18 16:06:14 +00:00
Takashi Iwai
2c1041f4f1 removed invalid const qualifier. 2002-06-18 16:05:36 +00:00
Takashi Iwai
96f9667114 added GUS.conf 2002-06-12 17:06:40 +00:00
Takashi Iwai
929dc3a227 more correct fixes.. it's different from other plugins. 2002-06-12 16:44:01 +00:00
Takashi Iwai
889e3bc1c6 fixed compile with the recent changes. 2002-06-12 16:38:42 +00:00