mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 16:22:45 +03:00
chore(sound): clean up inlined function
This commit is contained in:
parent
873342dba8
commit
c2fa5de4aa
@ -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) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user