Takashi Iwai
7dca3ab1ea
Make local functions really local
...
Rename the local functions to snd1_* so that they won't be exported
out of alsa-lib.
Some functions are still kept because aserver requires them. Sigh.
2007-11-30 18:26:13 +01:00
Takashi Iwai
ff176aa01a
Make plugin functions static
...
Make plugin functions that are not referred from others static.
2006-03-29 09:35:14 +00:00
Jaroslav Kysela
836987aa99
improved stream linking and plugin code cleanups
...
- added link/unlink/link_fd fast_ops callbacks
- moved code from snd_pcm_link to pcm_hw.c
- moved "empty" routines pointing to slave to pcm_generic.c
- introduced snd_pcm_generic_t
2005-01-20 15:07:51 +00:00
Jaroslav Kysela
af89cefd99
More changes for dmix plugin:
...
- added poll_events to main pcm structure
- added poll_revents callback to pcm->ops structure
- fixed snd_pcm_wait() - call revents function and enhanced
error code reporting
DMIX plugin:
- more complete code (works at least for one instance)
- still no "mix" code (it's silent)
2003-02-11 18:14:43 +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
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
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
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
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
095cbbb467
Finished lfloat plugin.
...
Added code to plug plugin to handle linear float / integer conversions.
2001-11-27 14:24:44 +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
82fcfe1ab5
pcm_share cleaning
2001-03-21 16:31:31 +00:00
Abramo Bagnara
d87059867b
Added pcm_meter skeleton
2001-03-01 22:47:34 +00:00
Abramo Bagnara
a02e742609
Added multithread aware status for plugins
2001-02-27 18:21:31 +00:00
Abramo Bagnara
3830b168ef
Improved plugin code (simpler, faster and multithread ready)
2001-02-27 13:42:12 +00:00
Abramo Bagnara
460660d4b4
More generic support for poll descriptors
2001-02-12 23:51:49 +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
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
c07201926b
Promoted plugin helpers to general use
2001-01-26 09:56:30 +00:00
Abramo Bagnara
f12a252f20
Added support for hw_free in alsa-lib
2001-01-19 13:10:50 +00:00
Abramo Bagnara
3126678e72
Major cleaning to hw_params mechanism for plugins
2001-01-18 18:20:31 +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
8f1b27dfb8
PCM API cleaning. silencing implementation. xfer_min removal
2000-12-29 15:00:53 +00:00
Jaroslav Kysela
9acdef38c9
Added snd_*_card() functions.
2000-12-22 14:03:01 +00:00
Jaroslav Kysela
c268a4bf56
Removed dig_info & dig_params..
2000-12-21 21:52:40 +00:00
Abramo Bagnara
8dd927e97f
New hw_params implementation
2000-12-21 20:44:10 +00:00
Abramo Bagnara
e72ac5eab4
Added pcm_copy and fixed pcm_plug for access change case.
2000-12-11 11:16:07 +00:00
Abramo Bagnara
714ac32b5e
Runtime hw_info constraints support. New hw_info with lengths
2000-12-07 15:58:03 +00:00
Abramo Bagnara
b9916fd7fe
Cleaned all hw_info. Removed snd_pcm_hw_{info,params}_rules* and changed strategy to allow the same functionality. Cleaned names tables. Added informative failure
2000-11-29 08:32:36 +00:00
Jaroslav Kysela
41bb7068f2
Merged pcmfinal branch.
2000-11-20 20:10:46 +00:00
Abramo Bagnara
8a625fd63b
Cleaned and fixed plugin ops
2000-10-22 09:50:20 +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
dcc88ffaa7
Added support for async. Added error callback (and begun to use it). First implementation of pcm_share
2000-10-11 12:37:27 +00:00
Abramo Bagnara
66df4a7e65
Added name support
2000-10-10 09:11:07 +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
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