2014-10-09 Fred Gleason <fredg@paravelsystems.com>

* Implemented the 'RDXPORT_COMMAND_AUDIOSTORE' web API call in
	'web/rdxport/audiostore.cpp', 'web/rdxport/rdxport.cpp' and
	'web/rdxport/rdxport.h'.
	* Added an 'RDAudioStore' class in 'lib/rdaudiostore.cpp' and
	'lib/rdaudiostore.h'.
	* Modified the Desk Gauge widget in 'rdlibrary/disk_gauge.cpp'
	and 'rdlibrary/disk_gauge.h' to use the 'RDAudioStore' class
	[fixes GitHub issue #000035].
This commit is contained in:
Fred Gleason
2014-10-09 19:13:29 -04:00
parent 2982ee9b38
commit 5935d19ca6
14 changed files with 393 additions and 22 deletions

View File

@@ -25,6 +25,7 @@
#include <qwidget.h>
#include <qlabel.h>
#include <qtimer.h>
#include <qprogressbar.h>
#define DISK_GAUGE_UPDATE_INTERVAL 60000
@@ -44,12 +45,12 @@ class DiskGauge : public QWidget
void resizeEvent(QResizeEvent *e);
private:
int GetMinutes(long blocks,long block_size);
QLabel *disk_label;
QProgressBar *disk_bar;
QLabel *disk_space_label;
double disk_sample_rate;
double disk_channels;
QTimer *disk_timer;
};