Commit graph

763 commits

Author SHA1 Message Date
Jaroslav Kysela
7c5e5f5728 Added snd_pcm_sw_params_get_boundary() function.
Implemented refine function in dmix.
2003-02-05 21:26:14 +00:00
Jaroslav Kysela
073dff1ba1 Commented out FD_CLOEXEC fcntl() calls 2003-02-05 11:00:16 +00:00
Jaroslav Kysela
ee22480d93 Fixed starting of hardware and shm stuff 2003-02-05 10:34:41 +00:00
Jaroslav Kysela
d4c27edb1c Fixed error paths in open 2003-02-04 16:40:47 +00:00
Takashi Iwai
176d858909 fixed typo. 2003-02-04 15:59:25 +00:00
Jaroslav Kysela
8720faaccb Cleanups in IPC stuff.
Cleanups in snd_pcm_close().
Added initial code for dmix plugin:
  - only skeleton, but all major problems should be solved
2003-02-04 14:48:51 +00:00
Jaroslav Kysela
e5b227961e Splitted code to snd_pcm_hw_open_fd() function and added handling for FD_CLOEXEC flag 2003-02-04 13:33:44 +00:00
Jaroslav Kysela
7ce9b36eee Added missing symbol version 2003-01-27 14:39:45 +00:00
Takashi Iwai
1b41de0653 - fixed the rate selection in the plug layer:
the multiples of the given rate is chosen if available.
  the nearest rate is selected as usual if not available.
2003-01-27 11:34:50 +00:00
Takashi Iwai
0c156a3c89 - fixed the unlink_{hw,app}_ptr of slaves.
- removed the invalid unlink_ptr assersion.
2003-01-27 11:19:04 +00:00
Takashi Iwai
2cd18ddc57 - use the normal dlsym() instead of snd_dlsym() to avoid the version
check of external scope plugins.
2003-01-27 10:26:33 +00:00
Takashi Iwai
2dc8cba51c fixed dlopen & co. for hook, ladspa and meter types. 2003-01-20 17:15:54 +00:00
Jaroslav Kysela
8750215edb Added missing break for 24bit formats (silence) 2002-12-18 12:03:28 +00:00
Jaroslav Kysela
7fe18c9561 Added more comments by Robert Spier (robrt@users.sourceforge.net) 2002-12-04 15:34:04 +00:00
Jaroslav Kysela
098932ce57 Added POLLNVAL to poll->events 2002-11-30 09:47:20 +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
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
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