Small style fixes
Change-Id: I1db785122efe70e416b4073c06148c856c5a5e8d
This commit is contained in:
@@ -341,13 +341,14 @@ BFileGameSound::SetPaused(bool isPaused, bigtime_t rampTime)
|
||||
|
||||
if (rampTime > 100000) {
|
||||
// Setup for ramping
|
||||
if (isPaused)
|
||||
if (isPaused) {
|
||||
fPausing = InitRamp(&fPauseGain, 0.0,
|
||||
Format().frame_rate, rampTime);
|
||||
else
|
||||
} else {
|
||||
fPausing = InitRamp(&fPauseGain, 1.0,
|
||||
Format().frame_rate, rampTime);
|
||||
}
|
||||
}
|
||||
|
||||
fPaused = isPaused;
|
||||
Unlock();
|
||||
|
||||
Reference in New Issue
Block a user