Commit graph

539 commits

Author SHA1 Message Date
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
Jaroslav Kysela
ecceb914bf Added debug code 2002-09-21 19:01:24 +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
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
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
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
2db6b18b39 Fixed silence_64 and added support for 24-bit samples to area_silence 2002-07-21 08:19:40 +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
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
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
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
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
Takashi Iwai
46f5b240c4 added libtoolize. 2002-06-12 16:38:21 +00:00
Takashi Iwai
05b64bad5a fixed missing root argument.
now null plugin works fine.
2002-06-11 11:31:21 +00:00
Jaroslav Kysela
7fbb1a3071 Removed dummy code 2002-06-10 11:16:58 +00:00
Takashi Iwai
54ae06305d don't recheck MMAP_XXX masks (in mmap_emulation mode only). 2002-04-30 12:40:11 +00:00
Takashi Iwai
ab705b6142 added missing checks of return values. 2002-04-30 12:39:32 +00:00
Jaroslav Kysela
9fd32231dd Fixed memory leak introduced with new ring buffer place 2002-04-23 15:59:46 +00:00
Jaroslav Kysela
c941c548f8 Moved ring buffer pointers and added a mechanism to transfer them via shm 2002-04-23 15:51:29 +00:00
Jaroslav Kysela
6746dabeb1 Fixed capture for plugins 2002-04-16 19:24:58 +00:00
Jaroslav Kysela
755d563910 Fixed entry for static linking 2002-04-03 17:47:17 +00:00
Jaroslav Kysela
e131f156b5 Added more explanation for i/o access 2002-03-27 18:39:42 +00:00
Jaroslav Kysela
853304bbf4 Corrections by Kevin Conder <kconder@interaccess.com> 2002-03-12 20:14:33 +00:00
Jaroslav Kysela
b559c97833 Linear interpolation fix by Takashi 2002-03-12 19:22:43 +00:00
Jaroslav Kysela
76712fb46b Cleanups in expand() 2002-03-11 18:56:34 +00:00
Jaroslav Kysela
22bd1c328a Added proper initialization for expand, added corrections for sw_params (checks for period_size and buffer_size) 2002-03-11 14:59:11 +00:00
Jaroslav Kysela
c31a3bff06 Fixed typo 2002-03-11 13:19:28 +00:00
Jaroslav Kysela
89d3f1d82f Added debug printf 2002-03-11 13:18:46 +00:00
Takashi Iwai
a5cdbcced2 fixed comment. 2002-03-11 12:53:28 +00:00
Takashi Iwai
0d4df92f80 fixed xrun problems with rate conversion. 2002-03-11 12:49:57 +00:00
Takashi Iwai
9fc594f47b fixed segfault in rate conversions. 2002-03-08 14:29:09 +00:00
Jaroslav Kysela
aeeb396002 Added abort when no more frames can be processed 2002-03-03 09:24:14 +00:00
Jaroslav Kysela
58f74152f5 Accept also long description of format for snd_pcm_format_value() 2002-03-03 07:34:00 +00:00
Jaroslav Kysela
42c4c163a3 Fixed against latest internal API 2002-02-22 08:21:18 +00:00
Jaroslav Kysela
ecd21fa26c Removed old assert from read/write_areas 2002-02-22 08:20:51 +00:00
Jaroslav Kysela
63fc0363c4 Added ommited break 2002-02-22 07:51:43 +00:00
Jaroslav Kysela
4a0e9058a9 Fixed xfer variable initialization for capture in avail_update() 2002-02-21 15:03:50 +00:00
Jaroslav Kysela
e128bf856e Cleaned the mmap_commit implementations in plugins.
Added undo callbacks for snd_pcm_plugin based plugins.
  - helpers when mmap_commit proceed only a partial transfer
Fixes to avail_update implementation in pcm_hw.c.
2002-02-21 15:01:34 +00:00
Jaroslav Kysela
9b0eebbcb7 Added a call to XRUN ioctl to update correctly PCM state 2002-02-21 08:45:19 +00:00