diff --git a/nx/include/switch/services/audctl.h b/nx/include/switch/services/audctl.h index 9995b7a7..f5911a97 100644 --- a/nx/include/switch/services/audctl.h +++ b/nx/include/switch/services/audctl.h @@ -26,9 +26,9 @@ typedef enum { } AudioForceMutePolicy; typedef enum { - HeadphoneOutputLevelMode_Normal = 0, - HeadphoneOutputLevelMode_HighPower = 1, -} HeadphoneOutputLevelMode; + AudioHeadphoneOutputLevelMode_Normal = 0, + AudioHeadphoneOutputLevelMode_HighPower = 1, +} AudioHeadphoneOutputLevelMode; Result audctlInitialize(void); void audctlExit(void); @@ -51,8 +51,8 @@ Result audctlGetOutputModeSetting(AudioOutputMode* mode_out, AudioTarget target) Result audctlSetOutputModeSetting(AudioTarget target, AudioOutputMode mode); Result audctlSetOutputTarget(AudioTarget target); Result audctlSetInputTargetForceEnabled(bool enable); -Result audctlSetHeadphoneOutputLevelMode(HeadphoneOutputLevelMode mode); -Result audctlGetHeadphoneOutputLevelMode(HeadphoneOutputLevelMode* mode_out); +Result audctlSetHeadphoneOutputLevelMode(AudioHeadphoneOutputLevelMode mode); +Result audctlGetHeadphoneOutputLevelMode(AudioHeadphoneOutputLevelMode* mode_out); Result audctlAcquireAudioVolumeUpdateEventForPlayReport(Event* event_out); Result audctlAcquireAudioOutputDeviceUpdateEventForPlayReport(Event* event_out); Result audctlGetAudioOutputTargetForPlayReport(AudioTarget* target_out); diff --git a/nx/source/services/audctl.c b/nx/source/services/audctl.c index d2b8a5f1..7a1a09e8 100644 --- a/nx/source/services/audctl.c +++ b/nx/source/services/audctl.c @@ -228,7 +228,7 @@ Result audctlSetInputTargetForceEnabled(bool enable) { return serviceDispatchIn(&g_audctlSrv, 16, in); } -Result audctlSetHeadphoneOutputLevelMode(HeadphoneOutputLevelMode mode) { +Result audctlSetHeadphoneOutputLevelMode(AudioHeadphoneOutputLevelMode mode) { if (hosversionBefore(3,0,0)) return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer); @@ -239,7 +239,7 @@ Result audctlSetHeadphoneOutputLevelMode(HeadphoneOutputLevelMode mode) { return serviceDispatchIn(&g_audctlSrv, 17, in); } -Result audctlGetHeadphoneOutputLevelMode(HeadphoneOutputLevelMode* mode_out) { +Result audctlGetHeadphoneOutputLevelMode(AudioHeadphoneOutputLevelMode* mode_out) { if (hosversionBefore(3,0,0)) return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);