[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, stable-queue, updated. v0.9.21-113-gb53f06a

Lennart Poettering gitmailer-noreply at 0pointer.de
Wed Nov 24 19:33:52 PST 2010


This is an automated email from the git hooks/post-receive script. It was
generated because of a push to the "PulseAudio Sound Server" repository.

The stable-queue branch has been updated
      from  9472d7aeec7abe660f7b07b74f4905e4de4211e2 (commit)

- Log -----------------------------------------------------------------
b53f06a alsa-source: fix enum types
-----------------------------------------------------------------------

Summary of changes:
 src/modules/alsa/alsa-source.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

-----------------------------------------------------------------------

commit b53f06a942d0cee1ebc056210f0383707e57048c
Author: Lennart Poettering <lennart at poettering.net>
Date:   Thu Nov 25 04:34:04 2010 +0100

    alsa-source: fix enum types

diff --git a/src/modules/alsa/alsa-source.c b/src/modules/alsa/alsa-source.c
index 0ad0fbc..b04ac0d 100644
--- 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_SINK_IS_OPENED(old_state) && new_state == PA_SINK_SUSPENDED)
+    if (PA_SOURCE_IS_OPENED(old_state) && new_state == PA_SOURCE_SUSPENDED)
         reserve_done(u);
-    else if (old_state == PA_SINK_SUSPENDED && PA_SINK_IS_OPENED(new_state))
+    else if (old_state == PA_SOURCE_SUSPENDED && PA_SOURCE_IS_OPENED(new_state))
         if (reserve_init(u, u->device_name) < 0)
             return -PA_ERR_BUSY;
 

-- 
hooks/post-receive
PulseAudio Sound Server



More information about the pulseaudio-commits mailing list