mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-29 07:22:05 +00:00
- Fixed: Trying to init FMOD with profiling enabled when the network socket was in use would fail.
We now fallback to no profiling when this happens. SVN r3468 (trunk)
This commit is contained in:
parent
dd21e7d2b8
commit
bff5a9b8d8
1 changed files with 6 additions and 0 deletions
|
@ -979,6 +979,12 @@ bool FMODSoundRenderer::Init()
|
|||
continue;
|
||||
}
|
||||
}
|
||||
else if (result == FMOD_ERR_NET_SOCKET_ERROR && (initflags & FMOD_INIT_ENABLE_PROFILE))
|
||||
{
|
||||
Printf(TEXTCOLOR_RED" Could not create socket. Retrying without profiling.\n");
|
||||
initflags &= ~FMOD_INIT_ENABLE_PROFILE;
|
||||
continue;
|
||||
}
|
||||
#ifdef _WIN32
|
||||
else if (result == FMOD_ERR_OUTPUT_INIT)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue