Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
alsa.6583
0030-pcm-extplug-refinement-of-masks-in-extplug...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0030-pcm-extplug-refinement-of-masks-in-extplug.patch of Package alsa.6583
From fbb957138135e09ed9fd0180dcad549aad815465 Mon Sep 17 00:00:00 2001 From: Awais Belal <awais_belal@mentor.com> Date: Fri, 17 Feb 2017 12:47:49 +0530 Subject: [PATCH 30/43] pcm: extplug: refinement of masks in extplug It should be possible to use empty mask format with extplug. The refinement of mask via extplug is now modified, to accept empty masks as well to work properly. Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Mounesh Sutar <sutar.mounesh@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> --- src/pcm/pcm_extplug.c | 2 ++ 1 file changed, 2 insertions(+) --- a/src/pcm/pcm_extplug.c +++ b/src/pcm/pcm_extplug.c @@ -172,6 +172,8 @@ int snd_ext_parm_mask_refine(snd_mask_t unsigned int i; parm += type; + if (!parm->active) + return 0; memset(&bits, 0, sizeof(bits)); for (i = 0; i < parm->num_list; i++) bits.bits[parm->list[i] / 32] |= 1U << (parm->list[i] % 32);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor