2022-04-21 Fred Gleason <fredg@paravelsystems.com>

* Fixed bug in the RDCatch subsystem that caused audio format
	parameters to be confounded between uploaded and audio store
	files.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-04-21 13:19:24 -04:00
parent 1b0d3dc9fd
commit d44e932fe3
12 changed files with 80 additions and 96 deletions

View File

@@ -145,15 +145,15 @@ void RDDeck::setDefaultMonitorOn(bool state) const
}
RDSettings::Format RDDeck::defaultFormat() const
RDCae::AudioCoding RDDeck::defaultFormat() const
{
return (RDSettings::Format)GetIntValue("DEFAULT_FORMAT");
return (RDCae::AudioCoding)GetIntValue("DEFAULT_FORMAT");
}
void RDDeck::setDefaultFormat(RDSettings::Format format) const
void RDDeck::setDefaultFormat(RDCae::AudioCoding coding) const
{
SetRow("DEFAULT_FORMAT",(int)format);
SetRow("DEFAULT_FORMAT",(int)coding);
}