mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
simple_display.cpp: show mute at mute, not volumebar
This commit is contained in:
@@ -421,11 +421,12 @@ void CLCD::showVolume(const char vol, const bool update)
|
|||||||
if (g_info.hw_caps->display_type == HW_DISPLAY_LINE_TEXT)
|
if (g_info.hw_caps->display_type == HW_DISPLAY_LINE_TEXT)
|
||||||
SetIcons(SPARK_MUTE, 0);
|
SetIcons(SPARK_MUTE, 0);
|
||||||
sprintf(s, vol_fmt[type], volume);
|
sprintf(s, vol_fmt[type], volume);
|
||||||
}
|
|
||||||
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
|
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
|
||||||
if (g_info.hw_caps->display_type == HW_DISPLAY_LINE_TEXT)
|
if (g_info.hw_caps->display_type == HW_DISPLAY_LINE_TEXT)
|
||||||
sprintf(s,"%.*s", volume*g_info.hw_caps->display_xres/100, "================");
|
sprintf(s,"%.*s", volume*g_info.hw_caps->display_xres/100, "================");
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
ShowText(s);
|
ShowText(s);
|
||||||
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
|
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
|
||||||
wake_up();
|
wake_up();
|
||||||
|
Reference in New Issue
Block a user