2023-08-15 16:20:26 +02:00
|
|
|
/* SPDX-FileCopyrightText: 2023 Blender Authors
|
2023-05-31 16:19:06 +02:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
2019-09-11 20:34:55 +02:00
|
|
|
|
|
|
|
/** \file
|
|
|
|
* \ingroup DNA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
/* clang-format off */
|
|
|
|
|
|
|
|
/* -------------------------------------------------------------------- */
|
|
|
|
/** \name Speaker Struct
|
|
|
|
* \{ */
|
|
|
|
|
|
|
|
#define _DNA_DEFAULT_Speaker \
|
|
|
|
{ \
|
|
|
|
.attenuation = 1.0f, \
|
|
|
|
.cone_angle_inner = 360.0f, \
|
|
|
|
.cone_angle_outer = 360.0f, \
|
|
|
|
.cone_volume_outer = 1.0f, \
|
|
|
|
.distance_max = FLT_MAX, \
|
|
|
|
.distance_reference = 1.0f, \
|
|
|
|
.flag = 0, \
|
|
|
|
.pitch = 1.0f, \
|
|
|
|
.sound = NULL, \
|
|
|
|
.volume = 1.0f, \
|
|
|
|
.volume_max = 1.0f, \
|
|
|
|
.volume_min = 0.0f, \
|
|
|
|
}
|
|
|
|
|
|
|
|
/** \} */
|
|
|
|
|
|
|
|
/* clang-format on */
|