]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: rate: Add capability to pass configuration node to plugins
authorAlan Young <consult.awy@gmail.com>
Thu, 7 Apr 2016 08:15:04 +0000 (09:15 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 21 Feb 2017 21:29:44 +0000 (22:29 +0100)
commit97be19cf6f44fc5084828114c53281dff6e365b4
tree91f2c80e9520532cb65fd9eaf9d90a59be77e5ad
parentfbb957138135e09ed9fd0180dcad549aad815465
pcm: rate: Add capability to pass configuration node to plugins

If a rate plugin uses a node (compound) instead of a plain string for
its "converter", and that compound is not a simple string array, then
the compound will be passed as an additional parameter to the new plugin
open() function (SND_PCM_RATE_PLUGIN_CONF_ENTRY(XXX)). The previous
open() function (SND_PCM_RATE_PLUGIN_ENTRY(XXX)) will be called if the
CONF version is not found. It is up to the plugin to determine whether
the presence of the conf parameter is mandatory.

Signed-off-by: Alan Young <consult.awy@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/pcm_rate.h
src/pcm/pcm_rate.c