mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
Fix some Coverity warnings
This commit is contained in:
parent
449a33cf17
commit
2aa095aa4b
@ -479,6 +479,7 @@ static bool audio_mixer_play_mod(
|
|||||||
data.buffer = (char*)sound->types.mod.data;
|
data.buffer = (char*)sound->types.mod.data;
|
||||||
data.length = sound->types.mod.size;
|
data.length = sound->types.mod.size;
|
||||||
module = module_load(&data, message);
|
module = module_load(&data, message);
|
||||||
|
|
||||||
if (!module)
|
if (!module)
|
||||||
{
|
{
|
||||||
printf("audio_mixer_play_mod module_load() failed with error: %s\n", message);
|
printf("audio_mixer_play_mod module_load() failed with error: %s\n", message);
|
||||||
@ -824,6 +825,7 @@ void audio_mixer_mix(float* buffer, size_t num_frames, float volume_override, bo
|
|||||||
#ifdef HAVE_STB_VORBIS
|
#ifdef HAVE_STB_VORBIS
|
||||||
audio_mixer_mix_ogg(buffer, num_frames, voice, volume);
|
audio_mixer_mix_ogg(buffer, num_frames, voice, volume);
|
||||||
#endif
|
#endif
|
||||||
|
break;
|
||||||
case AUDIO_MIXER_TYPE_MOD:
|
case AUDIO_MIXER_TYPE_MOD:
|
||||||
#ifdef HAVE_IBXM
|
#ifdef HAVE_IBXM
|
||||||
audio_mixer_mix_mod(buffer, num_frames, voice, volume);
|
audio_mixer_mix_mod(buffer, num_frames, voice, volume);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user