WIP miniaudio working, some sigsev while playing...

This commit is contained in:
snt 2024-04-20 20:19:16 +02:00
parent 78695b7976
commit 7aea8f6cf1
23 changed files with 469 additions and 299 deletions

View file

@ -1,7 +1,7 @@
#ifndef DEFINES_H
#define DEFINES_H
#define VERSION "LibreMediaServer-Audio 0.1.3"
#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"
@ -9,11 +9,6 @@
#define DEFAULT_FILE "lms-audio.xlm"
const int DurationSeconds = 1;
const int ToneSampleRateHz = 600;
const int DataSampleRateHz = 44100;
const int BufferSize = 262144;
#define SUSPEND_LABEL "Pause playback"
#define RESUME_LABEL "Resume playback"
@ -33,6 +28,8 @@ const int BufferSize = 262144;
#define NOTIFY_INTERVAL 150
#define PULL_TIMER_INTERVAL 10
#define MAX_DEVICES 16
#define MAX_SOUNDS 4096
// struct where save the DMX settings for each layer
struct dmxSetting {