mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
update openal
This commit is contained in:
parent
62f3b93ff9
commit
6721a6b021
287 changed files with 33851 additions and 27325 deletions
|
|
@ -12,9 +12,10 @@ if(Qt5Widgets_FOUND)
|
|||
verstr.cpp
|
||||
verstr.h
|
||||
${UIS} ${RSCS} ${TRS} ${MOCS})
|
||||
target_link_libraries(alsoft-config Qt5::Widgets)
|
||||
target_link_libraries(alsoft-config PUBLIC Qt5::Widgets PRIVATE alcommon)
|
||||
target_include_directories(alsoft-config PRIVATE "${alsoft-config_BINARY_DIR}"
|
||||
"${OpenAL_BINARY_DIR}")
|
||||
target_compile_definitions(alsoft-config PRIVATE QT_NO_KEYWORDS)
|
||||
set_target_properties(alsoft-config PROPERTIES ${DEFAULT_TARGET_PROPS}
|
||||
RUNTIME_OUTPUT_DIRECTORY ${OpenAL_BINARY_DIR})
|
||||
if(TARGET build_version)
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef MAINWINDOW_H
|
||||
#define MAINWINDOW_H
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QListWidget>
|
||||
|
||||
|
|
@ -8,15 +10,10 @@ namespace Ui {
|
|||
class MainWindow;
|
||||
}
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
class MainWindow : public QMainWindow {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit MainWindow(QWidget *parent = 0);
|
||||
~MainWindow();
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void cancelCloseAction();
|
||||
|
||||
void saveCurrentConfig();
|
||||
|
|
@ -32,7 +29,7 @@ private slots:
|
|||
|
||||
void updatePeriodSizeEdit(int size);
|
||||
void updatePeriodSizeSlider();
|
||||
void updatePeriodCountEdit(int size);
|
||||
void updatePeriodCountEdit(int count);
|
||||
void updatePeriodCountSlider();
|
||||
|
||||
void selectQuadDecoderFile();
|
||||
|
|
@ -60,22 +57,26 @@ private slots:
|
|||
|
||||
void selectWaveOutput();
|
||||
|
||||
public:
|
||||
explicit MainWindow(QWidget *parent=nullptr);
|
||||
~MainWindow() override;
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
std::unique_ptr<QValidator> mPeriodSizeValidator;
|
||||
std::unique_ptr<QValidator> mPeriodCountValidator;
|
||||
std::unique_ptr<QValidator> mSourceCountValidator;
|
||||
std::unique_ptr<QValidator> mEffectSlotValidator;
|
||||
std::unique_ptr<QValidator> mSourceSendValidator;
|
||||
std::unique_ptr<QValidator> mSampleRateValidator;
|
||||
std::unique_ptr<QValidator> mJackBufferValidator;
|
||||
|
||||
QValidator *mPeriodSizeValidator;
|
||||
QValidator *mPeriodCountValidator;
|
||||
QValidator *mSourceCountValidator;
|
||||
QValidator *mEffectSlotValidator;
|
||||
QValidator *mSourceSendValidator;
|
||||
QValidator *mSampleRateValidator;
|
||||
QValidator *mJackBufferValidator;
|
||||
std::unique_ptr<Ui::MainWindow> ui;
|
||||
|
||||
bool mNeedsSave;
|
||||
bool mNeedsSave{};
|
||||
|
||||
void closeEvent(QCloseEvent *event);
|
||||
void closeEvent(QCloseEvent *event) override;
|
||||
|
||||
void selectDecoderFile(QLineEdit *line, const char *name);
|
||||
void selectDecoderFile(QLineEdit *line, const char *caption);
|
||||
|
||||
QStringList collectHrtfs();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue