Qt5 upgrade and new audio engine based in QtMultimedia.
New GUI.
This commit is contained in:
parent
6e268323d2
commit
cccd987bdd
23 changed files with 724 additions and 983 deletions
|
|
@ -1,8 +1,57 @@
|
|||
#ifndef DEFINES_H
|
||||
#define DEFINES_H
|
||||
|
||||
|
||||
#define VERSION "LibreMediaServer-Audio 0.1.0"
|
||||
#define COPYRIGHT "(C) 2014 Santi Norena libremediaserver@gmail.com"
|
||||
#define LICENSE "GPL 3 License. See LICENSE.txt and credits.txt for details"
|
||||
|
||||
#define LAYERS_NUMBER 4
|
||||
|
||||
#define DEFAULT_FILE "lms-audio.xlm"
|
||||
|
||||
const int DurationSeconds = 1;
|
||||
const int ToneSampleRateHz = 600;
|
||||
const int DataSampleRateHz = 44100;
|
||||
const int BufferSize = 32768;
|
||||
|
||||
#define SUSPEND_LABEL "Suspend playback"
|
||||
#define RESUME_LABEL "Resume playback"
|
||||
#define PLAY_LABEL "Playing"
|
||||
#define STOP_LABEL "Stopped"
|
||||
#define PAUSE_LABEL "Pause"
|
||||
#define IDDLE_LABEL "Iddle playback"
|
||||
#define VOLUME_LABEL "Volume:"
|
||||
#define PROGRESS_LABEL "Progress: "
|
||||
#define PROGRESS_TIME_LABEL "Current Time: "
|
||||
#define REMAINING_TIME "Remaining Time: "
|
||||
#define TOTAL_TIME_LABEL "Track Time: "
|
||||
#define FILE_LABEL "File: "
|
||||
#define FOLDER_LABEL "Folder: "
|
||||
#define STATUS_LABEL "Status: "
|
||||
|
||||
// struct where save the DMX settings for each layer
|
||||
struct dmxSetting {
|
||||
int address;
|
||||
uint universe;
|
||||
bool updated;
|
||||
int layer;
|
||||
};
|
||||
|
||||
// Media Information for MELIn packages. v1.0
|
||||
struct MediaFile {
|
||||
quint8 Number; // 0-based contiguous index of the media.
|
||||
QString MediaName;// Media name.
|
||||
quint32 MediaLength;// Media length (in frames).
|
||||
};
|
||||
|
||||
// Media Library for ELin packages v1.0
|
||||
struct MediaFolder {
|
||||
quint8 m_Id; // Library id.
|
||||
QString m_Name;// Library name.
|
||||
quint8 m_ElementCount;// Number of elements in the library.
|
||||
QList<MediaFile> m_MediaInformation; // Pointer to the Medias Information List of this Library
|
||||
};
|
||||
|
||||
#endif // DEFINES_H
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue