sink, source: improve suspend cause logging
authorTanu Kaskinen <tanuk@iki.fi>
Thu, 28 Dec 2017 10:09:19 +0000 (12:09 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Wed, 3 Jan 2018 14:32:32 +0000 (16:32 +0200)
commitf17644318194f213e30bc396e041680154b217d4
tree11f36b7037947cb7917efddc8b8e366ae20cede1
parenteeee5664fad6d08c2757bc741db0955b0387b3b7
sink, source: improve suspend cause logging

Previously the suspend cause was logged as a hexadecimal number, now
it's logged as a human-friendly string.

Also, the command line interface handled only a subset of causes when
printing them, now all suspend causes are printed.
src/pulsecore/cli-text.c
src/pulsecore/core.c
src/pulsecore/core.h
src/pulsecore/sink.c
src/pulsecore/source.c