mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 15:01:40 +00:00
fix return val of fluid_file_set_encoding_quality()
This commit is contained in:
parent
9ba8136ce0
commit
e866bc98e0
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,7 @@ int
|
|||
fluid_file_set_encoding_quality(fluid_file_renderer_t* r, double q)
|
||||
{
|
||||
#if LIBSNDFILE_SUPPORT
|
||||
if (sf_command (r->sndfile, SFC_SET_VBR_ENCODING_QUALITY, &q, sizeof (double)) == 0)
|
||||
if (sf_command (r->sndfile, SFC_SET_VBR_ENCODING_QUALITY, &q, sizeof (double)) == SF_TRUE)
|
||||
return FLUID_OK;
|
||||
else
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue