Sudarshan Bisht
808ce5deb3
alsa-lib: fixed coverity reported issues under "FORWARD_NULL" checker.
...
Coverity Static Analysis helps developers find hard-to-spot,
yet potentially crash-causing defects early in the development phase,
reducing the cost,time, and risk of software errors.
This patch has fix for situations where variable can be NULL
but not been checked beforehand
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-05-04 09:11:46 +02:00
Rémi Denis-Courmont
57ce918928
Remove old commented-out FD_CLOEXEC code
...
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-11-08 09:23:22 +01:00
Diego E. 'Flameeyes' Pettenò
2eaf9403d2
Make all the remaining ops structure constants.
...
This excludes the mixer for now since it requires a change to the
public headers.
Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
2008-11-21 20:48:33 +01:00
Jaroslav Kysela
d25e281230
Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz
2007-10-15 10:24:55 +02:00
Takashi Iwai
70e4ec9d08
Allow build without libdl and libpthread
...
Allow building alsa-lib without libdl and libpthread.
Added new options to configure, --with-libdl and --with-pthread.
2007-03-22 00:48:18 +01:00
Takashi Iwai
c9610c024d
Fix build of static library
...
- Add missing pcm_empty entry
- Return the array pointer instead of the first array member.
Otherwise only the first entry is linked to the binary.
2006-10-27 16:08:21 +02:00
Takashi Iwai
34e99ad251
Add missing snd_dlclose() in snd_hwdep_close()
...
Added the missing snd_dlclose() in snd_hwdep_close().
2006-04-25 17:24:39 +02: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
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
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
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
10c9d4911c
Increased version
2003-02-25 12:45:45 +00:00
Takashi Iwai
74f0165c97
- added the hwdep DSP loader API functions.
...
- updated the internal asound.h.
2003-02-19 15:39:35 +00:00
Jaroslav Kysela
be5b2ce72c
Added jack plugin
2003-02-12 20:59:38 +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
0d7d11889d
Added missing snd_dlclose() calls
2002-11-07 15:18:45 +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
7cf4ef131d
Fixed compilation problem
2001-11-24 18:18:25 +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
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
5469777424
Added hwdep_local.h to noinst_HEADERS
2001-07-21 10:04:20 +00:00
Jaroslav Kysela
0d9a5d0e59
More documentation updates.
2001-07-18 12:17:11 +00:00
Jaroslav Kysela
239182657d
Fixed typos.
2001-07-16 09:50:01 +00:00
Jaroslav Kysela
d02979784f
Recoded hwdep API to follow modern conf style.
...
Added hwdep configuration to alsa.conf.
Added documentation for hwdep interface.
2001-07-13 10:00:19 +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
b8abb93bb7
Fixed O_NONBLOCK
2001-04-28 18:40:05 +00:00
Abramo Bagnara
5b50ec848a
Lot of cleanings with the help of gcc3
2001-03-29 17:50:28 +00:00
Abramo Bagnara
ee6d9f1bbd
Name cleaning for hwdep and timer API
2001-03-29 11:18:16 +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
Abramo Bagnara
5bf23ae9a1
Encapsulated hwdep. Converted all enums to type safety
2001-02-05 15:44:42 +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
70809b1835
First step toward encapsulation
2001-01-29 14:27:53 +00:00
Jaroslav Kysela
22ff96036a
Replaced SND_CARDS with constant.
2000-12-01 12:58:34 +00:00
Jaroslav Kysela
41bb7068f2
Merged pcmfinal branch.
2000-11-20 20:10:46 +00:00
Jaroslav Kysela
6962a9d6ce
Merged pcmplug branch.
2000-09-24 09:57:26 +00:00