sink, source: improve suspend cause logging 65/178065/1
authorTanu Kaskinen <tanuk@iki.fi>
Thu, 28 Dec 2017 10:09:19 +0000 (12:09 +0200)
committerSangchul Lee <sc11.lee@samsung.com>
Tue, 8 May 2018 03:36:20 +0000 (12:36 +0900)
commit77d3beb0ee82b0db15f81a8c73ab15be61f50aae
tree49f229dd1d24a3e5d677c3e044bd0534e8c94f4b
parent3d371a38213aafdf22f4fa922da1d6125f9e83a9
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.

Change-Id: I4388ae2a49c784fbd82318b82cf0793d121e68a7
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
src/pulsecore/cli-text.c
src/pulsecore/core.c
src/pulsecore/core.h
src/pulsecore/sink.c
src/pulsecore/source.c