summaryrefslogtreecommitdiff
path: root/docs/LICENSES
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-11-22 19:19:01 +0000
committerAidan MacDonald <amachronic@protonmail.com>2023-01-22 15:43:00 -0500
commitdc839639620352c5fa9b63db6679126ec5bcfba8 (patch)
treec551d2e6586b0439003a8c0bba66e0d349cc680d /docs/LICENSES
parent66519000f47cfb5c58be68ab2335b7cbc0bce35b (diff)
downloadrockbox-dc839639620352c5fa9b63db6679126ec5bcfba8.tar.gz
rockbox-dc839639620352c5fa9b63db6679126ec5bcfba8.zip
Add helpers for converting to/from normalized (perceptual) volume
These routines were taken from alsamixer and converted to fixed point for Rockbox. Change-Id: I64e8bf08da02b1e6e3ef10fdc78254bf8e87ff20
Diffstat (limited to 'docs/LICENSES')
-rw-r--r--docs/LICENSES22
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/LICENSES b/docs/LICENSES
index d340d3961b..4d676c82c0 100644
--- a/docs/LICENSES
+++ b/docs/LICENSES
@@ -143,3 +143,25 @@ From: https://github.com/cnSchwarzer/bsdiff-win
143 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 143 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
144 * POSSIBILITY OF SUCH DAMAGE. 144 * POSSIBILITY OF SUCH DAMAGE.
145 */ 145 */
146
147*************************************************************************
148In: apps/misc.c, to_normalized_volume and from_normalized_volume
149From: https://git.alsa-project.org/?p=alsa-utils.git
150 alsamixer/volume_mapping.c
151*************************************************************************
152
153/*
154 * Copyright (c) 2010 Clemens Ladisch <clemens@ladisch.de>
155 *
156 * Permission to use, copy, modify, and/or distribute this software for any
157 * purpose with or without fee is hereby granted, provided that the above
158 * copyright notice and this permission notice appear in all copies.
159 *
160 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
161 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
162 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
163 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
164 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
165 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
166 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
167 */