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

Alan Young Alan.Young at IEE.org
Tue Feb 21 16:04:54 CET 2017


Update patch.

On 21/02/17 14:43, Takashi Iwai wrote:
>
> The error handling is missing when no name is given.
> You should handle the error explicitly instead of the success.
>
> 		if (!type) {
> 			SNDERR("No name is given for rate converter");
> 			.....
> 			return -EINVAL;
> 		}
>
> 		err = rate_open_func(....);
>
>
> Takashi

-------------- 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: 6294 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20170221/7ff04e86/attachment.bin>


More information about the Alsa-devel mailing list