funcionando con dmx, controles Ui muestran info pero no actúan sobre el

sonido.
Refactorizado todos lo métodos que interactúan con el sonido a miniaudioengine
This commit is contained in:
snt 2024-04-22 19:14:49 +02:00
parent 7aea8f6cf1
commit 521f1fc6d7
12 changed files with 516 additions and 501 deletions

View file

@ -1,40 +1,40 @@
#ifndef DEFINES_H
#define DEFINES_H
#include <QString>
#include <QList>
#include <QtGlobal>
#define VERSION "LibreMediaServer-Audio 0.1.4"
#define COPYRIGHT "(C) 2014-2024 Santi Norena lms@criptomart.net"
#define LICENSE "GPL 3 License. See LICENSE.txt and credits.txt for details"
#define LAYERS_NUMBER 4 // esto tiene que desaparecer
#define DEFAULT_FILE "lms-audio.xlm"
#define SUSPEND_LABEL "Pause playback"
#define RESUME_LABEL "Resume playback"
#define PLAY_LABEL "Playing"
#define STOP_LABEL "Stopped"
#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 "Volume"
#define PROGRESS_LABEL "Progress"
#define PROGRESS_TIME_LABEL "Current"
#define REMAINING_TIME "Remaining Time: "
#define REMAINING_TIME "Remaining"
#define TOTAL_TIME_LABEL "Total"
#define FILE_LABEL "File:"
#define FOLDER_LABEL "Folder:"
#define FILE_LABEL "File: "
#define FOLDER_LABEL "Folder: "
#define STATUS_LABEL "Status: "
#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
// struct where save the DMX settings for each layer
struct dmxSetting {
int address;
uint universe;
quint8 universe;
bool updated;
int layer;
};