diff options
-rw-r--r-- | .tarball-version | 2 | ||||
-rw-r--r-- | .version | 2 | ||||
-rw-r--r-- | NEWS | 53 | ||||
-rwxr-xr-x | configure | 20 | ||||
-rw-r--r-- | src/modules/bluetooth/module-bluetooth-policy.c | 5 | ||||
-rw-r--r-- | src/modules/bluetooth/module-bluez5-discover.c | 3 | ||||
-rw-r--r-- | src/pulse/stream.h | 9 | ||||
-rw-r--r-- | src/pulse/version.h | 6 | ||||
-rw-r--r-- | src/pulsecore/sample-util.h | 2 | ||||
-rw-r--r-- | src/tests/mult-s16-test.c | 2 |
10 files changed, 83 insertions, 21 deletions
diff --git a/.tarball-version b/.tarball-version index 132732a..cc40bca 100644 --- a/.tarball-version +++ b/.tarball-version @@ -1 +1 @@ -7.99.2 +8.0 @@ -1 +1 @@ -7.99.2 +8.0 @@ -1,3 +1,56 @@ +PulseAudio 8.0 + +Changes at a glance: + + * Automatic routing more likely to change profile + * OS X and NetBSD support improvements + * Systemd journal logging for clients + * New LFE balance programming interface + * Module-dbus-protocol improvements + * More flexible configuration file handling + * pulsecore-8.0.so moved to a private directory + * New script for measuring memory consumption + * Various bug fixes and small improvements + +Detailed change log: + + http://www.freedesktop.org/wiki/Software/PulseAudio/Notes/8.0 + +Contributors + + Ahmed S. Darwish + Alexander E. Patrakov + Andrey Semashev + Arun Raghavan + David Henningsson + Deepak Srivastava + Felipe Sateler + Georg Chini + Jason Gerecke + John Horan + Juho Hämäläinen + Julien Isorce + Kamil Rytarowski + KimJeongYeon + Kiran Krishnappa + Lev Melnikovsky + Manish Sogi + Mihai Moldovan + Mingye Wang + Nazar Mokrynskyi + Peter Mattern + Peter Meerwald + Pierre Ossman + Ross Burton + Shawn Walker + Takashi Iwai + Tanu Kaskinen + Thomas Petazzoni + Yuri Chornoivan + Zbigniew Kempczyński + jungsup lee + + PulseAudio 7.0 Changes at a glance: @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for pulseaudio 7.99.2. +# Generated by GNU Autoconf 2.69 for pulseaudio 8.0. # # Report bugs to <pulseaudio-discuss (at) lists (dot) freedesktop (dot) org>. # @@ -590,8 +590,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='pulseaudio' PACKAGE_TARNAME='pulseaudio' -PACKAGE_VERSION='7.99.2' -PACKAGE_STRING='pulseaudio 7.99.2' +PACKAGE_VERSION='8.0' +PACKAGE_STRING='pulseaudio 8.0' PACKAGE_BUGREPORT='pulseaudio-discuss (at) lists (dot) freedesktop (dot) org' PACKAGE_URL='http://pulseaudio.org/' @@ -1741,7 +1741,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures pulseaudio 7.99.2 to adapt to many kinds of systems. +\`configure' configures pulseaudio 8.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1811,7 +1811,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of pulseaudio 7.99.2:";; + short | recursive ) echo "Configuration of pulseaudio 8.0:";; esac cat <<\_ACEOF @@ -2113,7 +2113,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -pulseaudio configure 7.99.2 +pulseaudio configure 8.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2886,7 +2886,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by pulseaudio $as_me 7.99.2, which was +It was created by pulseaudio $as_me 8.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3841,7 +3841,7 @@ fi # Define the identity of the package. PACKAGE='pulseaudio' - VERSION='7.99.2' + VERSION='8.0' cat >>confdefs.h <<_ACEOF @@ -29028,7 +29028,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by pulseaudio $as_me 7.99.2, which was +This file was extended by pulseaudio $as_me 8.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -29095,7 +29095,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -pulseaudio config.status 7.99.2 +pulseaudio config.status 8.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/src/modules/bluetooth/module-bluetooth-policy.c b/src/modules/bluetooth/module-bluetooth-policy.c index fc709ec..4e51846 100644 --- a/src/modules/bluetooth/module-bluetooth-policy.c +++ b/src/modules/bluetooth/module-bluetooth-policy.c @@ -225,7 +225,7 @@ int pa__init(pa_module *m) { if (!(ma = pa_modargs_new(m->argument, valid_modargs))) { pa_log_error("Failed to parse module arguments"); - return -1; + goto fail; } m->userdata = u = pa_xnew0(struct userdata, 1); @@ -261,7 +261,8 @@ int pa__init(pa_module *m) { return 0; fail: - pa_modargs_free(ma); + if (ma) + pa_modargs_free(ma); return -1; } diff --git a/src/modules/bluetooth/module-bluez5-discover.c b/src/modules/bluetooth/module-bluez5-discover.c index 1ccc1d1..080e5d0 100644 --- a/src/modules/bluetooth/module-bluez5-discover.c +++ b/src/modules/bluetooth/module-bluez5-discover.c @@ -137,7 +137,8 @@ int pa__init(pa_module *m) { return 0; fail: - pa_modargs_free(ma); + if (ma) + pa_modargs_free(ma); pa__done(m); return -1; } diff --git a/src/pulse/stream.h b/src/pulse/stream.h index 70fa415..ab233d5 100644 --- a/src/pulse/stream.h +++ b/src/pulse/stream.h @@ -588,7 +588,14 @@ int pa_stream_peek( * calling pa_stream_peek(). */ int pa_stream_drop(pa_stream *p); -/** Return the number of bytes that may be written using pa_stream_write(). */ +/** Return the number of bytes requested by the server that have not yet + * been written. + * + * It is possible to write more than this amount, up to the stream's + * buffer_attr.maxlength bytes. This is usually not desirable, though, as + * it would increase stream latency to be higher than requested + * (buffer_attr.tlength). + */ size_t pa_stream_writable_size(pa_stream *p); /** Return the number of bytes that may be read using pa_stream_peek(). */ diff --git a/src/pulse/version.h b/src/pulse/version.h index df83e6e..c59c550 100644 --- a/src/pulse/version.h +++ b/src/pulse/version.h @@ -33,7 +33,7 @@ PA_C_DECL_BEGIN /** Return the version of the header files. Keep in mind that this is a macro and not a function, so it is impossible to get the pointer of it. */ -#define pa_get_headers_version() ("7.99.0") +#define pa_get_headers_version() ("8.0.0") /** Return the version of the library the current application is * linked to. */ @@ -50,10 +50,10 @@ const char* pa_get_library_version(void); #define PA_PROTOCOL_VERSION 30 /** The major version of PA. \since 0.9.15 */ -#define PA_MAJOR 7 +#define PA_MAJOR 8 /** The minor version of PA. \since 0.9.15 */ -#define PA_MINOR 99 +#define PA_MINOR 0 /** The micro version of PA (will always be 0 from v1.0 onwards). \since 0.9.15 */ #define PA_MICRO 0 diff --git a/src/pulsecore/sample-util.h b/src/pulsecore/sample-util.h index 3d53ebe..0732e8d 100644 --- a/src/pulsecore/sample-util.h +++ b/src/pulsecore/sample-util.h @@ -55,7 +55,7 @@ void pa_deinterleave(const void *src, void *dst[], unsigned channels, size_t ss, void pa_sample_clamp(pa_sample_format_t format, void *dst, size_t dstr, const void *src, size_t sstr, unsigned n); static inline int32_t pa_mult_s16_volume(int16_t v, int32_t cv) { -#if HAVE_FAST_64BIT_OPERATIONS +#ifdef HAVE_FAST_64BIT_OPERATIONS /* Multiply with 64 bit integers on 64 bit platforms */ return (v * (int64_t) cv) >> 16; #else diff --git a/src/tests/mult-s16-test.c b/src/tests/mult-s16-test.c index 845e61c..7340d85 100644 --- a/src/tests/mult-s16-test.c +++ b/src/tests/mult-s16-test.c @@ -93,7 +93,7 @@ int main(int argc, char *argv[]) { if (!getenv("MAKE_CHECK")) pa_log_set_level(PA_LOG_DEBUG); -#if HAVE_FAST_64BIT_OPERATIONS +#ifdef HAVE_FAST_64BIT_OPERATIONS pa_log_debug("Detected CPU with fast 64-bit operations."); #else pa_log_debug("Not detected CPU with fast 64-bit operations."); |