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:
Dario Casalinuovo 2017-01-29 00:38:34 +01:00
parent 92b020b5ea
commit 3190c83b33

View File

@ -100,7 +100,6 @@ MediaFilePlayer::MediaFilePlayer(const char* media_type,
if (fInitCheck != B_OK)
return;
fSoundPlayer->SetVolume(1.0f);
fSoundPlayer->SetHasData(true);
fSoundPlayer->Start();
}