mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-17 08:56:49 -05:00
acp: get i18n interface from support and use it
Save the i18n interface in a global variable. Make acp use the support interface when translating strings.
This commit is contained in:
parent
0b5741e725
commit
3babedec9c
3 changed files with 16 additions and 2 deletions
|
|
@ -30,6 +30,8 @@ int _acp_log_level = 1;
|
|||
acp_log_func _acp_log_func;
|
||||
void *_acp_log_data;
|
||||
|
||||
struct spa_i18n *acp_i18n;
|
||||
|
||||
#define VOLUME_ACCURACY (PA_VOLUME_NORM/100) /* don't require volume adjustments to be perfectly correct. don't necessarily extend granularity in software unless the differences get greater than this level */
|
||||
|
||||
static const uint32_t channel_table[PA_CHANNEL_POSITION_MAX] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue