Jaroslav Kysela
10c396516a
timer_hw: fix file descriptor leak
...
See: bug#2465
2006-09-29 10:34:22 +02:00
Takashi Iwai
b9c53dd962
Fix missing snd_dlclose() in timer handlers
...
Call snd_dlclose() properly for the dlopened handlers in timer
and timer_query closing functions.
2006-04-25 17:26:16 +02:00
Takashi Iwai
f032a8cf3f
Suppress warning messages from old timer
...
Suppress warning messages when the new timer ioctl isn't available
(happening when using dmix in the new alsa-lib with older kernels).
2006-03-14 19:02:23 +00:00
Clemens Ladisch
09f598e57c
allow changing of device directory path
...
Add configuration options to change the default device path from the
default /dev/snd. This is useful for embedded systems that do not want
subdirectories in /dev.
2006-02-27 10:03:19 +00: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
Clemens Ladisch
45850439b3
Do not abort in snd_xxx_close() functions
...
Remove several memory leaks by not aborting prematurely from a
snd_xxx_close() function when some operation fails.
This can happen when a USB device was unplugged.
2006-02-27 09:54:57 +00:00
Jaroslav Kysela
bac9a7de83
direct plugins (dmix) - suspend/resume fixes
...
- this patch adds support for suspend & result for dmix and other
direct plugins
- the timer detection / initialization (TREAD support) was redesigned and
the check for proper driver version was moved to the timer_hw.c
2005-08-16 12:19:15 +00:00
Jaroslav Kysela
7450dbcf36
timer_hw - Changed TIMER_VERSION_MAX to 2.0.5
2005-08-16 10:10:26 +00:00
Takashi Iwai
7a89e3bbca
Fix compile warnings with gcc-4
...
Fixed compile warnings with gcc-4 about pointer signedness.
2005-06-28 10:24:44 +00:00
Takashi Iwai
087184b0f9
Fix doxygen documents
...
Fix the warnings of doxygen parsing.
Add some missing documentation.
2005-05-24 14:14:28 +00:00
Takashi Iwai
0d0e1a55c2
Change some timer ioctls due to confliction
...
Change values of some timer ioctls to avoid confliction with FIO* ioctls.
Use old ioctls if the timer protocol version doesn't match.
2005-05-15 14:47:03 +00:00
Jaroslav Kysela
8ec3e4ea6c
added full async interface to timer API
...
- added snd_async_add_timer_handler and snd_async_handler_get_timer functions
- added async command to test/timer.c
2005-05-11 12:18:51 +00:00
Jaroslav Kysela
a022bc1fbc
API for device name lists and timer enhancements
...
- new snd_names_list and snd_names_list_free functions
- added snd_timer_ginfo related functions to the timer API
2005-05-10 10:52:30 +00:00
Jaroslav Kysela
412fb54e0d
Fedora 4 patch - gcc4 fixes
2005-05-06 14:09:17 +00:00
Takashi Iwai
f9b9015245
Fix resmgr support
...
Call normal open() before trying with res_open_device().
snd_open_device() is defined to do this procedure.
2005-02-11 16:35:24 +00:00
Takashi Iwai
77c925a71f
Add resmgr support
...
Added the support for resmgr. A new configure option --with-resmgr is added
to enable the resmgr support.
2005-01-26 10:50:28 +00:00
Takashi Iwai
c11a1fc9be
fixed documents to process properly via doxygen.
2004-05-24 14:57:47 +00:00
Jaroslav Kysela
64a39728a2
Added early event extension to the timer API - and a fix for the direct plugins
2004-04-06 17:29:25 +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
fea03e9eba
Fixed compilation --with-versioned=no
2003-03-11 18:51:32 +00:00
Jaroslav Kysela
3a2a3dcca5
Fixed compilation problem
2003-03-05 12:31:04 +00:00
Jaroslav Kysela
9c084c4ba6
Updated to new timer API
2003-03-04 20:01:06 +00:00
Jaroslav Kysela
fe75a8fa3f
Timer cleanups against the latest API
2003-03-02 19:30:52 +00:00
Jaroslav Kysela
cf9e518d51
Timestamp update (struct timeval -> struct timespec).
2003-02-28 17:23:28 +00:00
Takashi Iwai
dcf5fc4db5
fixed typo.
2003-02-07 11:41:32 +00:00
Jaroslav Kysela
757785fece
Added snd_timer_async() function.
...
More updates to pcm_dmix.c .
2003-02-06 19:15:53 +00:00
Jaroslav Kysela
073dff1ba1
Commented out FD_CLOEXEC fcntl() calls
2003-02-05 11:00:16 +00:00
Jaroslav Kysela
a313072961
Added handling of FD_CLOEXEC flag
2003-02-04 13:35:59 +00:00
Jaroslav Kysela
098932ce57
Added POLLNVAL to poll->events
2002-11-30 09:47:20 +00:00
Jaroslav Kysela
2ca5ace9cb
More documentation changes (rawmidi, timer)
2002-02-11 18:11:16 +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
f422fb9a78
Added missing variable initialization in open_conf() functions (hwdep, timer); Uros
2001-12-27 20:55:53 +00:00
Jaroslav Kysela
ddb7209e9a
Added snd_*_poll_descriptors_revents functions.
2001-11-30 17:36:45 +00:00
Jaroslav Kysela
c33c5760ab
Added snd_*_open_lconf functions.
...
Some minor changes in config interface documentation.
2001-11-24 17:47:01 +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
7c40ae7fde
Added missing files with symbols.
2001-10-24 14:15:54 +00:00
Jaroslav Kysela
27472b56a6
Changes for static build.
2001-10-24 14:14:11 +00:00
Jaroslav Kysela
4e92e7a28c
Fixed some typos for timer interface.
2001-08-28 13:41:03 +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
f22f8388ad
Fixed broken initialization
2001-08-08 18:52:25 +00:00
Jaroslav Kysela
b22bd371e9
Added timer_local.h to noinst_HEADERS
2001-07-21 10:10:55 +00:00
Jaroslav Kysela
0d9a5d0e59
More documentation updates.
2001-07-18 12:17:11 +00:00
Jaroslav Kysela
24945eca0c
Added encapsulation for timer interface
2001-07-16 13:33:55 +00:00
Jaroslav Kysela
bf858b7312
Updated timer interface to follow new uniform configuration style.
2001-07-16 11:15:28 +00:00
Abramo Bagnara
5b50ec848a
Lot of cleanings with the help of gcc3
2001-03-29 17:50:28 +00:00
Abramo Bagnara
7893ea238d
Added mode argument to open functions where it was missing. First part of CTL documentation
2001-03-26 12:45:48 +00:00
Abramo Bagnara
191d03501e
Changed descriptors_count
2001-02-18 18:32:30 +00:00
Jaroslav Kysela
cc956312b3
Changed behaviour of poll_descriptors function (returns the filled count of fds).
...
Added poll_descriptors_count functions.
Added snd_mixer_elem_count function.
2001-02-14 12:15:03 +00:00
Abramo Bagnara
460660d4b4
More generic support for poll descriptors
2001-02-12 23:51:49 +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