media_addon_server: Don't set the gain at each start
* Fixes the forgotten gain setting issue for startup sounds.
This commit is contained in:
@@ -100,7 +100,6 @@ MediaFilePlayer::MediaFilePlayer(const char* media_type,
|
|||||||
if (fInitCheck != B_OK)
|
if (fInitCheck != B_OK)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
fSoundPlayer->SetVolume(1.0f);
|
|
||||||
fSoundPlayer->SetHasData(true);
|
fSoundPlayer->SetHasData(true);
|
||||||
fSoundPlayer->Start();
|
fSoundPlayer->Start();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user