summaryrefslogtreecommitdiffstats
path: root/src/modules/alsa/alsa-sink.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-03-02 14:08:11 +0100
committerLennart Poettering <lennart@poettering.net>2009-03-02 14:08:11 +0100
commit77514c1c4cfd4154371fb7b745772a02c5932ec2 (patch)
tree6c54fab0c0e7c8921781d1bb2b8b5ddf210a9016 /src/modules/alsa/alsa-sink.c
parent5c514aaacc5f90a7bf9a3536ef5d3aefaad1c55c (diff)
parent8a00c009439d1c559a2992b2f9f67e2708334d5a (diff)
Merge commit 'coling/master'
Diffstat (limited to 'src/modules/alsa/alsa-sink.c')
-rw-r--r--src/modules/alsa/alsa-sink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/alsa/alsa-sink.c b/src/modules/alsa/alsa-sink.c
index 7768b38e..d4325881 100644
--- a/src/modules/alsa/alsa-sink.c
+++ b/src/modules/alsa/alsa-sink.c
@@ -148,7 +148,7 @@ static void reserve_update(struct userdata *u) {
const char *description;
pa_assert(u);
- if (!u->sink)
+ if (!u->sink || !u->reserve)
return;
if ((description = pa_proplist_gets(u->sink->proplist, PA_PROP_DEVICE_DESCRIPTION)))