Commit graph

43 commits

Author SHA1 Message Date
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
Abramo Bagnara
a44c94959e Changed other static checks in assert 2000-06-04 16:24:04 +00:00
Abramo Bagnara
ef2a9bdd88 Added mmap_control access function. Converted static checks in asserts. Uniformed avail functions to kernel code 2000-06-04 13:13:01 +00:00
Abramo Bagnara
f11e203d6e Added snd_pcm_stream_state and snd_pcm_stream_byte_io. Added needed callbacks and cleaned some existing. Fixed byte_boundary request 2000-06-01 21:58:25 +00:00
Abramo Bagnara
2ff2c87cdb Removed mmap emulation. Updated TODO. Fixed an over rename 2000-05-31 15:09:27 +00:00
Abramo Bagnara
1a7f88d10e Better names for ALSA API. Added min_fragments, max_fragments. 2000-05-27 16:52:17 +00:00
Abramo Bagnara
9eb2c42445 Renamed samples in frames where appropriated. Added a compatibility hack for gcc 2.7.2.3 2000-05-24 21:35:55 +00:00
Abramo Bagnara
c582ff51b6 Removed frag_* fields. Collapsed I/O plugins. Added to mmap plugin support for stream mode 2000-05-23 12:52:06 +00:00
Abramo Bagnara
7b054f4dce - splitted mmap in logical steps
- optimized mmap transfer
- completed mmap helpers
- renamed pcm_plugin_build.c to pcm_common.c
2000-05-16 15:20:34 +00:00
Abramo Bagnara
e77cbd919d Completed pcm_update implementation 2000-05-09 10:46:43 +00:00
Jaroslav Kysela
1cd6778173 Merged pcm2 branch. 2000-05-08 18:53:38 +00:00