Skip to content

Commit

Permalink
Windows|FMOD|Fixed: Build failure (duplicate variable)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jan 20, 2017
1 parent 81e43cc commit 6e38bf2
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions doomsday/apps/plugins/fmod/src/driver_fmod.cpp
Expand Up @@ -73,12 +73,14 @@ int DS_Init(void)
}

#ifdef WIN32
// Figure out the system's configured speaker mode.
FMOD_SPEAKERMODE speakerMode;
result = fmodSystem->getDriverCaps(0, 0, 0, &speakerMode);
if (result == FMOD_OK)
{
fmodSystem->setSpeakerMode(speakerMode);
// Figure out the system's configured default speaker mode.
FMOD_SPEAKERMODE speakerMode;
result = fmodSystem->getDriverCaps(0, 0, 0, &speakerMode);
if (result == FMOD_OK)
{
fmodSystem->setSpeakerMode(speakerMode);
}
}
#endif

Expand Down

0 comments on commit 6e38bf2

Please sign in to comment.