Jaroslav Kysela
853304bbf4
Corrections by Kevin Conder <kconder@interaccess.com>
2002-03-12 20:14:33 +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
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
6113d83e08
Fixed munmap sizes (SIGSEGV)
2001-12-15 17:22:31 +00:00
Jaroslav Kysela
b63e44aab0
Synchronized snd_pcm_write_areas and snd_pcm_read_areas with the kernel
...
write/read functions.
Changed snd_pcm_xfer_areas_func_t to return snd_pcm_sframes_t (pass errors).
2001-12-09 12:32:42 +00:00
Jaroslav Kysela
8ca451f0e1
Improved mmap_write and mmap_read functions
2001-12-08 21:00:51 +00:00
Jaroslav Kysela
78f86ed011
Added mmap_write & mmap_readi functions to include/pcm.h.
2001-10-18 18:05:41 +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
Jaroslav Kysela
00c749f080
Reverted back the previous read/write_areas code
2001-05-14 15:21:18 +00:00
Jaroslav Kysela
808fb82d1f
Enhanced snd_pcm_mmap_read/write_areas to support the blocking behaviour.
...
Removed wrong asserts.
2001-05-14 14:31:45 +00:00
Abramo Bagnara
6a3b962d06
Better PCM mmap API. Fixed pcm_multi
2001-04-13 15:40:53 +00:00
Abramo Bagnara
5b50ec848a
Lot of cleanings with the help of gcc3
2001-03-29 17:50:28 +00:00
Abramo Bagnara
ddc9a186cf
Completed PCM documentation
2001-03-24 16:14:44 +00:00
Abramo Bagnara
5e2c5cab92
Removed obsolete code
2001-03-08 14:21:15 +00:00
Abramo Bagnara
3830b168ef
Improved plugin code (simpler, faster and multithread ready)
2001-02-27 13:42:12 +00:00
Abramo Bagnara
c663f4f4f7
Transformed PAGE_SIZE in sysconf(_SC_PAGE_SIZE)
2001-02-21 21:59:35 +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
8f0cb26fdf
Control API encapsulation. Better names for kernel API. Simpler PCM hw_params API. Added missing const.
2001-02-06 23:48:10 +00:00
Abramo Bagnara
4ecd9eaa46
Fixed some typos
2001-02-04 22:59:24 +00:00
Abramo Bagnara
a7561a9c7e
Corrected and completed encapsulation for PCM and rawmidi. Remove SND_PCM_HW_PARAM_* and use functions. Separated rawmidi info between streams
2001-02-04 17:03:17 +00:00
Abramo Bagnara
de19407578
Removed card type from devices info. Added card number to devices info. Completed encapsulation of PCM API. Removed snd_pcm_card(). All copy functions now have the form copy(dst, src).
2001-01-31 17:26:56 +00:00
Abramo Bagnara
b4e80abc53
Rewritten mmap_{read,write} following alsa-driver current code
2001-01-20 12:56:30 +00:00
Abramo Bagnara
aa813e1f39
Uniformed some internal names. Bug fixes
2001-01-15 15:15:24 +00:00
Abramo Bagnara
cc90e32557
New PCM model with fragment concept removal and two interrupt sources
...
Renamed size_t/ssize_t to snd_pcm_sframes_t/snd_pcm_uframes_t
2001-01-15 11:06:53 +00:00
Abramo Bagnara
e618ef6f00
Fixed a bug in interval printing. Added missing mmap functions. Added _try hw_params variant.
2000-12-30 17:20:23 +00:00
Abramo Bagnara
6425734d82
Fixes to mmap size computing
2000-12-23 16:46:17 +00:00
Abramo Bagnara
5860beac69
Some cleaning to mmap
2000-12-11 15:54:55 +00:00
Abramo Bagnara
61e95094e7
Fixed constness wrt snd_pcm_channel_area_t
2000-11-30 14:15:52 +00:00
Abramo Bagnara
ae549cf739
Fixed mmap size computation
2000-11-28 22:48:35 +00:00
Jaroslav Kysela
41bb7068f2
Merged pcmfinal branch.
2000-11-20 20:10:46 +00:00
Abramo Bagnara
a380edd64f
Fixed pointers use
2000-10-14 18:34:51 +00:00
Abramo Bagnara
e5e1ca14d4
Fixed mmap wrt shm. Renamed pcm_client, control_client to shm. More error messages. Implemented asoundrc as documented.
2000-10-14 10:31:34 +00:00
Abramo Bagnara
5b3e5e6c74
Added support for different mmap areas when running or stopped. Cleanings
2000-10-07 16:59:48 +00:00
Abramo Bagnara
b95bc05d81
Removed ptrs from status. Some cleaning for alsa-lib
2000-10-05 10:26:07 +00:00
Abramo Bagnara
62493ec983
Removed xrun_act. Added SND_PCM_STATE_DRAINING. Clean spinlock abuse in read/write path
2000-10-02 20:23:28 +00:00
Abramo Bagnara
057f56de06
Renamed stop -> drop in API
2000-10-02 06:59:59 +00:00
Abramo Bagnara
2ea3fd4bb3
Completed renaming drain->stop, flush->drain (PCM). Done renaming drain->drop, flush->drain (rawmidi and seq). Removed wrong module usage count inc/dec from mmap
2000-09-29 20:49:18 +00:00
Abramo Bagnara
7088f19233
Fixed mmap emulation
2000-09-29 13:50:42 +00:00
Abramo Bagnara
fe92855cbb
Added rewind to API in place of appl_ptr(). Moved aserver to a better place
2000-09-26 09:46:05 +00:00
Jaroslav Kysela
6962a9d6ce
Merged pcmplug branch.
2000-09-24 09:57:26 +00:00
Abramo Bagnara
3733bbdcff
Some cleaning renames. Prepared API for new plugins
2000-09-12 07:11:00 +00:00
Jaroslav Kysela
f981892e3a
64-bit fixes.
...
Controls API uses binary tree functions (tsearch ...).
2000-08-04 10:24:12 +00:00
Abramo Bagnara
bd532fd398
Better pcm_plug bypass. timestamp is struct timeval now
2000-07-19 17:21:15 +00:00
Abramo Bagnara
d379686996
Fixed frame_data behaviour
2000-07-16 11:29:55 +00:00
Abramo Bagnara
cc79e0c6ea
Moved some info fields to proper place (setup). Renamed mmap_size to mmap_bytes. Added detailed fail report to params_t. Added params_info to API.
2000-07-01 10:38:29 +00:00
Abramo Bagnara
875aed990f
Moved mmap_size to setup struct
2000-06-29 09:20:27 +00:00
Abramo Bagnara
60fa939c21
pcm handle split
2000-06-21 14:59:20 +00:00
Abramo Bagnara
34d8243828
Paranoia zeroing
2000-06-11 13:32:10 +00:00
Abramo Bagnara
e8cac7de4d
Changed ALSA unit from bytes to frames. Splitted mmap control structs. Better midlevel interrupt handler
2000-06-10 12:39:51 +00:00
Abramo Bagnara
0888689aec
Renamed status field in state
2000-06-05 11:38:02 +00:00