acp: improve debug

This commit is contained in:
Wim Taymans 2020-10-01 13:12:19 +02:00
parent 0da406d304
commit 38276d126c
4 changed files with 40 additions and 33 deletions

View file

@ -77,12 +77,16 @@ enum acp_direction {
ACP_DIRECTION_CAPTURE = 2
};
const char *acp_direction_str(enum acp_direction direction);
enum acp_available {
ACP_AVAILABLE_UNKNOWN = 0,
ACP_AVAILABLE_NO = 1,
ACP_AVAILABLE_YES = 2
};
const char *acp_available_str(enum acp_available status);
/** Port type. New types can be added in the future, so applications should
* gracefully handle situations where a type identifier doesn't match any item
* in this enumeration. */