Small style fixes

Change-Id: I1db785122efe70e416b4073c06148c856c5a5e8d
This commit is contained in:
JackBurton79
2018-08-23 13:55:09 +02:00
parent 9923dd5ce5
commit 6ec69f4426
+9 -8
View File
@@ -25,10 +25,10 @@
const int32 kPages = 20;
struct _gs_media_tracker
{
BMediaFile* file;
BMediaTrack* stream;
int64 frames;
size_t position;
BMediaFile* file;
BMediaTrack* stream;
int64 frames;
size_t position;
};
@@ -341,12 +341,13 @@ 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
Format().frame_rate, rampTime);
} else {
fPausing = InitRamp(&fPauseGain, 1.0,
Format().frame_rate, rampTime);
Format().frame_rate, rampTime);
}
}
fPaused = isPaused;