diff options
author | Chris Robinson <[email protected]> | 2015-09-08 15:04:42 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2015-09-08 15:04:42 -0700 |
commit | 483352f32b7c62db6c702265e8b8cc21f1d4aae1 (patch) | |
tree | ce1ddf5eb1f1cebba3256a5073cfa6976fc919bd /OpenAL32 | |
parent | 475a566e3588cec51492d3ca7741ba900e118e8f (diff) |
Set both BS2B parameters at once
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/bs2b.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/OpenAL32/Include/bs2b.h b/OpenAL32/Include/bs2b.h index f1f3627a..903c6bc5 100644 --- a/OpenAL32/Include/bs2b.h +++ b/OpenAL32/Include/bs2b.h @@ -69,19 +69,16 @@ struct bs2b { } last_sample; }; -/* Clear buffers and set new coefficients with new crossfeed level value. +/* Clear buffers and set new coefficients with new crossfeed level and sample + * rate values. * level - crossfeed level of *LEVEL values. + * srate - sample rate by Hz. */ -void bs2b_set_level(struct bs2b *bs2b, int level); +void bs2b_set_params(struct bs2b *bs2b, int level, int srate); /* Return current crossfeed level value */ int bs2b_get_level(struct bs2b *bs2b); -/* Clear buffers and set new coefficients with new sample rate value. - * srate - sample rate by Hz. - */ -void bs2b_set_srate(struct bs2b *bs2b, int srate); - /* Return current sample rate value */ int bs2b_get_srate(struct bs2b *bs2b); |