mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-22 22:07:11 +03:00
chore(sound): clean up inlined function
This commit is contained in:
1 file changed
+1
-3
@@ -730,9 +730,7 @@ void SESound::SetVolume(float volume) {
|
|||||||
|
|
||||||
this->m_internal->m_volume = std::min(std::max(volume, 0.0f), 1.0f);
|
this->m_internal->m_volume = std::min(std::max(volume, 0.0f), 1.0f);
|
||||||
|
|
||||||
if (this->m_internal->m_fmodChannel) {
|
this->m_internal->UpdateVolume();
|
||||||
this->m_internal->m_fmodChannel->setVolume(this->m_internal->GetVolume());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SESound::StopOrFadeOut(int32_t stop, float fadeOutTime) {
|
void SESound::StopOrFadeOut(int32_t stop, float fadeOutTime) {
|
||||||
|
|||||||
Reference in new issue
Block a user