indicador de volumen con dos decimales

This commit is contained in:
snt 2024-04-24 20:23:20 +02:00
parent 32a1e5cb0c
commit 3613d8fa51
12 changed files with 53 additions and 187 deletions

View file

@ -9,23 +9,8 @@
#define COPYRIGHT "(C) 2014-2024 Santi Norena lms@criptomart.net"
#define LICENSE "GPL 3 License. See LICENSE.txt and credits.txt for details"
#define DEFAULT_FILE "lms-audio.xlm"
#define SUSPEND_LABEL "Pause"
#define RESUME_LABEL "Resume"
#define PLAY_LABEL "Play"
#define STOP_LABEL "Stop"
#define PAUSE_LABEL "Pause"
#define IDDLE_LABEL "Iddle playback"
#define VOLUME_LABEL "Vol"
#define PROGRESS_LABEL "Progress"
#define PROGRESS_TIME_LABEL "Current"
#define REMAINING_TIME "Remaining"
#define TOTAL_TIME_LABEL "Total"
#define NOTIFY_INTERVAL 150
#define PULL_TIMER_INTERVAL 10
#define MAX_DEVICES 16
#define MAX_SOUNDS 4096
#define MAX_LAYERS 16
#define UI_REFRESH_TIME 100
#define UI_REFRESH_TIME 200
// struct where save the DMX settings for each layer
struct dmxSetting {
@ -63,7 +48,8 @@ static const char* StatusStr[] =
"Stop",
"Pause",
"Playing One",
"Playing Loop",
"Playing Loop",
NULL
};
enum Slider