Audaspace: Fix typo in speed of sound initialization value by lordloki (Jorge Bernal)
This commit is contained in:
parent
d183e9b43b
commit
d434815ff7
Notes:
blender-bot
2023-02-14 09:55:18 +01:00
Referenced by issue #43475, Rendered Viewport Crash with Ashikhmin-Shirley Glossy BSDF Referenced by issue #42338, issue with shortcuts
|
@ -2588,7 +2588,7 @@ Device_set_listener_orientation(Device *self, PyObject *args, void* nothing)
|
|||
|
||||
PyDoc_STRVAR(M_aud_Device_speed_of_sound_doc,
|
||||
"The speed of sound of the device.\n"
|
||||
"The speed of sound in air is typically 343 m/s.");
|
||||
"The speed of sound in air is typically 343.3 m/s.");
|
||||
|
||||
static PyObject *
|
||||
Device_get_speed_of_sound(Device *self, void* nothing)
|
||||
|
|
|
@ -39,7 +39,7 @@ AUD_Sequencer::AUD_Sequencer(AUD_Specs specs, float fps, bool muted) :
|
|||
m_id(0),
|
||||
m_muted(muted),
|
||||
m_fps(fps),
|
||||
m_speed_of_sound(434),
|
||||
m_speed_of_sound(343.3f),
|
||||
m_doppler_factor(1),
|
||||
m_distance_model(AUD_DISTANCE_MODEL_INVERSE_CLAMPED),
|
||||
m_volume(1, 1.0f),
|
||||
|
|
|
@ -705,7 +705,7 @@ void AUD_SoftwareDevice::create()
|
|||
m_playback = false;
|
||||
m_volume = 1.0f;
|
||||
m_mixer = boost::shared_ptr<AUD_Mixer>(new AUD_Mixer(m_specs));
|
||||
m_speed_of_sound = 343.0f;
|
||||
m_speed_of_sound = 343.3f;
|
||||
m_doppler_factor = 1.0f;
|
||||
m_distance_model = AUD_DISTANCE_MODEL_INVERSE_CLAMPED;
|
||||
m_flags = 0;
|
||||
|
|
Loading…
Reference in New Issue