Aufgrund einer Wartung wird GitLab am 04.06. zwischen 8:00 und 10:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 04.06. between 8:00 and 10:00 am.

Adapting API change of sound source volume >> sound source sound power control

parent c69df423
......@@ -64,7 +64,7 @@ public class VAUSoundSource : MonoBehaviour
{
// Set gain control once
_VA.SetSoundSourceMuted(_ID, GetComponent<AudioSource>().mute);
_VA.SetSoundSourceVolume(_ID, GetComponent<AudioSource>().volume * 31.69e-3 ); // Now SoundPower: 31.67 mW -> 94 dB SPL @ 1m
_VA.SetSoundSourceSoundPower( _ID, GetComponent< AudioSource >().volume * 31.69e-3 ); // Now SoundPower: 31.67 mW -> 94 dB SPL @ 1m
// Create and connect audio signal source
if (GetComponent<AudioSource>().clip)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment