2017-06-26 Fred Gleason <fredg@paravelsystems.com>

* Added a '<fadedownGain>' parameter to the return of the 'ListLog'
	web API call.
	* Added 'FADEUP_GAIN' and 'FADEDOWN_GAIN' parameters to the 'SaveLog'
	web API call.
This commit is contained in:
Fred Gleason 2017-06-26 09:02:03 -04:00
parent 1cf0e3dee1
commit 352604b59f
4 changed files with 38 additions and 0 deletions

View File

@ -15856,3 +15856,8 @@
under Windows.
2017-06-21 Fred Gleason <fredg@paravelsystems.com>
* Incremented the package version to 2.16.0int02.
2017-06-26 Fred Gleason <fredg@paravelsystems.com>
* Added a '<fadedownGain>' parameter to the return of the 'ListLog'
web API call.
* Added 'FADEUP_GAIN' and 'FADEDOWN_GAIN' parameters to the 'SaveLog'
web API call.

View File

@ -3114,6 +3114,17 @@
Mandatory. Positive integer, or -1 if not defined.
</entry>
</row>
<row>
<entry>
LINE<replaceable>num</replaceable>_FADEUP_GAIN
</entry>
<entry>
Gain for FadeUp events.
</entry>
<entry>
Mandatory. 1/100 dBFS.
</entry>
</row>
<row>
<entry>
LINE<replaceable>num</replaceable>_FADEDOWN_POINT
@ -3125,6 +3136,17 @@
Mandatory. Positive integer, or -1 if not defined.
</entry>
</row>
<row>
<entry>
LINE<replaceable>num</replaceable>_FADEDOWN_GAIN
</entry>
<entry>
Gain for FadeDown events.
</entry>
<entry>
Mandatory. 1/100 dBFS.
</entry>
</row>
<row>
<entry>
LINE<replaceable>num</replaceable>_DUCK_UP_GAIN

View File

@ -2012,6 +2012,7 @@ QString RDLogLine::xml(int line) const
fadedownPoint(RDLogLine::CartPointer),"src=\"cart\"");
ret+=" "+RDXmlField("fadedownPoint",
fadedownPoint(RDLogLine::LogPointer),"src=\"log\"");
ret+=" "+RDXmlField("fadedownGain",fadedownGain());
ret+=" "+RDXmlField("duckUpGain",duckUpGain());
ret+=" "+RDXmlField("duckDownGain",duckDownGain());
ret+=" "+RDXmlField("talkStartPoint",talkStartPoint());

View File

@ -344,11 +344,21 @@ void Xport::SaveLog()
}
ll->setFadeupPoint(integer1,RDLogLine::LogPointer);
if(!xport_post->getValue(line+"_FADEUP_GAIN",&integer1)) {
XmlExit("Missing "+line+"_FADEUP_GAIN",400,"logs.cpp",LINE_NUMBER);
}
ll->setFadeupGain(integer1);
if(!xport_post->getValue(line+"_FADEDOWN_POINT",&integer1)) {
XmlExit("Missing "+line+"_FADEDOWN_POINT",400,"logs.cpp",LINE_NUMBER);
}
ll->setFadedownPoint(integer1,RDLogLine::LogPointer);
if(!xport_post->getValue(line+"_FADEDOWN_GAIN",&integer1)) {
XmlExit("Missing "+line+"_FADEDOWN_GAIN",400,"logs.cpp",LINE_NUMBER);
}
ll->setFadedownGain(integer1);
if(!xport_post->getValue(line+"_DUCK_UP_GAIN",&integer1)) {
XmlExit("Missing "+line+"_DUCK_UP_GAIN",400,"logs.cpp",LINE_NUMBER);
}