diff options
author | David Isaksson <davidisaksson93@gmail.com> | 2021-09-18 16:43:44 +0200 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-11-08 16:29:25 -0800 |
commit | fa4255bcf11889f0ab0739e04502ff927e246f14 (patch) | |
tree | 27e61c71368fdc51fec7068e12cbdddcdbb79c30 /Userland/Libraries/LibDSP/Music.h | |
parent | 1e3e0477cbb06e7510523d4a24b2bf9f3a400434 (diff) | |
download | serenity-fa4255bcf11889f0ab0739e04502ff927e246f14.zip |
LibAudio: Refactor out linear_to_log function and add its inverse
The conversion from a linear scale (how we think about audio) to a
logarithmic scale (how audio actually works) will be useful for other
operations, so let's extract it to its own utility function. Its inverse
will also allow reversible operations to be written more easily.
Diffstat (limited to 'Userland/Libraries/LibDSP/Music.h')
0 files changed, 0 insertions, 0 deletions