[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, master, updated. v0.9.11-156-g8df5b2d

Lennart Poettering gitmailer-noreply at 0pointer.de
Tue Aug 26 06:53:34 PDT 2008


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 master branch has been updated
      from  2a78f865c15802cd21f36389aaf663fe3a680501 (commit)

- Log -----------------------------------------------------------------
8df5b2d... increase pa_xmalloc() limit to 96 MB, closes #344
fd3c6b0... fix typo
f9713d1... Fix error code in pa_stream_get_timing_info()
0a1f654... call close() in a loop to catch EINTR
-----------------------------------------------------------------------

Summary of changes:
 src/pulse/stream.c        |    2 +-
 src/pulse/stream.h        |    2 +-
 src/pulse/xmalloc.c       |    2 +-
 src/pulsecore/core-util.c |   10 +++++++++-
 4 files changed, 12 insertions(+), 4 deletions(-)

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

commit 0a1f654c201bab8b76d46fb58453e3a64c01c9a2
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Aug 26 15:44:55 2008 +0200

    call close() in a loop to catch EINTR

diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c
index 89416d8..c78e8fd 100644
--- a/src/pulsecore/core-util.c
+++ b/src/pulsecore/core-util.c
@@ -398,7 +398,15 @@ int pa_close(int fd) {
     }
 #endif
 
-    return close(fd);
+    for (;;) {
+        int r;
+
+        if ((r = close(fd)) >= 0)
+            return r;
+
+        if (errno != EINTR)
+            return r;
+    }
 }
 
 /* Print a warning messages in case that the given signal is not

commit f9713d1ccfc3ed5fe9845807ce4cd6bd9dfb294e
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Aug 26 15:45:18 2008 +0200

    Fix error code in pa_stream_get_timing_info()

diff --git a/src/pulse/stream.c b/src/pulse/stream.c
index 536a82c..6a497b7 100644
--- a/src/pulse/stream.c
+++ b/src/pulse/stream.c
@@ -1962,7 +1962,7 @@ const pa_timing_info* pa_stream_get_timing_info(pa_stream *s) {
 
     PA_CHECK_VALIDITY_RETURN_NULL(s->context, s->state == PA_STREAM_READY, PA_ERR_BADSTATE);
     PA_CHECK_VALIDITY_RETURN_NULL(s->context, s->direction != PA_STREAM_UPLOAD, PA_ERR_BADSTATE);
-    PA_CHECK_VALIDITY_RETURN_NULL(s->context, s->timing_info_valid, PA_ERR_BADSTATE);
+    PA_CHECK_VALIDITY_RETURN_NULL(s->context, s->timing_info_valid, PA_ERR_NODATA);
 
     return &s->timing_info;
 }

commit fd3c6b0f6015149e8ac801e155c1731d75f3d2c6
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Aug 26 15:45:37 2008 +0200

    fix typo

diff --git a/src/pulse/stream.h b/src/pulse/stream.h
index 2a8f7a8..6cb363c 100644
--- a/src/pulse/stream.h
+++ b/src/pulse/stream.h
@@ -473,7 +473,7 @@ void pa_stream_set_underflow_callback(pa_stream *p, pa_stream_notify_cb_t cb, vo
 
 /** Set the callback function that is called when a the server starts
  * playback after an underrun or on initial startup. This only informs
- * that audio is flowing again, it is no indication that audio startet
+ * that audio is flowing again, it is no indication that audio started
  * to reach the speakers already. (Only for playback streams). \since
  * 0.9.11 */
 void pa_stream_set_started_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata);

commit 8df5b2de92cbbc1c61d5991bcb74d7b0e5abcb0f
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Aug 26 15:46:26 2008 +0200

    increase pa_xmalloc() limit to 96 MB, closes #344

diff --git a/src/pulse/xmalloc.c b/src/pulse/xmalloc.c
index d1138d6..71a6847 100644
--- a/src/pulse/xmalloc.c
+++ b/src/pulse/xmalloc.c
@@ -36,7 +36,7 @@
 #include "xmalloc.h"
 
 /* Make sure not to allocate more than this much memory. */
-#define MAX_ALLOC_SIZE (1024*1024*20) /* 20MB */
+#define MAX_ALLOC_SIZE (1024*1024*96) /* 96MB */
 
 /* #undef malloc */
 /* #undef free */

-- 
hooks/post-receive
PulseAudio Sound Server



More information about the pulseaudio-commits mailing list