mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user