diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-07-01 20:20:06 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-07-01 20:20:06 +0200 |
commit | 5d4769b7dd9467ee7c9475fad689918cbae216a4 (patch) | |
tree | 6d479baf0236af2d6a766e33c82eba0a96d4e509 | |
parent | 5bb1883e60a70210dedbf1590a2bb8665aba2878 (diff) |
alsa: fix a few comments
-rw-r--r-- | src/modules/alsa/alsa-sink.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/alsa/alsa-sink.c b/src/modules/alsa/alsa-sink.c index c584362d..0cde694c 100644 --- 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; |