armbox: show grafical volume in vfd

Origin commit data
------------------
Branch: ni/coolstream
Commit: 3b5f5f3bfd
Author: TangoCash <eric@loxat.de>
Date: 2017-10-12 (Thu, 12 Oct 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2017-10-12 00:36:45 +02:00
committed by Thilo Graf
parent dbdda204cc
commit 2ae9fb4a66

View File

@@ -429,6 +429,10 @@ void CLCD::showVolume(const char vol, const bool update)
SetIcons(SPARK_MUTE, 0);
sprintf(s, vol_fmt[type], volume);
}
#if HAVE_ARM_HARDWARE
if (g_info.hw_caps->display_type == HW_DISPLAY_LINE_TEXT)
sprintf(s,"%.*s", volume*g_info.hw_caps->display_xres/100, "================");
#endif
display(s);
vol_active = true;
}