diff --git a/VAUSoundSource.cs b/VAUSoundSource.cs index dd955c7f5db9815a6aa03473bc09e6965c4a040a..6799019e4c7a06ab25a55cffded7d2582b8b2ce7 100644 --- a/VAUSoundSource.cs +++ b/VAUSoundSource.cs @@ -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)