summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* release 1.0.14rc2v1.0.14rc2Jaroslav Kysela2007-01-151-1/+1
| | | | Patch-level: Merged
* Fix compile warning with internal functionTakashi Iwai2007-01-081-1/+1
| | | | | Fixed the compile warning refering to the internal function snd_pcm_hw_params_set_format_first.
* Fix error code in timer_query.cTakashi Iwai2007-01-081-0/+1
| | | | Fix the returned error code for the invalid timer definition.
* initialize dl handles where it needs toBenoit Fouet2007-01-082-2/+2
| | | | | | | this trivial patch initializes dl handle in timer.c and timer_query.c where it needs to. Signed-off-by: Benoit Fouet <benoit.fouet@purplelabs.com>
* pcm_ladspa - fix none policyJaroslav Kysela2006-12-201-21/+36
| | | | | | In some configurations, channel samples were not copied correctly. Also, fix memory leaks and remove extra end-of-line chars from SNDERR strings.
* remove snd_ctl_iface_conf_name() prototype, namehint doxygen cleanupsJaroslav Kysela2006-12-072-2/+2
|
* Added tag v1.0.14rc1 for changeset f5f02f509ea160bf35cbd3c0015e49f42ddf49f6Jaroslav Kysela2006-12-071-0/+1
|
* release 1.0.14rc1v1.0.14rc1Jaroslav Kysela2006-12-071-1/+1
| | | | Patch-level: Merged
* add snd_device_name_get_hint() prototype to include/control.hJaroslav Kysela2006-12-051-0/+1
|
* direct pcm plugins: fix format selectionClemens Ladisch2006-12-041-13/+17
| | | | | | | The old format tried to do something when the requested format was not supported by the hardware, but did not actually select any other format. Now we try to switch to any format supported by dmix, or any other format when the plugin is not dmix.
* direct pcm plugins: fix channel number selectionClemens Ladisch2006-12-041-21/+3
| | | | | | | | | | The code to set the number of channels did not work when the requested channel count was not available and when the min/max channel counts were not identical. Replacing the entire selection code with snd_pcm_hw_params_set_channels_near() gives the same result in the cases where it previously worked, and works in all other cases.
* fix string list parameter in snd_device_name_(free_)hint prototypesClemens Ladisch2006-12-041-2/+2
| | | | | | Fix the type of the string list parameter in the prototypes of snd_device_name_hint() and snd_device_name_free_hint(). The prototypes used char**, while the implementation and the users are using void**.
* add snd_device_name_get_hint() function, make hints private to alsa-lib (void)Jaroslav Kysela2006-11-302-15/+63
| | | | | We can define more string groups for one hint now. It is quite easy flexible for future.
* Fix CS46xx.conf default captureTakashi Iwai2006-11-241-2/+2
| | | | | Fix the capture slave to hw for CS46xx default PCM since dsnoop seems not working with this hardware well.
* fix a typoClemens Ladisch2006-11-161-1/+1
| | | | fix a typo introduced in changeset d14ade7ede2a
* Compatibility problem with automake 1.10 fixed.James Courtier-Dutton2006-11-121-2/+1
| | | | alsa bug#2592
* Fix device name listing with card = -1Takashi Iwai2006-11-061-2/+1
| | | | | Fixed the device name listing with card = -1, such as aplay -L.
* namehint changes: longname -> cardname, use get_card_name instead longnameJaroslav Kysela2006-10-271-15/+32
|
* Fix build of static libraryTakashi Iwai2006-10-276-6/+7
| | | | | | - 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.
* change iface argument for namehint function to const char *Jaroslav Kysela2006-10-276-49/+33
| | | | remove snd_ctl_iface_conf_name function
* rawmidi: do not abort when seeing the hint nodeClemens Ladisch2006-10-274-6/+20
| | | | | Add the hint node to the nodes that are allowed in rawmidi definitions, and factor out the detection of such nodes into a common function.
* pcm: fix ipc offset calculation for direct pluginsJaroslav Kysela2006-10-232-7/+22
| | | | Also add more accurate description to x24 formats.
* Revert dmix.conf and dsnoop.confTakashi Iwai2006-10-202-34/+4
| | | | | | | Revert dmix.conf and dsnoop.conf. The ipc key offset had been already modified to be unique for each card, stream, device and subdevice interanally in dmix & co plugins.
* Implements support for capture/playback enums.James Courtier-Dutton2006-10-131-26/+133
|
* added pcm_empty plugin and .hgignore additionsJaroslav Kysela2006-10-132-0/+113
|
* pcm config files cleanups and name hint extensionJaroslav Kysela2006-10-1257-177/+79
| | | | | | | | - 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
* Remove snd_name_list() and snd_name_list_free() functions.Jaroslav Kysela2006-10-121-133/+8
| | | | These functions were not used in applications anyway.
* pcm direct plugins - fix memory leak (sconf must be deleted)Jaroslav Kysela2006-10-123-6/+3
|
* more name hint interace updatesJaroslav Kysela2006-10-1220-320/+454
| | | | | | | | | | - 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
* add card number to ipc key for dmix / dsnoop PCM definitionsJaroslav Kysela2006-10-113-5/+223
| | | | | See ALSA bug#1573 Also add card_inum, iadd, imul functions to configuration files.
* fix two issues in snd_device_name_hint()Jaroslav Kysela2006-10-111-1/+2
| | | | | - returned wrong error when the namehint section does not exist - variable underflow for the rawmidi interface
* add snd_device_name_hint() function and initial implementationJaroslav Kysela2006-10-1119-14/+646
| | | | | | | | | | - 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
* revert back one diff from changeset 2219 (fix various warnings)Jaroslav Kysela2006-10-061-3/+3
|
* fix various warningsJaroslav Kysela2006-10-065-8/+10
| | | | See also ALSA bug#1689
* Add struct timeval and timespec definition when _POSIX_C_SOURCE is not definedJaroslav Kysela2006-10-061-0/+12
| | | | FIXME: It might cause problems on some platforms when tv_usec is not long type.
* alsa.pc's Libs shouldn't contain -lm -ldl -lpthreadJaroslav Kysela2006-10-061-1/+2
| | | | | | | | | | | -lm -ldl -lpthread are _not_ needed in Libs (since the alsa interface doesn't depend on libm, libdl or libpthread interface) and just bring unneeded dependencies. These should rather be put in Libs.private: Libs: -L${libdir} -lasound Libs.private: -lm -ldl -lpthread See ALSA bug#2212 .
* Use dmix/dsnoop for maestro3 boardsTakashi Iwai2006-10-041-0/+24
| | | | | | Use dmix/dsnoop for maestro3 boards. Although maestro3 has multiple playback capability, it supports only two streams (with the currently available firmware).
* Fix snd_pcm_open_noupdate() to refer aliasTakashi Iwai2006-10-041-2/+9
| | | | | | | | Fixed snd_pcm_open_noupdate() to refer alias. This fixes the call like % aplay -Dplug:bah where bah is an alias of a certain definition.
* allow building out of tree (sort of)Mike Frysinger2006-10-041-6/+6
| | | | | | | | | | | | | | | | | | | | | the current configure script assumes that it will be run in the srcdir ... i often build things out of tree so you can quickly punt all the generated files: mkdir build cd build ../configure cd .. rm -r build clean! this tweaks the configure script in a few places to use the correct variable instead of assuming that configure is always in $PWD ... i say "sort of" in the subject because there is still the issues of the pcm symbols list being generated in $builddir instead of $srcdir and the alsa include symlink, but these doesnt really concern me for what i need ;) Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* alsa-lib: test dir: make check: static building doesn't work on PIC ↵Jaroslav Kysela2006-10-041-1/+1
| | | | | | | | | | | architectures Some architectures, such as AMD64, IA64 and Alpha cannot mix PIC and non-PIC objects when creating a PIC output. Hardened compilers (which uses SSP and PIE) creates PIC executables, passing -static in CFLAGS for tests in make check in alsa-lib makes their linking to fail. See bug#1541
* simple mixer - fix error recovery path for volume / switch writeJaroslav Kysela2006-10-011-1/+11
| | | | | | If volume or switch write fails, the internal contents for element is changed, but it is wrong. Reread the whole simple element in this case to get correct values.
* Added tag v1.0.13 for changeset cf4a3d6a053ade90e197d774bb4860b564058942Jaroslav Kysela2006-09-291-0/+1
|
* release 1.0.13v1.0.13Jaroslav Kysela2006-09-291-1/+1
| | | | Patch-level: Merged
* configure.in - fix "checking for versioned symbols" error in ./configureJaroslav Kysela2006-09-291-1/+1
| | | | | | | | | | | | | See: bug#2274 checking for versioned symbols... ./configure: line 19347: test: "1: integer expression expected ./configure: line 19350: test: "1: integer expression expected This is caused by my libtool VERSION string: VERSION="1.5.22 Debian 1.5.22-2" The test in configure.in can't currently deal with the quotes.
* timer_hw: fix file descriptor leakJaroslav Kysela2006-09-291-1/+1
| | | | See: bug#2465
* configuration: added one more alias check to detect a circular configurationJaroslav Kysela2006-09-281-3/+7
|
* configuration: avoid endless loop when a key refers to itselfJaroslav Kysela2006-09-282-3/+20
| | | | remove one warning from tlv_read routine in control.c
* rate plugin: fix boundary calculationsClemens Ladisch2006-09-271-5/+14
| | | | | | | | | | Make sure that the rate plugin does not try to change the slave's boundary value when setting software parameters; such a change wouldn't affect the slave pcm. Furthermore, the stop_threshold conversion code used the wrong boundary value, and the silence_size conversion code did not take into account the boundary value at all.
* remove unneeded headers from alsa-lib/src/alisp/alisp.cMike Frysinger2006-09-261-1/+0
| | | | | | | | | | the alisp.c file includes wordexp.h even though it doesnt actually use any wordexp functions ... causes trouble when target doesnt have wordexp support :) patch attached to scrub said headers Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* remove unneeded headers from src/names.cMike Frysinger2006-09-261-4/+0
| | | | | | | | | the src/names.c file includes many more headers than it actually needs ... this causes troubles when porting to a target that lacks those headers :) patch attached to scrub said headers Signed-off-by: Mike Frysinger <vapier@gentoo.org>