mixer/plugins/volume_mapping: add SPDX header
This commit is contained in:
parent
688d9ff114
commit
5b41857a22
@ -1,18 +1,5 @@
|
|||||||
/*
|
// SPDX-License-Identifier: ISC
|
||||||
* Copyright (c) 2010 Clemens Ladisch <clemens@ladisch.de>
|
// 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The functions in this file map the value ranges of ALSA mixer controls onto
|
* The functions in this file map the value ranges of ALSA mixer controls onto
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#ifndef VOLUME_MAPPING_H_INCLUDED
|
// SPDX-License-Identifier: ISC
|
||||||
#define VOLUME_MAPPING_H_INCLUDED
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#include <alsa/asoundlib.h>
|
#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,
|
int set_normalized_capture_volume(snd_mixer_elem_t *elem,
|
||||||
double volume,
|
double volume,
|
||||||
int dir);
|
int dir);
|
||||||
|
|
||||||
#endif
|
|
||||||
|
Loading…
Reference in New Issue
Block a user