Math
parent
79bd6aeffb
commit
37df40d31a
|
@ -67,7 +67,7 @@ namespace MoonWorks.Audio
|
||||||
_pitch = value;
|
_pitch = value;
|
||||||
FAudio.FAudioSourceVoice_SetFrequencyRatio(
|
FAudio.FAudioSourceVoice_SetFrequencyRatio(
|
||||||
Handle,
|
Handle,
|
||||||
(float) Math.Pow(2.0, _pitch) * doppler,
|
(float) System.Math.Pow(2.0, _pitch) * doppler,
|
||||||
0
|
0
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue