Wayverb
Main Page
Related Pages
Classes
Files
File List
environment.h
1
#pragma once
2
3
namespace
wayverb
{
4
namespace
core
{
5
6
struct
environment
final {
7
double
speed_of_sound{340.0};
8
double
acoustic_impedance{400.0};
9
};
10
11
constexpr
auto
get_ambient_density(
const
environment
& s) {
12
return
s.acoustic_impedance / s.speed_of_sound;
13
}
14
15
}
// namespace core
16
}
// namespace wayverb
core
Definition:
traits.cpp:2
wayverb::core::environment
Definition:
environment.h:6
wayverb
Definition:
capsule_base.h:9
src
core
include
core
environment.h
Generated by
1.8.11