mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
armbox: show grafical volume in vfd
This commit is contained in:
@@ -429,6 +429,10 @@ void CLCD::showVolume(const char vol, const bool update)
|
|||||||
SetIcons(SPARK_MUTE, 0);
|
SetIcons(SPARK_MUTE, 0);
|
||||||
sprintf(s, vol_fmt[type], volume);
|
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);
|
display(s);
|
||||||
vol_active = true;
|
vol_active = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user