mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
Fixed 'unreferenced local variable' warnings when building with FMOD Studio API
This commit is contained in:
parent
764705a8e0
commit
c88eec3d73
1 changed files with 3 additions and 3 deletions
|
@ -1371,11 +1371,8 @@ void FMODSoundRenderer::PrintStatus()
|
||||||
{
|
{
|
||||||
FMOD_OUTPUTTYPE output;
|
FMOD_OUTPUTTYPE output;
|
||||||
FMOD_SPEAKERMODE speakermode;
|
FMOD_SPEAKERMODE speakermode;
|
||||||
FMOD_SOUND_FORMAT format;
|
|
||||||
FMOD_DSP_RESAMPLER resampler;
|
|
||||||
int driver;
|
int driver;
|
||||||
int samplerate;
|
int samplerate;
|
||||||
int numoutputchannels;
|
|
||||||
unsigned int bufferlength;
|
unsigned int bufferlength;
|
||||||
int numbuffers;
|
int numbuffers;
|
||||||
|
|
||||||
|
@ -1414,6 +1411,9 @@ void FMODSoundRenderer::PrintStatus()
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#if !FMOD_STUDIO
|
#if !FMOD_STUDIO
|
||||||
|
FMOD_SOUND_FORMAT format;
|
||||||
|
FMOD_DSP_RESAMPLER resampler;
|
||||||
|
int numoutputchannels;
|
||||||
if (FMOD_OK == Sys->getSoftwareFormat(&samplerate, &format, &numoutputchannels, NULL, &resampler, NULL))
|
if (FMOD_OK == Sys->getSoftwareFormat(&samplerate, &format, &numoutputchannels, NULL, &resampler, NULL))
|
||||||
{
|
{
|
||||||
Printf (TEXTCOLOR_LIGHTBLUE "Software mixer sample rate: " TEXTCOLOR_GREEN "%d\n", samplerate);
|
Printf (TEXTCOLOR_LIGHTBLUE "Software mixer sample rate: " TEXTCOLOR_GREEN "%d\n", samplerate);
|
||||||
|
|
Loading…
Reference in a new issue