mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Remove my AllocConsole
This commit is contained in:
parent
e155cf5979
commit
358a93427d
|
|
@ -188,9 +188,6 @@ void SoundEngine::init(Options* pOptions)
|
||||||
|
|
||||||
app.DebugPrintf("---miniaudio initialized\n");
|
app.DebugPrintf("---miniaudio initialized\n");
|
||||||
|
|
||||||
AllocConsole();
|
|
||||||
freopen("CONOUT$", "w", stdout);
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -268,7 +265,6 @@ void SoundEngine::updateMiniAudio()
|
||||||
finalVolume = 1.0f;
|
finalVolume = 1.0f;
|
||||||
|
|
||||||
ma_sound_set_volume(&s->sound, finalVolume);
|
ma_sound_set_volume(&s->sound, finalVolume);
|
||||||
printf("Sound volume set to %f\n", finalVolume);
|
|
||||||
|
|
||||||
if (!s->info.bUseSoundsPitchVal)
|
if (!s->info.bUseSoundsPitchVal)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue