Commit graph

497 commits

Author SHA1 Message Date
Jaroslav Kysela
aeeb396002 Added abort when no more frames can be processed 2002-03-03 09:24:14 +00:00
Jaroslav Kysela
58f74152f5 Accept also long description of format for snd_pcm_format_value() 2002-03-03 07:34:00 +00:00
Jaroslav Kysela
42c4c163a3 Fixed against latest internal API 2002-02-22 08:21:18 +00:00
Jaroslav Kysela
ecd21fa26c Removed old assert from read/write_areas 2002-02-22 08:20:51 +00:00
Jaroslav Kysela
63fc0363c4 Added ommited break 2002-02-22 07:51:43 +00:00
Jaroslav Kysela
4a0e9058a9 Fixed xfer variable initialization for capture in avail_update() 2002-02-21 15:03:50 +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
d91e0649c9 Changed PCM intro 2002-02-13 23:19:29 +00:00
Jaroslav Kysela
8d95af2cb2 Removed digital audio description (borrowed from OSS drivers) 2002-02-13 22:11:14 +00:00
Jaroslav Kysela
a92f910569 Changes against latest doxygen 2002-02-04 11:18:39 +00:00
Jaroslav Kysela
5dc9be757c Fixed snd_pcm_rate_client_frames when frames == 0 2002-02-01 20:11:05 +00:00
Jaroslav Kysela
1743161cef Added PCM naming section 2002-01-24 13:13:22 +00:00
Jaroslav Kysela
2cc79806a2 Added description of shm, null and rate plugins 2002-01-22 14:27:25 +00:00
Takashi Iwai
826b7c9348 fixed typos?
now compiled fine..
2002-01-17 11:23:21 +00:00
Jaroslav Kysela
a24b602f28 Added initial comments for PCM plugins 2002-01-16 16:42:40 +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
Takashi Iwai
e9a5843a19 removed (commented out) assert in pcm_drain for avoiding the infinte
loop when a program is aborted and drain is failed.
2002-01-11 11:12:00 +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
290810864b Added missing initialization and check for sctl contents 2001-12-29 22:30:22 +00:00
Jaroslav Kysela
f64ec1b32d More verbose output on error (wrong configuration) 2001-12-29 22:29:44 +00:00
Jaroslav Kysela
6113d83e08 Fixed munmap sizes (SIGSEGV) 2001-12-15 17:22:31 +00:00
Jaroslav Kysela
d1c4f4e8aa Added snd_pcm_route_determine_ttable() 2001-12-12 18:19:43 +00:00
Jaroslav Kysela
cd29f8b860 changed result type from int to snd_pcm_sframes_t for snd_pcm_mmap_commit; removed snd_pcm_mmap_commit_partial 2001-12-11 15:27:26 +00:00
Jaroslav Kysela
48ae96f50c Added error passing to some refining functions to disable abort when
no configuration can be found.
2001-12-11 15:10:27 +00:00
Jaroslav Kysela
49cadfbb16 Added mmap emulation mode 2001-12-11 15:07:10 +00:00
Jaroslav Kysela
5c98225fc0 Removed snd_pcm_mmap_begin_avail and changed snd_pcm_mmap_begin behaviour back. 2001-12-10 17:16:13 +00:00
Takashi Iwai
e457d1f0c0 Removed inclusion of asm/system.h 2001-12-10 16:43:20 +00:00
Jaroslav Kysela
bbcf77116d Added snd_pcm_mmap_commit_partial(). 2001-12-10 10:52:04 +00:00
Jaroslav Kysela
b7b11c3558 - added snd_pcm_mmap_begin_avail function; it is optimized for use after
snd_pcm_avail_update() call
- fixed broken hw_ptr management inside snd_pcm_plugin code
2001-12-09 18:41:23 +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
9d34cf954a Disabled debug define 2001-12-08 21:19:15 +00:00
Jaroslav Kysela
0917ba63b0 Changed result of mmap_commit callback
(follows description of snd_pcm_mmap_commit function).
2001-12-08 21:02:20 +00:00
Jaroslav Kysela
8ca451f0e1 Improved mmap_write and mmap_read functions 2001-12-08 21:00:51 +00:00
Jaroslav Kysela
484c05ec36 Improved mmap emulation over write/read 2001-12-08 21:00:21 +00:00
Jaroslav Kysela
437c96ef5f Fixed mono conversion 2001-12-08 09:32:50 +00:00
Jaroslav Kysela
75911f89a7 Initial working code 2001-12-07 17:16:30 +00:00
Jaroslav Kysela
1bee1ded21 Cleaned atomic stuff 2001-12-07 09:05:03 +00:00
Jaroslav Kysela
f817b5a074 Fixed condition 2001-12-01 20:47:38 +00:00
Jaroslav Kysela
c9fb7faa1a Added check for buggy gcc 2001-12-01 20:45:57 +00:00
Jaroslav Kysela
e35133c5e2 Added ladspa.h to noinst_HEADERS 2001-12-01 18:26:49 +00:00
Jaroslav Kysela
ddb7209e9a Added snd_*_poll_descriptors_revents functions. 2001-11-30 17:36:45 +00:00
Jaroslav Kysela
23ab0b3509 Added more code.. Still unfinished 2001-11-30 17:15:30 +00:00
Jaroslav Kysela
fa11a17c6a Fixed some debug printfs 2001-11-29 12:26:47 +00:00
Jaroslav Kysela
e0aaf895d8 Updated documentation for snd_pcm_mmap_commit() 2001-11-28 16:51:31 +00:00
Jaroslav Kysela
095cbbb467 Finished lfloat plugin.
Added code to plug plugin to handle linear float / integer conversions.
2001-11-27 14:24:44 +00:00
Jaroslav Kysela
bb749766d4 Added lfloat plugin code (not finished) 2001-11-26 16:08:49 +00:00
Jaroslav Kysela
72a221be2c Initial (not working) version 2001-11-26 16:07:32 +00:00