Set both source and generator gains for now.
This commit is contained in:
parent
c6bf921a72
commit
9391238bdc
|
@ -291,6 +291,7 @@ pub fn update_sound_properties(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if let Some(generator) = sound.generator.as_mut() {
|
if let Some(generator) = sound.generator.as_mut() {
|
||||||
|
generator.gain().set(gain).expect("Failed to set gain");
|
||||||
generator
|
generator
|
||||||
.pitch_bend()
|
.pitch_bend()
|
||||||
.set(pitch)
|
.set(pitch)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user