mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 07:35:55 +01:00
2020-10-13 Fred Gleason <fredg@paravelsystems.com>
* Added an 'ENCODER_PRESETS' table to the database. * Incremented the database verssion to 343. * Added an 'Encoder Profiles' dialog to rdadmin(1). * Removed static content dependencies from the WebGet service. * Refactored the WebGet service to use Encoder Profiles. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -29,6 +29,8 @@ class RDSettings
|
||||
enum Format {Pcm16=0,MpegL1=1,MpegL2=2,MpegL3=3,Flac=4,OggVorbis=5,
|
||||
MpegL2Wav=6,Pcm24=7};
|
||||
RDSettings();
|
||||
QString name() const;
|
||||
void setName(const QString &str);
|
||||
RDSettings::Format format() const;
|
||||
void setFormat(Format format);
|
||||
QString formatName() const;
|
||||
@@ -48,6 +50,10 @@ class RDSettings
|
||||
int autotrimLevel() const;
|
||||
void setAutotrimLevel(int level);
|
||||
QString description();
|
||||
bool loadPreset(unsigned id);
|
||||
unsigned addPreset();
|
||||
bool savePreset(unsigned id) const;
|
||||
bool deletePreset(unsigned id) const;
|
||||
static QString pathName(const QString &stationname,QString pathname,
|
||||
RDSettings::Format fmt);
|
||||
static QString defaultExtension(RDSettings::Format fmt);
|
||||
@@ -55,9 +61,13 @@ class RDSettings
|
||||
RDSettings::Format fmt);
|
||||
static unsigned bytesPerSec(const QString &stationname,
|
||||
RDSettings::Format fmt,unsigned quality);
|
||||
QString dump() const;
|
||||
void clear();
|
||||
|
||||
private:
|
||||
QString SqlFields() const;
|
||||
QString MakeNewName() const;
|
||||
QString set_name;
|
||||
Format set_format;
|
||||
QString set_format_name;
|
||||
unsigned set_channels;
|
||||
|
||||
Reference in New Issue
Block a user