mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-12 15:52:29 +02:00
2019-05-14 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the Webget service that caused audio to be generated with a normalization level of -100 dBFS. * Fixed a bug in the Webget service that caused all audio to be generated as monoaural.
This commit is contained in:
parent
e9a0d3c16a
commit
1159caad4a
@ -18660,3 +18660,8 @@
|
||||
2019-05-13 Patrick Linstruth <patrick@deltecent.com>
|
||||
* Fixed regression in rdlibrary(1) display when
|
||||
realtime filtering is disabled.
|
||||
2019-05-14 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in the Webget service that caused audio to be
|
||||
generated with a normalization level of -100 dBFS.
|
||||
* Fixed a bug in the Webget service that caused all audio to
|
||||
be generated as monoaural.
|
||||
|
@ -134,6 +134,11 @@ void MainObject::ripcConnectedData(bool state)
|
||||
XmlExit("missing \"title\"",400,"webget.cpp",LINE_NUMBER);
|
||||
}
|
||||
|
||||
int channels;
|
||||
if(!webget_post->getValue("channels",&channels)) {
|
||||
XmlExit("missing \"channels\"",400,"webget.cpp",LINE_NUMBER);
|
||||
}
|
||||
|
||||
int samprate;
|
||||
if(!webget_post->getValue("samprate",&samprate)) {
|
||||
XmlExit("missing \"samprate\"",400,"webget.cpp",LINE_NUMBER);
|
||||
@ -184,11 +189,11 @@ void MainObject::ripcConnectedData(bool state)
|
||||
//
|
||||
RDSettings *settings=new RDSettings();
|
||||
settings->setFormat((RDSettings::Format)format);
|
||||
settings->setChannels(1);
|
||||
settings->setChannels(channels);
|
||||
settings->setSampleRate(samprate);
|
||||
settings->setBitRate(bitrate);
|
||||
settings->setQuality(quality);
|
||||
settings->setNormalizationLevel(-100);
|
||||
settings->setNormalizationLevel(-1);
|
||||
|
||||
//
|
||||
// Generate Metadata
|
||||
|
Loading…
x
Reference in New Issue
Block a user