Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zhy20120210:3
alsa
alsa-lib-namehint-fix-inititialization.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File alsa-lib-namehint-fix-inititialization.diff of Package alsa
From 592bd1e98b4e16324b2d6f5b36683e1be08e0d38 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela <perex@perex.cz> Date: Tue, 3 Nov 2009 16:36:55 +0100 Subject: [PATCH] namehint: add missing list->card initialization list->card is wrongly assumed to be initialized, but the previous initialization is within a conditional that is false when only card-independent devices are found. (This is the case when searching for mixers on my system; the end result is that the "pulse" mixer is listed three times.) Signed-off-by: John Lindgren <john.lindgren@tds.net> Signed-off-by: Jaroslav Kysela <perex@perex.cz> --- src/control/namehint.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/control/namehint.c b/src/control/namehint.c index a134ed7..1d3f4be 100644 --- a/src/control/namehint.c +++ b/src/control/namehint.c @@ -453,6 +453,7 @@ static int add_card(struct hint_list *list, int card) if (err == -EXDEV) continue; if (err < 0) { + list->card = card; list->device = -1; err = try_config(list, list->siface, str); } -- 1.6.6.1
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