Home
last modified time | relevance | path

Searched refs:new_balance (Results 1 – 3 of 3) sorted by relevance

/third_party/pulseaudio/src/pulse/
Dvolume.c722 static pa_cvolume* set_balance(pa_cvolume *v, const pa_channel_map *map, float new_balance, in set_balance() argument
732 if (new_balance <= 0) { in set_balance()
733 nright = (new_balance + 1.0f) * m; in set_balance()
736 nleft = (1.0f - new_balance) * m; in set_balance()
758 pa_cvolume* pa_cvolume_set_balance(pa_cvolume *v, const pa_channel_map *map, float new_balance) { in pa_cvolume_set_balance() argument
763 pa_return_val_if_fail(new_balance >= -1.0f, NULL); in pa_cvolume_set_balance()
764 pa_return_val_if_fail(new_balance <= 1.0f, NULL); in pa_cvolume_set_balance()
769 return set_balance(v, map, new_balance, on_left, on_right); in pa_cvolume_set_balance()
874 pa_cvolume* pa_cvolume_set_lfe_balance(pa_cvolume *v, const pa_channel_map *map, float new_balance)… in pa_cvolume_set_lfe_balance() argument
879 pa_return_val_if_fail(new_balance >= -1.0f, NULL); in pa_cvolume_set_lfe_balance()
[all …]
Dohos_pa_volume.c738 static pa_cvolume* set_balance(pa_cvolume *v, const pa_channel_map *map, float new_balance, in set_balance() argument
748 if (new_balance <= 0) { in set_balance()
749 nright = (new_balance + 1.0f) * m; in set_balance()
752 nleft = (1.0f - new_balance) * m; in set_balance()
774 pa_cvolume* pa_cvolume_set_balance(pa_cvolume *v, const pa_channel_map *map, float new_balance) { in pa_cvolume_set_balance() argument
779 pa_return_val_if_fail(new_balance >= -1.0f, NULL); in pa_cvolume_set_balance()
780 pa_return_val_if_fail(new_balance <= 1.0f, NULL); in pa_cvolume_set_balance()
785 return set_balance(v, map, new_balance, on_left, on_right); in pa_cvolume_set_balance()
890 pa_cvolume* pa_cvolume_set_lfe_balance(pa_cvolume *v, const pa_channel_map *map, float new_balance)… in pa_cvolume_set_lfe_balance() argument
895 pa_return_val_if_fail(new_balance >= -1.0f, NULL); in pa_cvolume_set_lfe_balance()
[all …]
Dvolume.h356 pa_cvolume* pa_cvolume_set_balance(pa_cvolume *v, const pa_channel_map *map, float new_balance);
392 pa_cvolume* pa_cvolume_set_lfe_balance(pa_cvolume *v, const pa_channel_map *map, float new_balance);