[alsa-devel] [PATCH] [updated] pcm: rate: Add capability to pass configuration node to plugins

Alan Young consult.awy at gmail.com
Mon Feb 13 18:20:01 CET 2017


Here is a revised patch.

It is useful for the converter used by a rate plugin to be capable of 
receiving configuration. This patch enables the "converter" node of the 
configuration of a "type rate" plugin to be specified as a compound and 
passed to open func of the converter plugin.

The SND_PCM_RATE_PLUGIN_CONF_ENTRY macro is used to define a rate 
converter plugin entry point that takes the additional snd_config_t 
*conf parameter. If a rate converter plugin also supports the existing 
SND_PCM_RATE_PLUGIN_ENTRY entry point, or if passed conf parameter is 
NULL then it is up to the plugin to determine whether or not this is a 
fatal condition.

Alan.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-pcm-rate-Add-capability-to-pass-configuration-node-t.patch
Type: text/x-patch
Size: 5539 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20170213/b9730e87/attachment-0001.bin>


More information about the Alsa-devel mailing list