Jaroslav Kysela
afb23f3f58
release 1.0.14rc3
...
Patch-level: Merged
2007-02-26 09:21:12 +01:00
Jaroslav Kysela
2c02c139f4
remove snd_ctl_iface_conf_name() prototype, namehint doxygen cleanups
2006-12-07 15:29:20 +01:00
Jaroslav Kysela
1ba513f96f
add snd_device_name_get_hint() function, make hints private to alsa-lib (void)
...
We can define more string groups for one hint now. It is quite easy
flexible for future.
2006-11-30 13:41:53 +01:00
Takashi Iwai
10e3360575
Fix device name listing with card = -1
...
Fixed the device name listing with card = -1, such as
aplay -L.
2006-11-06 17:37:15 +01:00
Jaroslav Kysela
9df5c28f55
namehint changes: longname -> cardname, use get_card_name instead longname
2006-10-27 18:19:48 +02: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
Jaroslav Kysela
03389a444b
change iface argument for namehint function to const char *
...
remove snd_ctl_iface_conf_name function
2006-10-27 13:31:32 +02:00
Jaroslav Kysela
d7916981bf
pcm config files cleanups and name hint extension
...
- remove device 0/subdevice 0 from configuration files (it's default)
- name_hint
- fixed parsing slaves
- obtain device numbers directly from 'type hw' configurations to
avoid poluting of configurations scripts with hint.device lines
2006-10-12 16:27:23 +02:00
Jaroslav Kysela
1300e70573
more name hint interace updates
...
- add long card name to device description
- create empty PCM plugin to allow right hint description parsing
- reorder devices in alsa.conf
- make namehint more configurable (using default.namehint.showall switch)
- add two levels basic and exteded for hints to default configuration files
- do not show direct device aliases
- removed all known memory leaks
2006-10-12 14:34:23 +02:00
Jaroslav Kysela
faf8aad99a
fix two issues in snd_device_name_hint()
...
- returned wrong error when the namehint section does not exist
- variable underflow for the rawmidi interface
2006-10-11 13:59:42 +02:00
Jaroslav Kysela
13fdc41785
add snd_device_name_hint() function and initial implementation
...
- add snd_device_name_hint() and snd_device_name_free_hint() functions
- add snd_ctl_iface_conf_name() functions
- do not accept parameters for the plugin definition without @args section
- add defaults.pcm.dmix.card/device and dsnoop.card/device definitions
- add hints for HDA-Intel.conf, pcm/dmix.conf, pcm/dsnoop.conf and alsa.conf
- add test/namehint test utility
- doxygen related cleanups
2006-10-11 13:18:57 +02:00
Jaroslav Kysela
b223fbba23
revert back one diff from changeset 2219 (fix various warnings)
2006-10-06 15:22:34 +02:00
Jaroslav Kysela
57eb3145b8
fix various warnings
...
See also ALSA bug#1689
2006-10-06 13:18:34 +02:00
Jaroslav Kysela
1dc96732c2
configuration: avoid endless loop when a key refers to itself
...
remove one warning from tlv_read routine in control.c
2006-09-28 15:47:25 +02:00
Takashi Iwai
a7bc1dd80c
Check control API protocol version for TLV control
...
Check control API protocol version to avoid unnecessary ioctl
access for TLV stuff on the older drivers.
2006-09-17 22:06:46 +02:00
Takashi Iwai
5c71dd3ee7
Add dB range information to PCM softvol plugin
...
Added the dB range information to PCM softvol plugin.
Also, fixed the coefficient table to match with the
accurate dB step 0.20dB.
2006-08-25 11:46:19 +02:00
Takashi Iwai
d5caee8d36
Fix bogus value when no user TLV is defined
...
Check whether non-zero size TLV is really returned by comparing
with the pre-filled pattern. ALSA 1.0.12 driver doesn't notify
the error even if user TLV is empty, so the previous value is
passed bogusly.
2006-08-25 11:43:22 +02:00
Takashi Iwai
ae76129999
Move dB parser to mixer abstraction
...
Moved the parser of dB value to mixer abstraction from hcontrol layer.
Also, cleaned up codes.
2006-07-28 14:36:37 +02:00
Jaroslav Kysela
c4a5efeba3
mixer - cleanups for dB scale parsing
2006-07-27 10:45:25 +02:00
James Courtier-Dutton
5e3fc87888
Implement support for dB gain display in alsamixer.
2006-07-22 14:56:48 +01:00
Jaroslav Kysela
91273c228f
Fix examples for PCM API. Fix dogygen warnings.
2006-07-11 21:48:51 +02:00
Jaroslav Kysela
c7a0708a23
Control API - add TLV support
...
snd_ctl_elem_tlv_read
snd_ctl_elem_tlv_write
snd_ctl_elem_tlv_command
snd_ctl_elem_info_is_tlv_readable
snd_ctl_elem_info_is_tlv_writable
snd_ctl_elem_info_is_tlv_commandable
snd_hctl_elem_tlv_read
snd_hctl_elem_tlv_write
snd_hctl_elem_tlv_command
2006-07-05 17:42:16 +02:00
Pierre Ossman
2a7f35347b
Make snd_hctl_wait() respect the API
...
snd_hctl_wait() currently makes a lot of assumptions that fall outside
the defined API. snd_pcm_wait(), however, follows the API nicely so the
new version is based on that.
Signed-off-by: Pierre Ossman <ossman@cendio.se>
2006-05-26 17:27:00 +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
Takashi Iwai
2e0c2b0ac1
Fix compile warnings
...
Fix compile warnings on 64bit architectures.
2006-02-20 19:33:25 +00:00
Takashi Iwai
0757f70b1b
Fix memory leaks
...
Fixed small memory leaks in the parser.
2006-02-09 11:37:04 +00:00
Jaroslav Kysela
5d3fa7b8a1
control - fixed crash when dynamic library is not present
...
See bug#1544.
2005-11-14 10:18:22 +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
0350a615b7
Fix the return value of snd_card_load()
...
Fix the return value of snd_card_load() to follow the document,
0 = not present, 1 = preset.
The other parts calling snd_card_load() are fixed, too.
2005-06-28 09:58:48 +00:00
Takashi Iwai
3656a66397
Add detailed documentation for external control plugin SDK
...
Added the detailed documentation for external control plugin SDK.
2005-06-13 13:19:03 +00:00
Takashi Iwai
96e01a6112
Fix _snd_ctl_hw_open() mode argument
...
Added the missing mode argument in _snd_ctl_hw_open().
2005-06-09 17:14:22 +00:00
Takashi Iwai
8a3d07022c
Add external control plugin SDK
...
Added external control plugin SDK.
2005-06-09 17:12:08 +00:00
Takashi Iwai
36f715c59a
Add external shared object support
...
- Add external shared object support
- Add poll_* internal ops
- Allow multiple poll_fds
2005-06-09 17:09:24 +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
9dd4436f29
Fix invalid free
...
Fixed the invalid free of memory.
2005-03-09 11:59:37 +00:00
Takashi Iwai
4ea51d8201
Add --disable-aload configure option
...
Added --disable-aload configure option to suppress probing of
/dev/aload* files for auto-loading. These files often conflict with
udev mechanism.
Also, --with-resmgr is changed to --enable-resmgr.
2005-02-14 13:31:53 +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
0732cce6f0
Add accessor to user control elements
...
Added accessor functions to user control elements, snd_ctl_elem_add_*(),
and_ctl_elem_remove() and snd_ctl_elem_info_is_user().
2005-01-03 11:52:39 +00:00
Jaroslav Kysela
2bad31bbf4
Fixed bugs detected by Intel compiler
2004-04-20 13:42:48 +00:00
Takashi Iwai
ef5b272b28
Stephen Cook <siti_veni@lycos.com>:
...
- removed the function-in-function for qsort.
replaced with a static function with a static variable.
now protected with pthread mutex.
2004-01-26 15:54:10 +00:00
Jaroslav Kysela
83bfda918e
Clemens Ladisch <clemens@ladisch.de>
...
clear element count when freeing space in element list
2003-11-03 10:31:50 +00:00
Jaroslav Kysela
4a54759f1f
- added support for user control elements
2003-10-21 17:39:14 +00:00
Jaroslav Kysela
ab61b62cb4
More changes to the ordinary mixer API
2003-10-13 12:06:45 +00:00
Jaroslav Kysela
60585e25fc
added snd_hctl_ctl() function
...
ordinary mixer:
- revised Ordinary Mixer I/O type
- sndo_mixer_open() take PCMs rather than strings to pass
the real relationship
- an initial version of toplevel alisp script
more alisp development:
- renamed a* functions to A* functions (acall -> Acall etc.)
- many improvements (unset*, exfun, Acall pcm_info, Asnderr, Asyserr)
2003-09-09 19:24:35 +00:00
Jaroslav Kysela
adbc93f1a4
More alisp extensions (card related functions, ctl_card_info).
2003-07-29 13:19:19 +00:00
Jaroslav Kysela
92093ae0fe
Added snd_hctl_open_ctl() function.
...
alisp massive extensions and tested ALSA function bindings.
2003-07-27 20:20:26 +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