mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 08:40:12 +01:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <qsqldatabase.h>
|
||||
#include <qtimer.h>
|
||||
|
||||
#include <rdcae.h>
|
||||
#include <rdsettings.h>
|
||||
|
||||
class RDDeck
|
||||
@@ -44,8 +45,8 @@ class RDDeck
|
||||
void setMonitorPortNumber(int port) const;
|
||||
bool defaultMonitorOn() const;
|
||||
void setDefaultMonitorOn(bool state) const;
|
||||
RDSettings::Format defaultFormat() const;
|
||||
void setDefaultFormat(RDSettings::Format format) const;
|
||||
RDCae::AudioCoding defaultFormat() const;
|
||||
void setDefaultFormat(RDCae::AudioCoding coding) const;
|
||||
int defaultChannels() const;
|
||||
void setDefaultChannels(int chan) const;
|
||||
int defaultBitrate() const;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// Edit Audio Export Settings
|
||||
//
|
||||
// (C) Copyright 2002-2021\2 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2002-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
|
||||
Reference in New Issue
Block a user