coastline 0.0.4
Loading...
Searching...
No Matches
EarEnvironment Class Reference

Default-registration marker, set after a registration attempt even when registration fails. More...

#include <environment.h>

Public Member Functions

void SetReservedRegistrationDwordA (std::uint32_t value)
 Store the first reserved registration dword.
void SetReservedRegistrationWord (std::uint16_t value)
 Store the reserved registration word.
void SetEnvironmentInitialGain (std::uint16_t value)
 Store initial attenuation used by spatial suppression.
void SetReservedRegistrationDwordB (std::uint32_t value)
 Store the second reserved registration dword.
void SetEnvironmentSoundSpeed (std::uint16_t value)
 Store sound speed for Doppler calculations.
void SetReservedRegistrationDwordC (std::uint32_t value)
 Store the third reserved registration dword.
void SetEnvironmentPitchVariationRange (std::uint16_t value)
 Store the default random pitch half-range.
void SetEnvironmentDopplerCrossoverDistance (std::uint16_t value)
 Store the distance threshold for smoothing Doppler direction changes.
void SetReservedAuxiliaryWordB (std::uint16_t value)
 Store reserved auxiliary property B.
void SetReservedAuxiliaryWordA (std::uint16_t value)
 Store reserved auxiliary property A.
void SetReservedAuxiliaryWordC (std::uint16_t value)
 Store reserved auxiliary property C.
void SetReservedAuxiliaryWordD (std::uint16_t value)
 Store reserved auxiliary property D.
void SetReservedAuxiliaryWordE (std::uint16_t value)
 Store reserved auxiliary property E.
std::uint16_t GetEnvironmentInitialGain () const
std::uint16_t GetEnvironmentSoundSpeed () const
std::uint16_t GetEnvironmentDopplerCrossoverDistance () const
std::uint16_t GetEnvironmentPitchVariationRange () const

Detailed Description

Default-registration marker, set after a registration attempt even when registration fails.

Ghidra address:
EAR: 0x100360f0 Spatial playback environment properties copied during registration. Direct setters store values without validation. Reserved properties have unidentified meanings. Borrowed environment pointers become invalid after replacement or shutdown.

Member Function Documentation

◆ SetReservedRegistrationDwordA()

void EarEnvironment::SetReservedRegistrationDwordA ( std::uint32_t value)

Store the first reserved registration dword.

Parameters
valueThe uninterpreted 32-bit property value.
Ghidra address:
EAR: 0x1000ea30

◆ SetReservedRegistrationWord()

void EarEnvironment::SetReservedRegistrationWord ( std::uint16_t value)

Store the reserved registration word.

Parameters
valueThe uninterpreted 16-bit property value.
Ghidra address:
EAR: 0x1000ea50

◆ SetEnvironmentInitialGain()

void EarEnvironment::SetEnvironmentInitialGain ( std::uint16_t value)

Store initial attenuation used by spatial suppression.

Parameters
valueThe gain in units of 1/10000 of full amplitude.
Ghidra address:
EAR: 0x1000ea70

◆ SetReservedRegistrationDwordB()

void EarEnvironment::SetReservedRegistrationDwordB ( std::uint32_t value)

Store the second reserved registration dword.

Parameters
valueThe uninterpreted 32-bit property value.
Ghidra address:
EAR: 0x1000ea90

◆ SetEnvironmentSoundSpeed()

void EarEnvironment::SetEnvironmentSoundSpeed ( std::uint16_t value)

Store sound speed for Doppler calculations.

Parameters
valueThe speed in centimetres per millisecond; distance-delay processing requires a nonzero value.
Ghidra address:
EAR: 0x1000eab0

◆ SetReservedRegistrationDwordC()

void EarEnvironment::SetReservedRegistrationDwordC ( std::uint32_t value)

Store the third reserved registration dword.

Parameters
valueThe uninterpreted 32-bit property value.
Ghidra address:
EAR: 0x1000ead0

◆ SetEnvironmentPitchVariationRange()

void EarEnvironment::SetEnvironmentPitchVariationRange ( std::uint16_t value)

Store the default random pitch half-range.

Parameters
valueThe variation in units of 1/10000 of base frequency, without clamping.
Ghidra address:
EAR: 0x1000eaf0

◆ SetEnvironmentDopplerCrossoverDistance()

void EarEnvironment::SetEnvironmentDopplerCrossoverDistance ( std::uint16_t value)

Store the distance threshold for smoothing Doppler direction changes.

Parameters
valueThe nonnegative threshold in centimetres.
Ghidra address:
EAR: 0x1000eb10

◆ SetReservedAuxiliaryWordB()

void EarEnvironment::SetReservedAuxiliaryWordB ( std::uint16_t value)

Store reserved auxiliary property B.

Parameters
valueThe uninterpreted 16-bit property value.
Ghidra address:
EAR: 0x1000eb30

◆ SetReservedAuxiliaryWordA()

void EarEnvironment::SetReservedAuxiliaryWordA ( std::uint16_t value)

Store reserved auxiliary property A.

Parameters
valueThe uninterpreted 16-bit property value.
Ghidra address:
EAR: 0x1000eb50

◆ SetReservedAuxiliaryWordC()

void EarEnvironment::SetReservedAuxiliaryWordC ( std::uint16_t value)

Store reserved auxiliary property C.

Parameters
valueThe uninterpreted 16-bit property value.
Ghidra address:
EAR: 0x1000eb70

◆ SetReservedAuxiliaryWordD()

void EarEnvironment::SetReservedAuxiliaryWordD ( std::uint16_t value)

Store reserved auxiliary property D.

Parameters
valueThe uninterpreted 16-bit property value.
Ghidra address:
EAR: 0x1000eb90

◆ SetReservedAuxiliaryWordE()

void EarEnvironment::SetReservedAuxiliaryWordE ( std::uint16_t value)

Store reserved auxiliary property E.

Parameters
valueThe uninterpreted 16-bit property value.
Ghidra address:
EAR: 0x1000ebb0

◆ GetEnvironmentInitialGain()

std::uint16_t EarEnvironment::GetEnvironmentInitialGain ( ) const
Returns
The stored initial gain in units of 1/10000 of full amplitude.
Ghidra address:
EAR: 0x10008a40

◆ GetEnvironmentSoundSpeed()

std::uint16_t EarEnvironment::GetEnvironmentSoundSpeed ( ) const
Returns
The stored Doppler sound speed in centimetres per millisecond.
Ghidra address:
EAR: 0x10008a60

◆ GetEnvironmentDopplerCrossoverDistance()

std::uint16_t EarEnvironment::GetEnvironmentDopplerCrossoverDistance ( ) const
Returns
The stored Doppler crossover threshold in centimetres.
Ghidra address:
EAR: 0x10008a80

◆ GetEnvironmentPitchVariationRange()

std::uint16_t EarEnvironment::GetEnvironmentPitchVariationRange ( ) const
Returns
The stored pitch half-range in units of 1/10000 of base frequency.
Ghidra address:
EAR: 0x1000d710

The documentation for this class was generated from the following file: