Change audio_set_cuesheet parameter from int to bool (fixes cppcheck warning)
Change-Id: Icb31c8bd8605aca27765a94b609c41f1f706426f
This commit is contained in:
parent
d504a6b220
commit
0de2a85ae1
2 changed files with 2 additions and 2 deletions
|
@ -3821,7 +3821,7 @@ long audio_filebufused(void)
|
|||
|
||||
/* Enable or disable cuesheet support and allocate/don't allocate the
|
||||
extra associated resources */
|
||||
void audio_set_cuesheet(int enable)
|
||||
void audio_set_cuesheet(bool enable)
|
||||
{
|
||||
if (play_status == PLAY_STOPPED || !enable != !get_current_cuesheet())
|
||||
{
|
||||
|
|
|
@ -75,7 +75,7 @@ long audio_filebufused(void);
|
|||
void audio_pre_ff_rewind(void);
|
||||
void audio_skip(int direction);
|
||||
|
||||
void audio_set_cuesheet(int enable);
|
||||
void audio_set_cuesheet(bool enable);
|
||||
#ifdef HAVE_CROSSFADE
|
||||
void audio_set_crossfade(int enable);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue