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:
5bb1883
)
alsa: fix a few comments
author
Lennart Poettering
<lennart@poettering.net>
Wed, 1 Jul 2009 18:20:06 +0000
(20:20 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 1 Jul 2009 18:20:06 +0000
(20:20 +0200)
src/modules/alsa/alsa-sink.c
patch
|
blob
|
history
diff --git
a/src/modules/alsa/alsa-sink.c
b/src/modules/alsa/alsa-sink.c
index
c584362
..
0cde694
100644
(file)
--- a/
src/modules/alsa/alsa-sink.c
+++ b/
src/modules/alsa/alsa-sink.c
@@
-169,10
+169,10
@@
static int reserve_init(struct userdata *u, const char *dname) {
if (pa_in_system_mode())
return 0;
- /* We are resuming, try to lock the device */
if (!(rname = pa_alsa_get_reserve_name(dname)))
return 0;
+ /* We are resuming, try to lock the device */
u->reserve = pa_reserve_wrapper_get(u->core, rname);
pa_xfree(rname);
@@
-222,7
+222,6
@@
static int reserve_monitor_init(struct userdata *u, const char *dname) {
if (pa_in_system_mode())
return 0;
- /* We are resuming, try to lock the device */
if (!(rname = pa_alsa_get_reserve_name(dname)))
return 0;