projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c72d878
)
alsa-source: fix enum types
author
Lennart Poettering
<lennart@poettering.net>
Thu, 25 Nov 2010 03:34:04 +0000
(
04:34
+0100)
committer
Colin Guthrie
<cguthrie@mandriva.org>
Thu, 25 Nov 2010 16:38:32 +0000
(16:38 +0000)
src/modules/alsa/alsa-source.c
patch
|
blob
|
history
diff --git
a/src/modules/alsa/alsa-source.c
b/src/modules/alsa/alsa-source.c
index 0b953143c1bcd29e58891edad03fb89a56554756..d2147498f566b4bc21d031848f7f704e42c8f548 100644
(file)
--- a/
src/modules/alsa/alsa-source.c
+++ b/
src/modules/alsa/alsa-source.c
@@
-1040,9
+1040,9
@@
static int source_set_state_cb(pa_source *s, pa_source_state_t new_state) {
old_state = pa_source_get_state(u->source);
- if (PA_S
INK_IS_OPENED(old_state) && new_state == PA_SINK
_SUSPENDED)
+ if (PA_S
OURCE_IS_OPENED(old_state) && new_state == PA_SOURCE
_SUSPENDED)
reserve_done(u);
- else if (old_state == PA_S
INK_SUSPENDED && PA_SINK
_IS_OPENED(new_state))
+ else if (old_state == PA_S
OURCE_SUSPENDED && PA_SOURCE
_IS_OPENED(new_state))
if (reserve_init(u, u->device_name) < 0)
return -PA_ERR_BUSY;