Jaroslav Kysela
852b0c6129
Adam Tla/lka <atlka@pg.gda.pl>
...
SHM memory leak fix
2004-01-20 12:47:05 +00:00
Jaroslav Kysela
63c19961b9
Takashi: added shadow pcm to avoid problem with plug plugin and mmaped access
2003-08-08 09:06:41 +00:00
Jaroslav Kysela
b004a9d791
Added snd_pcm_munmap() call to snd_pcm_close() - free all resources
2003-06-22 09:59:03 +00:00
Jaroslav Kysela
573f85dc1d
- added shm area manager code
...
- fixed parsing of period_size/buffer_size options for dmix, dsnoop and
dshare plugins
2003-04-23 12:41:55 +00:00
Jaroslav Kysela
8faee9967f
Fixed nasty bug when we used more ipc buffers for interleaved access
2003-02-28 20:32:07 +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
Takashi Iwai
12e89c5307
fixed compile warning (conversion between signed and unsigned).
2002-06-18 16:06:14 +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
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