From d434815ff7c586f6e54af667e37c9d2d12726416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20M=C3=BCller?= Date: Thu, 29 Jan 2015 12:20:01 +1300 Subject: [PATCH] Audaspace: Fix typo in speed of sound initialization value by lordloki (Jorge Bernal) --- intern/audaspace/Python/AUD_PyAPI.cpp | 2 +- intern/audaspace/intern/AUD_Sequencer.cpp | 2 +- intern/audaspace/intern/AUD_SoftwareDevice.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/intern/audaspace/Python/AUD_PyAPI.cpp b/intern/audaspace/Python/AUD_PyAPI.cpp index b00289b3fae..dc019c1f245 100644 --- a/intern/audaspace/Python/AUD_PyAPI.cpp +++ b/intern/audaspace/Python/AUD_PyAPI.cpp @@ -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) diff --git a/intern/audaspace/intern/AUD_Sequencer.cpp b/intern/audaspace/intern/AUD_Sequencer.cpp index 6c5e48c73f0..ddcf97e2ea1 100644 --- a/intern/audaspace/intern/AUD_Sequencer.cpp +++ b/intern/audaspace/intern/AUD_Sequencer.cpp @@ -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), diff --git a/intern/audaspace/intern/AUD_SoftwareDevice.cpp b/intern/audaspace/intern/AUD_SoftwareDevice.cpp index 6ffa5e1fcae..c4277a6d02e 100644 --- a/intern/audaspace/intern/AUD_SoftwareDevice.cpp +++ b/intern/audaspace/intern/AUD_SoftwareDevice.cpp @@ -705,7 +705,7 @@ void AUD_SoftwareDevice::create() m_playback = false; m_volume = 1.0f; m_mixer = boost::shared_ptr(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;