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
+27
View File
@@ -0,0 +1,27 @@
#ifndef HUMANSTRINGS_H
#define HUMANSTRINGS_H
#include <olive/core/core.h>
#include <QObject>
namespace olive {
using namespace core;
class HumanStrings : public QObject
{
Q_OBJECT
public:
HumanStrings() = default;
static QString SampleRateToString(const int &sample_rate);
static QString ChannelLayoutToString(const uint64_t &layout);
static QString FormatToString(const SampleFormat &f);
};
}
#endif // HUMANSTRINGS_H