Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Müller <nexyon@gmail.com>2015-01-29 02:20:01 +0300
committerJörg Müller <nexyon@gmail.com>2015-01-29 02:20:41 +0300
commitd434815ff7c586f6e54af667e37c9d2d12726416 (patch)
tree7354606a5430c9980fc4e03d2816adf6f014ae95 /intern/audaspace
parentd183e9b43ba5f44561f776b471ec7030e35d8cad (diff)
Audaspace: Fix typo in speed of sound initialization value by lordloki (Jorge Bernal)
Diffstat (limited to 'intern/audaspace')
-rw-r--r--intern/audaspace/Python/AUD_PyAPI.cpp2
-rw-r--r--intern/audaspace/intern/AUD_Sequencer.cpp2
-rw-r--r--intern/audaspace/intern/AUD_SoftwareDevice.cpp2
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<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;