forked from MoonsideGames/MoonWorks
add SetMasteringVolume method to AudioDevice
parent
e5c72c6f46
commit
4756fe2b14
|
@ -197,7 +197,12 @@ namespace MoonWorks.Audio
|
|||
sendDesc[1].pOutputVoice = ReverbVoice;
|
||||
}
|
||||
|
||||
public void Update()
|
||||
public void SetMasteringVolume(float volume)
|
||||
{
|
||||
FAudio.FAudioVoice_SetVolume(MasteringVoice, volume, 0);
|
||||
}
|
||||
|
||||
internal void Update()
|
||||
{
|
||||
for (var i = streamingSounds.Count - 1; i >= 0; i--)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue