projects
/
profile
/
ivi
/
pulseaudio-panda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bd6545
)
include ALSA driver in properties for cards/sink
author
Lennart Poettering
<lennart@poettering.net>
Fri, 30 Jan 2009 01:24:58 +0000
(
02:24
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 30 Jan 2009 01:24:58 +0000
(
02:24
+0100)
src/modules/alsa/alsa-util.c
patch
|
blob
|
history
diff --git
a/src/modules/alsa/alsa-util.c
b/src/modules/alsa/alsa-util.c
index
f23056a
..
5236d02
100644
(file)
--- a/
src/modules/alsa/alsa-util.c
+++ b/
src/modules/alsa/alsa-util.c
@@
-1254,7
+1254,7
@@
void pa_alsa_redirect_errors_dec(void) {
}
void pa_alsa_init_proplist_card(pa_core *c, pa_proplist *p, int card) {
- char *cn, *lcn;
+ char *cn, *lcn
, *dn
;
pa_assert(p);
pa_assert(card >= 0);
@@
-1271,6
+1271,11
@@
void pa_alsa_init_proplist_card(pa_core *c, pa_proplist *p, int card) {
free(lcn);
}
+ if ((dn = pa_alsa_get_driver_name(card))) {
+ pa_proplist_sets(p, "alsa.driver_name", dn);
+ pa_xfree(dn);
+ }
+
#ifdef HAVE_HAL
pa_hal_get_info(c, p, card);
#endif