mixer/plugins/volume_mapping: add SPDX header

This commit is contained in:
Max Kellermann 2023-03-14 20:08:09 +01:00
parent 688d9ff114
commit 5b41857a22
2 changed files with 5 additions and 19 deletions

View File

@ -1,18 +1,5 @@
/*
* Copyright (c) 2010 Clemens Ladisch <clemens@ladisch.de>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
// SPDX-License-Identifier: ISC
// Copyright (c) 2010 Clemens Ladisch <clemens@ladisch.de>
/*
* The functions in this file map the value ranges of ALSA mixer controls onto

View File

@ -1,5 +1,6 @@
#ifndef VOLUME_MAPPING_H_INCLUDED
#define VOLUME_MAPPING_H_INCLUDED
// SPDX-License-Identifier: ISC
#pragma once
#include <alsa/asoundlib.h>
@ -13,5 +14,3 @@ int set_normalized_playback_volume(snd_mixer_elem_t *elem,
int set_normalized_capture_volume(snd_mixer_elem_t *elem,
double volume,
int dir);
#endif