memblock: Fix typo in description of pa_memblock_unref_fixed(), cleanup

Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
tests: Resampler output memchunk may be reset (zero)

Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
mainloop, glib-mainloop: time_restart could cause incorrect event ordering

This fixes a bug where calling time_restart can leave the current event
in the cache, even though the restart scheduled the event in the future.
This would cause the event to get executed more frequently than it should.
modargs: Add pa_modargs_get_resample_method()

Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
modargs: Add pa_modargs_get_sample_rate()

return sample rate from the "rate" module argument

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
bash-completion: Add --monitor-stream completion to pacat
zsh-completion: Fix pacat device completion

The pacat completion didn't complete the right devices for the --record
and --playback flags.

This patch fixes this and makes the device completion for pacat easily
expandable.
bluetooth: Remove adapter_remove_all()

The function was redundant, because all it did was call adapter_free()
for each adapter in the hashmap, and that can be delegated to
pa_hashmap when freeing or emptying it.
bluetooth: Fix variable constness

The string points to memory inside a DBusMessage, so we don't own the string.
simple: Improve pa_simple_read() documentation

There was a question in IRC about whether pa_simple_read() blocks or
not. It's already documented on the simple API overview page, but it's
good to say it also in the function reference. As a bonus, I added
some additional details to the documentation too.
zsh-completion: Add --monitor-stream completion to pacat
daemon conf: "high-priority" setting isn't respected

The code got removed by accident during the cleanup in commit 9c438bcac671. So
this patch is needed to bring it back and make things work like documented.
tests: Extract PA_CPU_TEST* macros to separate header

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
console-kit: Remove logging of every message on the bus
alsa-mixer: Add internal surround speaker elements

These kcontrol names have started to show up lately, in
combination with surround internal speakers.

BugLink: https://bugs.launchpad.net/bugs/1236965
Signed-off-by: David Henningsson <david.henningsson@canonical.com>