various: moved more to core lib

This commit is contained in:
itsmattkc
2023-01-19 16:01:31 -08:00
parent dd9c52ab59
commit c1c6893713
92 changed files with 448 additions and 1558 deletions
@@ -21,12 +21,15 @@
#ifndef SAMPLERATECOMBOBOX_H
#define SAMPLERATECOMBOBOX_H
#include <olive/core/core.h>
#include <QComboBox>
#include "render/audioparams.h"
#include "ui/humanstrings.h"
namespace olive {
using namespace core;
class SampleRateComboBox : public QComboBox
{
Q_OBJECT
@@ -35,7 +38,7 @@ public:
QComboBox(parent)
{
foreach (int sr, AudioParams::kSupportedSampleRates) {
this->addItem(AudioParams::SampleRateToString(sr), sr);
this->addItem(HumanStrings::SampleRateToString(sr), sr);
}
}