[Audio] Move settings id in to SettingsID.h

This commit is contained in:
zilmar 2017-09-12 08:37:32 +10:00
parent 26e4d0a6e1
commit 138cb762cd
9 changed files with 106 additions and 86 deletions

View File

@ -15,7 +15,7 @@ LOCAL_C_INCLUDES :=
LOCAL_SRC_FILES := \
$(SRCDIR)/AudioSettings.cpp \
$(SRCDIR)/Main.cpp \
$(SRCDIR)/AudioMain.cpp \
$(SRCDIR)/trace.cpp \
LOCAL_CFLAGS := $(COMMON_CFLAGS)

View File

@ -24,6 +24,7 @@
#include "AudioSettings.h"
#include "trace.h"
#include "AudioMain.h"
#include "SettingsID.h"
#ifdef ANDROID
typedef struct threadLock_

View File

@ -8,6 +8,7 @@
* GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html *
* *
****************************************************************************/
#include "SettingsID.h"
#include "AudioSettings.h"
#include "trace.h"
#include "AudioMain.h"

View File

@ -11,15 +11,4 @@
#pragma once
#include <Settings/Settings.h>
enum AudioSettingID
{
Output_SwapChannels,
Output_DefaultFrequency,
Buffer_PrimarySize,
Buffer_SecondarySize,
Buffer_SecondaryNbr,
Logging_LogAudioInitShutdown,
Logging_LogAudioInterface,
};
void SetupAudioSettings(void);

View File

@ -44,6 +44,7 @@
<ClInclude Include="AudioMain.h" />
<ClInclude Include="Audio_1.1.h" />
<ClInclude Include="AudioSettings.h" />
<ClInclude Include="SettingsID.h" />
<ClInclude Include="trace.h" />
<ClInclude Include="Version.h" />
</ItemGroup>

View File

@ -41,5 +41,8 @@
<ClInclude Include="AudioMain.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="SettingsID.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>

View File

@ -0,0 +1,23 @@
/****************************************************************************
* *
* Project64-audio - A Nintendo 64 audio plugin. *
* http://www.pj64-emu.com/ *
* Copyright (C) 2017 Project64. All rights reserved. *
* *
* License: *
* GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html *
* *
****************************************************************************/
#pragma once
#include <Settings/Settings.h>
enum
{
Logging_LogAudioInitShutdown,
Logging_LogAudioInterface,
Output_SwapChannels,
Output_DefaultFrequency,
Buffer_PrimarySize,
Buffer_SecondarySize,
Buffer_SecondaryNbr,
};

View File

@ -12,6 +12,7 @@
#include <Settings/Settings.h>
#include <Common/path.h>
#include <Common/LogClass.h>
#include "AudioSettings.h"
#ifdef ANDROID
#include <android/log.h>

View File

@ -21,3 +21,4 @@ enum TraceModuleAndroidAudio
};
void SetupTrace(void);
void StartTrace(void);