Fix warnings and errors introduced in b030bf5

Change-Id: I23966b6a79c0d2cbab2e01c649c1b991f460d8ad
This commit is contained in:
Solomon Peachy 2020-10-01 16:08:20 -04:00
parent b030bf5885
commit a96eb1a7f7
3 changed files with 10 additions and 0 deletions

View file

@ -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)