mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Fix the warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10889 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cf5f256a93
commit
d770cfa65f
2 changed files with 7 additions and 1 deletions
|
@ -1006,7 +1006,9 @@ static bool eq_hw_set_band4_gain(void)
|
||||||
|
|
||||||
void eq_hw_enable(bool enable)
|
void eq_hw_enable(bool enable)
|
||||||
{
|
{
|
||||||
#ifndef SIMULATOR
|
#ifdef SIMULATOR
|
||||||
|
(void) enable;
|
||||||
|
#else
|
||||||
if (enable) {
|
if (enable) {
|
||||||
wmcodec_set_equalizer_band(0, global_settings.eq_hw_band0_cutoff,
|
wmcodec_set_equalizer_band(0, global_settings.eq_hw_band0_cutoff,
|
||||||
0, global_settings.eq_hw_band0_gain);
|
0, global_settings.eq_hw_band0_gain);
|
||||||
|
|
|
@ -92,6 +92,10 @@ const char rec_base_directory[] = REC_BASE_DIR;
|
||||||
#include "dsp.h"
|
#include "dsp.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_WM8758
|
||||||
|
#include "eq_menu.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define CONFIG_BLOCK_VERSION 52
|
#define CONFIG_BLOCK_VERSION 52
|
||||||
#define CONFIG_BLOCK_SIZE 512
|
#define CONFIG_BLOCK_SIZE 512
|
||||||
#define RTC_BLOCK_SIZE 44
|
#define RTC_BLOCK_SIZE 44
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue