Takashi Iwai
dbb7eca655
Remove unused hostname resolution in shm plugins and aserver
...
PCM and control shm plugins and aserver have some codes to resolve the
host address and check whether it's a local host although the given
address is never used. In addition, the code contains gethostbyname()
that is known to be obsoleted. So, let's get rid of all these unused
codes.
The host configuration item is still accepted (but just ignored) for
keeping the compatibility.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-01-28 16:23:06 +01:00
Diego E. 'Flameeyes' Pettenò
8ed98db259
Make some static tables and strings constants.
...
By doing this we move them from the .data section to .rodata setion,
or from .data.rel to .data.rel.ro.
The .rodata section is mapped directly from the on-disk file, which is
always a save, while .data.rel.ro is mapped directly when using
prelink, which is a save in a lot of cases.
Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
2008-11-21 13:04:41 +01:00
Thomas Hood
0cb4cc1de2
Terminate long_options array
...
Signed-off-by: Thomas Hood <jdthood@yahoo.co.uk>
2004-09-28 17:22:33 +00:00
Jaroslav Kysela
6a543d8e20
Art Haas <ahaas@airmail.net>
...
C99 initializers cleanup
2003-07-26 16:24:11 +00:00
Jaroslav Kysela
2e7fe2865a
Moved send_fd/receive_fd routines to src/socket.c .
2003-03-18 18:00:05 +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
8205a95376
Replaced snd_pcm_avail() with snd_pcm_hwsync()
2002-10-12 11:49:53 +00:00
Jaroslav Kysela
7f3942d827
Reverted back the PCM API.
...
New snd_pcm_hw_params_* functions are available only explicitly when
ALSA_PCM_NEW_HW_PARAMS_API is defined.
Updated documentation and test code to new API.
2002-09-19 16:12:13 +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
44edb1baab
Fixed licence version
2001-12-30 09:27:46 +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
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
3c59c6b11d
Added power management functions and defines.
2001-09-26 13:57:04 +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
Abramo Bagnara
54daf2f16d
Extended parameterization. Marked with @ all fields with special use
2001-06-15 14:00:19 +00:00
Abramo Bagnara
7f33541268
Compilation fixes for forthcoming GCC 3.0
2001-05-29 20:17:56 +00:00
Jaroslav Kysela
b72c78f887
Removed snd_ctl_pcm_surround_next_device function.
2001-05-03 15:11:35 +00:00
Jaroslav Kysela
51f5d9d461
Added ctl_elem_lock and unlock code.
2001-04-19 13:54:22 +00:00
Abramo Bagnara
6a3b962d06
Better PCM mmap API. Fixed pcm_multi
2001-04-13 15:40:53 +00:00
Jaroslav Kysela
c4f95f48c3
Added the surround plugin to allow simple access for 4.0 and 5.1 speakers.
...
It needs a bit more work to make it functional.
2001-04-13 10:54:56 +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
a275d66356
Improved .asoundrc changes
2001-03-17 16:34:43 +00:00
Abramo Bagnara
3e97ef3ea0
Changed control to use events mask. Added subscribe ioctl
2001-02-13 21:29:30 +00:00
Jaroslav Kysela
6ea4260c1c
Added the safe version of the list_for_each function.
2001-02-13 12:53:19 +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
fea0c73cdb
Completed control and mixer API
2001-02-09 11:20:31 +00:00
Abramo Bagnara
45c416ed82
Better names for control API
2001-02-07 15:13:15 +00:00
Abramo Bagnara
3e091c8822
Encapsulated conf API
2001-02-07 11:34:33 +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
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
70809b1835
First step toward encapsulation
2001-01-29 14:27:53 +00:00
Abramo Bagnara
f12a252f20
Added support for hw_free in alsa-lib
2001-01-19 13:10:50 +00:00
Abramo Bagnara
b0da2bacea
Changed some remaining size_t's
2001-01-15 13:30:32 +00:00
Abramo Bagnara
8f1b27dfb8
PCM API cleaning. silencing implementation. xfer_min removal
2000-12-29 15:00:53 +00:00
Abramo Bagnara
c1ad051636
Fixed snd_*_card() wrt aserver
2000-12-23 16:13:38 +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
b6134d77c1
Get rid of OPEN_MAX
2000-12-04 23:08:44 +00:00
Jaroslav Kysela
35cb79860d
Changes and cleanups for the timer API.
...
The device lists use the next device syntax now.
2000-11-30 19:17:55 +00:00
Abramo Bagnara
b0cd1da822
Added missing diagnostics
2000-11-30 09:40:50 +00:00
Abramo Bagnara
3260487fe2
OPEN_MAX -> sysconf
2000-11-30 07:46:01 +00:00
Abramo Bagnara
8c080ce9dd
Added snd_pcm_reset to API
2000-11-24 17:08:03 +00:00
Jaroslav Kysela
41bb7068f2
Merged pcmfinal branch.
2000-11-20 20:10:46 +00:00
Jaroslav Kysela
0e561770c6
Added functions:
...
snd_ctl_rawmidi_prefer_subdevice
snd_rawmidi_open_subdevice
Fixed functions:
snd_pcm_hw_open - fixed prefer subdevice code
2000-10-30 12:15:18 +00:00