Fix warnings and errors introduced in b030bf5
Change-Id: I23966b6a79c0d2cbab2e01c649c1b991f460d8ad
This commit is contained in:
parent
b030bf5885
commit
a96eb1a7f7
|
@ -534,7 +534,9 @@ static void lo_unplug_change(bool inserted)
|
|||
#ifdef HAVE_LINEOUT_POWEROFF
|
||||
lineout_set(inserted);
|
||||
#else
|
||||
#ifdef AUDIOHW_HAVE_LINEOUT
|
||||
audiohw_set_lineout_volume(0,0); /*hp vol re-set by this function as well*/
|
||||
#endif
|
||||
static bool lineout_caused_pause = true;
|
||||
|
||||
if (global_settings.unplug_mode)
|
||||
|
|
|
@ -66,6 +66,13 @@ void audiohw_set_volume(int vol_l, int vol_r)
|
|||
}
|
||||
#endif /* AUDIOHW_HAVE_MONO_VOLUME */
|
||||
|
||||
#ifdef AUDIOHW_HAVE_LINEOUT
|
||||
void audiohw_set_lineout_volume(int vol_l, int vol_r)
|
||||
{
|
||||
(void)vol_l; (void)vol_r;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(AUDIOHW_HAVE_PRESCALER)
|
||||
void audiohw_set_prescaler(int value)
|
||||
{
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
#include "kernel.h"
|
||||
#include "backlight.h"
|
||||
#include "backlight-target.h"
|
||||
#include "xduoolinux_codec.h"
|
||||
|
||||
static bool soft_hold = false;
|
||||
#ifndef BOOTLOADER
|
||||
|
|
Loading…
Reference in New Issue