mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
acp: add channel to string function
Add a function to convert the channel to a string and use that instead of the unsafe one. Fixes #519
This commit is contained in:
parent
509152108a
commit
c84646b66f
3 changed files with 62 additions and 5 deletions
|
|
@ -101,6 +101,8 @@ enum acp_channel {
|
|||
ACP_CHANNEL_CUSTOM_START = 0x10000,
|
||||
};
|
||||
|
||||
char *acp_channel_str(char *buf, size_t len, enum acp_channel ch);
|
||||
|
||||
struct acp_format {
|
||||
uint32_t flags;
|
||||
uint32_t format_mask;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue