Jaroslav Kysela
c7d58f398e
Added rmask/cmask handling in refine
2003-02-08 09:26:43 +00:00
Jaroslav Kysela
073dff1ba1
Commented out FD_CLOEXEC fcntl() calls
2003-02-05 11:00:16 +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
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
8205a95376
Replaced snd_pcm_avail() with snd_pcm_hwsync()
2002-10-12 11:49:53 +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
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
Jaroslav Kysela
16b3bf447c
Enhanced bitmasks in PCM - added support for more formats by Takashi and me
2002-06-26 02:04:11 +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
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
89d3f1d82f
Added debug printf
2002-03-11 13:18:46 +00:00
Jaroslav Kysela
63fc0363c4
Added ommited break
2002-02-22 07:51:43 +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
Jaroslav Kysela
20bfec221e
Fixed XRUN detection condition in avail() callback
2002-02-21 08:14:44 +00:00
Jaroslav Kysela
2cc79806a2
Added description of shm, null and rate plugins
2002-01-22 14:27:25 +00:00
Jaroslav Kysela
6ead410b11
Added description of copy, linear, lfloat and mulaw PCM plugins
2002-01-13 11:11:42 +00:00
Jaroslav Kysela
8c1887d7af
Moved some prototypes from src/pcm/pcm_plugin.h to include/pcm_plugin.h.
...
Merged src/pcm/atomic.h to include/iatomic.h.
Added initial description of hw and hooks plugins.
2002-01-12 10:52:42 +00:00
Jaroslav Kysela
3e3df2d32b
Updated GNU GPL license (address).
...
Changed GNU LGPL licence from 2.0 to 2.1.
2001-12-30 09:22:54 +00:00
Jaroslav Kysela
49cadfbb16
Added mmap emulation mode
2001-12-11 15:07:10 +00:00
Jaroslav Kysela
484c05ec36
Improved mmap emulation over write/read
2001-12-08 21:00:21 +00:00
Jaroslav Kysela
f830a77334
Added debug code
2001-11-24 11:32:42 +00:00
Jaroslav Kysela
c39882f602
Configuration:
...
- changed snd_config_get_id function to follow semantic of other get functions
- added snd_config_test_id
- added runtime pointer type (not persistent)
- added snd_config_make_pointer, snd_config_set_pointer, snd_config_get_pointer
- added type/contents checking for callback functions
- changed 'void *private_data' to 'snd_config_t *private_data'
- renamed card_strtype functions to card_driver
Control:
- fixed passing parameters to snd_ctl_async
Async handlers:
- added public snd_async_handler_get_signo function
Documentation:
- moved all documentation to source files
2001-11-19 08:14:21 +00:00
Jaroslav Kysela
27472b56a6
Changes for static build.
2001-10-24 14:14:11 +00:00
Jaroslav Kysela
67cc9dbc75
Fixed typos and made some cleanups in the async stuff
2001-10-18 12:33:45 +00:00
Jaroslav Kysela
752b40d7f7
Don't report ENOSYS error via SYSERR for snd_pcm_resume
2001-10-09 12:44:30 +00:00
Jaroslav Kysela
3c59c6b11d
Added power management functions and defines.
2001-09-26 13:57:04 +00:00
Jaroslav Kysela
9708283b56
Removed EAGAIN error report from drain
2001-08-22 11:27:45 +00:00
Jaroslav Kysela
b45c08611c
Added symbol versioning for dlsym-callbacks.
...
Removed snd_config_refer_load from confmisc.c and pcm.c.
2001-08-15 12:12:16 +00:00
Jaroslav Kysela
c20c954f3d
Added documentation for instrument and midi event functions.
...
Removed snd_enum_() macros.
Documentation changes in asoundlib.h.
2001-07-11 14:09:01 +00:00
Abramo Bagnara
157f47aedd
New async notification API. Removed obsolete surround. Cleaning
2001-06-20 20:52:12 +00:00
Jaroslav Kysela
bf780a25a5
Added argument handling for the slave PCMs.
...
The configuration root (snd_config) can be specified for the internal routines.
The pcm_hooks code was recoded (independent code moved to control/setup.c).
Improved the pcm_multi plugin (added master configuration).
2001-06-11 13:35:48 +00:00
Abramo Bagnara
7f651b3071
Added hooked PCM type (one sample hook implementation will follow). Some cleaning.
2001-06-04 18:04:18 +00:00
Abramo Bagnara
301a62f90a
Improved automatic start/stop
2001-04-19 21:18:23 +00:00
Abramo Bagnara
6a3b962d06
Better PCM mmap API. Fixed pcm_multi
2001-04-13 15:40:53 +00:00
Abramo Bagnara
2374c70bca
Fixed returned value
2001-04-02 16:35:31 +00:00
Abramo Bagnara
5b50ec848a
Lot of cleanings with the help of gcc3
2001-03-29 17:50:28 +00:00
Abramo Bagnara
7893ea238d
Added mode argument to open functions where it was missing. First part of CTL documentation
2001-03-26 12:45:48 +00:00
Abramo Bagnara
445e2b0c07
First part of PCM documentation
2001-03-23 11:05:41 +00:00
Abramo Bagnara
5e2c5cab92
Removed obsolete code
2001-03-08 14:21:15 +00:00
Abramo Bagnara
bbaeb29a74
Renamed ERR to SNDERR. Added s16 pseudo meter scope. Fixed plug hw_refine/params
2001-03-04 20:39:02 +00:00
Abramo Bagnara
a02e742609
Added multithread aware status for plugins
2001-02-27 18:21:31 +00:00
Abramo Bagnara
c663f4f4f7
Transformed PAGE_SIZE in sysconf(_SC_PAGE_SIZE)
2001-02-21 21:59:35 +00:00
Abramo Bagnara
c71b72ee27
Fixed longstanding avail compute bug. Cosmetic fixes
2001-02-14 09:36:00 +00:00
Abramo Bagnara
a2d3434961
Completed mixer API. Improved iterators. Renamed control values struct. Rewritten simple elements implementation
2001-02-11 15:45:35 +00:00
Abramo Bagnara
66f13f6115
Splitted rawmidi streams. Removed stream constraint on config files
2001-02-07 13:30:40 +00:00