Permalink
Commits on Jul 11, 2013
  1. @CendioOssman @tanuk

    alsa: Support ALSA without a use case manager

    The ALSA use case manager is a fairly recent addition,
    so make sure the ALSA modules can be used on systems that
    have an older version of ALSA.
    CendioOssman committed with tanuk Jul 10, 2013
  2. @tanuk

    log: Fix thread name printing

    Not all threads have a name.
    
    Thanks to Pierre Ossman for the patch.
    tanuk committed Jul 11, 2013
  3. @tanuk

    module: Fix crash in pa_module_unload_all()

    Previously, if there were no modules loaded when the daemon exited,
    pa_module_unload_all() would crash due to giving zero count to
    pa_xnew().
    
    Thanks to Pierre Ossman for the patch.
    tanuk committed Jul 11, 2013
Commits on Jul 10, 2013
  1. @tanuk

    Revert "resampler: Resample first followed by remapping if have more …

    …out channels than in channels"
    
    This reverts commit 30ce3a1.
    
    The commit broke the leftover buffer handling, see [1] for more
    information.
    
    [1] http://thread.gmane.org/gmane.comp.audio.pulseaudio.general/17479/focus=17487
    tanuk committed Jul 10, 2013
Commits on Jul 9, 2013
  1. @tanuk

    sink-input: Keep reference ratio up-to-date

    The reference ratio should always be kept up-to-date. If the reference
    ratio is not updated when the input volume changes, the stale
    reference ratio ends up being used as the new input volume when the
    input is moved.
    tanuk committed Apr 3, 2013
  2. @tanuk

    Use pa_(c)volume_snprint_verbose() everywhere

    All pa_cvolume_snprint(), pa_volume_snprint(),
    pa_sw_cvolume_snprint_dB() and pa_sw_volume_snprint_dB() calls have
    been replaced with pa_cvolume_snprint_verbose() and
    pa_volume_snprint_verbose() calls, making the log output more
    informative and the code sometimes simpler.
    tanuk committed Apr 3, 2013
  3. @tanuk

    pulse: Add verbose volume printing functions

    For more informative logging.
    tanuk committed Apr 3, 2013
Commits on Jul 8, 2013
  1. @tanuk

    loopback: Fix cork state not updated after move

    The source output and sink inputs should be corked if the corresponding
    sink/source is suspended, as handled during module initialization. This
    also needs to be handled during stream move, because the suspend state
    of the destination sink/source might be different to the previous one.
    
    This fixes the issue with an infinite number of "Requesting rewind due
    to end of underrun" traces after a stream move.
    Mikel Astiz committed with tanuk Jul 1, 2013
Commits on Jul 5, 2013
  1. @tanuk

    sconv: avoid multiply in ARM NEON s16->float conversion

    Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
    Peter Meerwald committed with tanuk Jul 2, 2013
  2. @tanuk

    sconv: avoid multiply in ARM NEON float->s16 conversion

    optimization idea taken from libavresample
    
    Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
    Peter Meerwald committed with tanuk Jul 2, 2013
Commits on Jul 4, 2013
  1. @tanuk
  2. @tanuk
  3. @tanuk

    macro: Remove unneeded typedef for pa_bool_t.

    poljar (Damir Jelić) committed with tanuk Jun 28, 2013
  4. @tanuk

    Revert windows BOOL variables to use TRUE/FALSE instead of true/false

    poljar (Damir Jelić) committed with tanuk Jun 27, 2013
  5. @tanuk

    Revert dbus_bool_t variables to use TRUE/FALSE instead of true/false

    poljar (Damir Jelić) committed with tanuk Jun 27, 2013
  6. @tanuk

    Fix alignment issues introduced by the pa_bool -> bool conversion

    poljar (Damir Jelić) committed with tanuk Jun 27, 2013
  7. @tanuk

    Remove pa_bool_t and replace it with bool.

    commands used for this (executed from the pulseaudio/src directory):
        find . -regex '\(.*\.[hc]\|.*\.cc\|.*\.m4\)' -not -name 'macro.h' \
            -a -not -name 'reserve.[ch]' -a -not -name 'reserve-monitor.[ch]' \
            -a -not -name 'glib-mainloop.c' -a -not -name 'gkt-test.c' \
            -a -not -name 'glib-mainloop.c' -a -not -name 'gkt-test.c' \
            -a -not -name 'poll-win32.c' -a -not -name 'thread-win32.c' \
            -a -not -name 'dllmain.c' -a -not -name 'gconf-helper.c' \
            -exec sed -i -e 's/\bpa_bool_t\b/bool/g' \
            -e 's/\bTRUE\b/true/g' -e 's/\bFALSE\b/false/g' {} \;
    
    and:
        sed -i -e '181,194!s/\bpa_bool_t\b/bool/' \
            -e '181,194!s/\bTRUE\b/true/' -e \
            '181,194!s/\bFALSE\b/false/' pulsecore/macro.h
    poljar (Damir Jelić) committed with tanuk Jun 27, 2013
Commits on Jul 3, 2013
  1. @tanuk

    build-sys: Add native-instruments-traktor-audio2.conf to Makefile.am

    Thanks to Jan Steffens for reporting the issue.
    tanuk committed Jul 3, 2013
Commits on Jul 2, 2013
  1. @tanuk
Commits on Jun 28, 2013
  1. Revert "alsa-mixer: Add a couple of assertions"

    This reverts commit 2613e4c.
    
    Please don't replace correct NULL pointer checks with assertions.
    David Henningsson committed Jun 28, 2013
  2. @tanuk

    device-manager: Add a sanity check for reading entries

    There is code elsewhere that assumes that if user_set_description is
    true, then the description is non-NULL.
    tanuk committed Jun 4, 2013
  3. @tanuk
Commits on Jun 27, 2013
  1. @tanuk

    alsa-mixer: Add a couple of assertions

    I checked the code to ensure that the assertions hold currently.
    tanuk committed Jun 27, 2013
  2. @tanuk

    dynarray: Reimplement with nicer semantics

    A dynamic array is a nice simple container, but the old interface
    wasn't quite what I wanted it to be. I like GLib's way of providing
    the free callback at the container creation time, because that way
    the free callback doesn't have to be given every time something is
    removed from the array.
    
    The allocation pattern was changed too: instead of increasing the
    array size always by 25 when the array gets full, the size gets
    doubled now (the lowest non-zero size is still 25).
    
    The array can't store NULL pointers anymore, and pa_dynarray_get() was
    changed so that it's forbidden to try to access elements outside the
    valid range.
    
    The set of supported operations may seem a bit arbitrary. The
    operation set is by no means complete at this point. I have included
    only those operations that are required by the current code and some
    unpublished code of mine.
    tanuk committed Jun 26, 2013
Commits on Jun 26, 2013
  1. @tanuk

    source: Fix an indentation mistake

    tanuk committed Jun 26, 2013
Commits on Jun 25, 2013
  1. @tanuk

    object: Initialize allocated memory to zero

    This is safer and more convenient for subclasses.
    tanuk committed Jun 19, 2013
  2. @tanuk

    device-port: Assert that ports have a description

    It's easier to work with the port description if it can be assumed
    that it's always non-NULL. I have checked that the current code base
    always ensures a non-NULL description.
    tanuk committed Jun 19, 2013
Commits on Jun 24, 2013
  1. @tanuk

    protocol-esound/http/simple: Make sure callers can handle iochannel_w…

    …rite changes
    
    With the new behaviour, you will not always get a callback after a
    successful write. Make sure the callers can properly handle this.
    
    Signed-off-by: David Henningsson <david.henningsson@canonical.com>
    David Henningsson committed with tanuk Jun 24, 2013
  2. @tanuk

    Whitespace cleanup: Remove all multiple newlines

    This patch removes all occurrences of double and triple
    newlines.
    
    Command used for this:
    find .  -type d \( -name ffmpeg \) -prune -o \
            -regex '\(.*\.[hc]\|.*\.cc\)' \
            -a -not -name 'adrian-aec.*' -a -not \
            -name reserve.c -a -not -name 'rtkit.*' \
            -exec sed -i -e '/^$/{N;s/^\n$//}' {} \;
    
    Two passes were needed to remove triple newlines.
    The excluded files are mirrored files from external sources.
    poljar (Damir Jelić) committed with tanuk Jun 18, 2013
  3. @tanuk

    Style fix: Remove new lines from opening brackets

    This patch replaces every occurrence of ')\n{' with ') {'.
    
    Command used for this:
        find .  -type d \( -name ffmpeg \) -prune -o \
            -regex '\(.*\.[hc]\|.*\.cc\)' \
            -a -not -name core-util.c -a -not \
            -name adrian-aec.c -a -not -name g711.c \
            -exec sed -i -e '/)$/{N;s/)\n{$/) {/}' {} \;
    
    The excluded files are mirrored files from external sources.
    poljar (Damir Jelić) committed with tanuk Jun 18, 2013
  4. @tanuk

    Style fix: Add a space between the closing/opening bracket

    This patch replaces every occurrence of '){' with ') {'.
    The ffmpeg source tree was excluded since it will disappear anyways.
    
    Command used for this:
        find . -type d \( -name ffmpeg \) -prune -o \
            -regex '\(.*\.[hc]\|.*\.cc\)' \
            -exec sed -i -e 's/){/) {/' {} \;
    poljar (Damir Jelić) committed with tanuk Jun 18, 2013
  5. @tanuk

    Style fix: Add a space betwen the if statement and the opening bracket

    This patch replaces every occurrence of 'if(' with 'if ('.
    The ffmpeg source tree was excluded since it will disappear anyways.
    
    Command used for this:
        find . -type d \( -name ffmpeg \) -prune -o \
                -regex '\(.*\.[hc]\|.*\.cc\)' \
                -exec sed -i -e 's/ if(/ if (/' {} \;
    poljar (Damir Jelić) committed with tanuk Jun 18, 2013
  6. @tanuk

    Whitespace cleanup: Fix broken indentation by hand

    This patch fixes wrong indentation introduced by the last patch.
    
    This was mostly done with vim-s retab feature.
    poljar (Damir Jelić) committed with tanuk Jun 18, 2013
  7. @tanuk

    Whitespace cleanup: Remove tabs

    This patch removes all tabs hidden inside the source tree and replaces
    them with 4 spaces.
    
    Command used for this:
        find . -type d \( -name bluetooth \) -prune -o
        -regex '\(.*\.[hc]\|.*\.cc\)' -a -not -name 'reserve*.[ch]'
        -a -not -name 'gnt*.h' -a -not -name 'adrian*'
        -exec sed -i -e 's/\t/    /g' {} \;
    
    The excluded files are mirrored files from external sources containing
    tabs.
    poljar (Damir Jelić) committed with tanuk Jun 18, 2013
Commits on Jun 23, 2013
  1. @tanuk

    .gitignore: Add build-aux

    tanuk committed Jun 23, 2013