mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
build 171204. separate vehicle movement noise for external and internal view, flexible parsing of wheel_clatter parameter, minor tweaks to air leak and wheel clatter playback
This commit is contained in:
@@ -17,10 +17,10 @@ class sound_source;
|
||||
// sound emitter state sync item
|
||||
struct sound_properties {
|
||||
glm::dvec3 location;
|
||||
float base_gain { 1.f };
|
||||
float placement_gain { 1.f };
|
||||
std::uintptr_t placement_stamp { ~( std::uintptr_t{ 0 } ) };
|
||||
float base_pitch { 1.f };
|
||||
float gain { 1.f };
|
||||
float soundproofing { 1.f };
|
||||
std::uintptr_t soundproofing_stamp { ~( std::uintptr_t{ 0 } ) };
|
||||
float pitch { 1.f };
|
||||
};
|
||||
|
||||
namespace audio {
|
||||
|
||||
Reference in New Issue
Block a user