]> git.alsa-project.org Git - alsa-lib.git/commit
String array for default rate plugin list
authorTakashi Iwai <tiwai@suse.de>
Wed, 21 Mar 2007 23:58:42 +0000 (00:58 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 21 Mar 2007 23:58:42 +0000 (00:58 +0100)
commit36987b02c0fc89c463aadb7df6bd7951bf5f2abe
tree5ab3ed548e506bdbed012b26366b4703683cf42f
parent70e4ec9d08ca7c162dce873d82b5610c700cf707
String array for default rate plugin list

Change the rate converter type to allow string arrays in addition to
a string.  When a string array is given, the rate plugin probes each
string and try to load the converter plugin in the order of the list.

For example, you can set
defaults.pcm.rate_converter [ "samplerate" "linear" ]
so that samplerate plugin is preferred to linear plugin if it's
installed.
include/pcm_plugin.h
src/pcm/pcm_local.h
src/pcm/pcm_plug.c
src/pcm/pcm_rate.c