Jaroslav Kysela
49dde08641
Reduce compilation warnings
...
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-10-30 13:09:10 +01:00
Jaroslav Kysela
7a2cdb33c4
pcm_share plugin: fix pcm->monotonic setup in open() function
...
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2010-04-13 10:08:56 +02:00
Diego E. 'Flameeyes' Pettenò
8b14625cc3
Make all the PCM plugins ops structure constant.
...
This ensures they are emitted in .data.rel.ro rather than .data.rel,
which should make a nice difference when using prelink.
Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
2008-11-21 20:38:49 +01:00
Jaroslav Kysela
c88672d86f
implemented snd_pcm_rewindable() and snd_pcm_forwardable(), removed can_rewind and can_forward
2008-04-21 12:46:50 +02:00
Jaroslav Kysela
2c1318803f
Impemented snd_pcm_htimestamp() function.
2008-01-09 13:50:45 +01:00
Jaroslav Kysela
309a274454
Add support for monotonic timestamps
2008-01-09 11:13:34 +01:00
Takashi Iwai
679cea4125
Remove sleep_min and tick
...
The sleep_min and tick are removed features from the kernel.
This patch cleans the corresponding part in alsa-lib.
2008-01-08 18:36:18 +01:00
Takashi Iwai
683c8bc4a2
Clean up using gettimestamp()
...
Introduce a new local function gettimestamp() to get the current timestamp.
2007-11-21 12:19:43 +01:00
Clemens Ladisch
4433248bf3
remove superfluous free() checks
...
free() correctly handles NULL pointers, so we can omit explicit checks
for that condition.
2006-02-27 09:58:32 +00:00
Jaroslav Kysela
bdfbbed5ca
pcm dump() routines update: use spaces to indent texts
2005-12-11 08:24:13 +00:00
Takashi Iwai
a6d3b9e4e0
Remove poll_ask callback
...
Removed poll_ask callbacks.
poll_ask function is merged to poll_descriptors callbacks.
2005-05-18 10:50:09 +00:00
Takashi Iwai
2b54677fdb
Change error message handling
...
Change the handling of non-fatal errors. Now the non-fatal error
messages are not shown in stderr and no assert() as default. The
behavior can be changed with LIBASOUND_DEBUG environment variable.
2004-12-21 14:11:00 +00:00
Takashi Iwai
c11a1fc9be
fixed documents to process properly via doxygen.
2004-05-24 14:57:47 +00:00
Clemens Ladisch
ef11ba77ed
document all PCM plugin parameters
2004-04-26 07:40:12 +00:00
Jaroslav Kysela
7c201b510a
- added poll_ask callback to mangle avail_min (rate_plugin as example)
...
- added mangling of avail_min to rate_plugin
- added poll_fd_count variable
- FIXME: move poll_revents callback to fast_ops
2004-03-17 11:48:14 +00:00
Takashi Iwai
d91948db49
- check the return value of malloc & co.
2004-02-25 11:24:29 +00:00
Takashi Iwai
cdb9bc5139
added more documents and examples about plugins.
2003-10-23 14:42:47 +00:00
Takashi Iwai
7716fd1e3d
fixes by Art Haas <ahaas@airmail.net>:
...
rewritten with C99 struct initialization style.
2003-07-25 17:02:00 +00:00
Jaroslav Kysela
6633460801
Clemens Ladisch <clemens@ladisch.de>
...
fix some wrong section/file/reference names
2003-07-01 09:23:38 +00:00
Jaroslav Kysela
7ecb338398
Use internal snd_pcm_forward() version...
2003-03-07 18:46:25 +00:00
Jaroslav Kysela
cf9e518d51
Timestamp update (struct timeval -> struct timespec).
2003-02-28 17:23:28 +00:00
Jaroslav Kysela
2dab1dfbc3
Removed snd_pcm_hwptr().
...
Added snd_pcm_hwdiff() and snd_pcm_forward().
Returned the behaviour for snd_pcm_mmap_begin().
2003-02-22 17:19:02 +00:00
Jaroslav Kysela
fbd99fdec0
Added snd_pcm_hwptr() and enhanced snd_pcm_mmap_begin() for no xrun mode.
2003-02-22 10:19:53 +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
8205a95376
Replaced snd_pcm_avail() with snd_pcm_hwsync()
2002-10-12 11:49:53 +00:00
Jaroslav Kysela
e859cf2644
Implemented snd_pcm_avail() function.
...
More documentation updates for snd_pcm_avail_update() and snd_pcm_delay().
Updated behaviour of read/write functions (wait when buffer is full) to
follow kernel.
2002-10-11 18:39:24 +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
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
a24b602f28
Added initial comments for PCM plugins
2002-01-16 16:42:40 +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
fa11a17c6a
Fixed some debug printfs
2001-11-29 12:26:47 +00:00
Jaroslav Kysela
bb749766d4
Added lfloat plugin code (not finished)
2001-11-26 16:08:49 +00:00
Jaroslav Kysela
23348526ef
Fixed double initialization in prepare
2001-11-24 11:27:24 +00:00
Jaroslav Kysela
c39882f602
Configuration:
...
- changed snd_config_get_id function to follow semantic of other get functions
- added snd_config_test_id
- added runtime pointer type (not persistent)
- added snd_config_make_pointer, snd_config_set_pointer, snd_config_get_pointer
- added type/contents checking for callback functions
- changed 'void *private_data' to 'snd_config_t *private_data'
- renamed card_strtype functions to card_driver
Control:
- fixed passing parameters to snd_ctl_async
Async handlers:
- added public snd_async_handler_get_signo function
Documentation:
- moved all documentation to source files
2001-11-19 08:14:21 +00:00
Jaroslav Kysela
07e66fcfbd
Fixed the share->state when DRAINING
2001-10-25 13:53:35 +00:00
Jaroslav Kysela
28711a9dca
Fixed typo
2001-10-25 12:29:42 +00:00
Jaroslav Kysela
9457b26c11
Fixed initialization (slave pcm definition parsing)
2001-10-25 12:27:19 +00:00
Jaroslav Kysela
27472b56a6
Changes for static build.
2001-10-24 14:14:11 +00:00
Jaroslav Kysela
3c59c6b11d
Added power management functions and defines.
2001-09-26 13:57:04 +00:00
Jaroslav Kysela
b45c08611c
Added symbol versioning for dlsym-callbacks.
...
Removed snd_config_refer_load from confmisc.c and pcm.c.
2001-08-15 12:12:16 +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
Abramo Bagnara
157f47aedd
New async notification API. Removed obsolete surround. Cleaning
2001-06-20 20:52:12 +00:00
Jaroslav Kysela
1e0c53a11c
Added context handling for snd_config_expand.
...
PCM slave configuration is now dynamic.
2001-06-16 22:03:23 +00:00
Abramo Bagnara
54daf2f16d
Extended parameterization. Marked with @ all fields with special use
2001-06-15 14:00:19 +00:00
Jaroslav Kysela
bf780a25a5
Added argument handling for the slave PCMs.
...
The configuration root (snd_config) can be specified for the internal routines.
The pcm_hooks code was recoded (independent code moved to control/setup.c).
Improved the pcm_multi plugin (added master configuration).
2001-06-11 13:35:48 +00:00
Abramo Bagnara
3f0a94ed90
Fixed pointer mismatch
2001-06-06 14:20:29 +00:00
Abramo Bagnara
31e403ce9d
More work on pcm_hooks
2001-06-06 11:49:52 +00:00
Abramo Bagnara
7f651b3071
Added hooked PCM type (one sample hook implementation will follow). Some cleaning.
2001-06-04 18:04:18 +00:00