mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-22 21:02:39 +02:00
audctl: Fix prefix on enum
This commit is contained in:
parent
f893c043f7
commit
4b2d111859
@ -26,9 +26,9 @@ typedef enum {
|
|||||||
} AudioForceMutePolicy;
|
} AudioForceMutePolicy;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
HeadphoneOutputLevelMode_Normal = 0,
|
AudioHeadphoneOutputLevelMode_Normal = 0,
|
||||||
HeadphoneOutputLevelMode_HighPower = 1,
|
AudioHeadphoneOutputLevelMode_HighPower = 1,
|
||||||
} HeadphoneOutputLevelMode;
|
} AudioHeadphoneOutputLevelMode;
|
||||||
|
|
||||||
Result audctlInitialize(void);
|
Result audctlInitialize(void);
|
||||||
void audctlExit(void);
|
void audctlExit(void);
|
||||||
@ -51,8 +51,8 @@ Result audctlGetOutputModeSetting(AudioOutputMode* mode_out, AudioTarget target)
|
|||||||
Result audctlSetOutputModeSetting(AudioTarget target, AudioOutputMode mode);
|
Result audctlSetOutputModeSetting(AudioTarget target, AudioOutputMode mode);
|
||||||
Result audctlSetOutputTarget(AudioTarget target);
|
Result audctlSetOutputTarget(AudioTarget target);
|
||||||
Result audctlSetInputTargetForceEnabled(bool enable);
|
Result audctlSetInputTargetForceEnabled(bool enable);
|
||||||
Result audctlSetHeadphoneOutputLevelMode(HeadphoneOutputLevelMode mode);
|
Result audctlSetHeadphoneOutputLevelMode(AudioHeadphoneOutputLevelMode mode);
|
||||||
Result audctlGetHeadphoneOutputLevelMode(HeadphoneOutputLevelMode* mode_out);
|
Result audctlGetHeadphoneOutputLevelMode(AudioHeadphoneOutputLevelMode* mode_out);
|
||||||
Result audctlAcquireAudioVolumeUpdateEventForPlayReport(Event* event_out);
|
Result audctlAcquireAudioVolumeUpdateEventForPlayReport(Event* event_out);
|
||||||
Result audctlAcquireAudioOutputDeviceUpdateEventForPlayReport(Event* event_out);
|
Result audctlAcquireAudioOutputDeviceUpdateEventForPlayReport(Event* event_out);
|
||||||
Result audctlGetAudioOutputTargetForPlayReport(AudioTarget* target_out);
|
Result audctlGetAudioOutputTargetForPlayReport(AudioTarget* target_out);
|
||||||
|
@ -228,7 +228,7 @@ Result audctlSetInputTargetForceEnabled(bool enable) {
|
|||||||
return serviceDispatchIn(&g_audctlSrv, 16, in);
|
return serviceDispatchIn(&g_audctlSrv, 16, in);
|
||||||
}
|
}
|
||||||
|
|
||||||
Result audctlSetHeadphoneOutputLevelMode(HeadphoneOutputLevelMode mode) {
|
Result audctlSetHeadphoneOutputLevelMode(AudioHeadphoneOutputLevelMode mode) {
|
||||||
if (hosversionBefore(3,0,0))
|
if (hosversionBefore(3,0,0))
|
||||||
return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
||||||
|
|
||||||
@ -239,7 +239,7 @@ Result audctlSetHeadphoneOutputLevelMode(HeadphoneOutputLevelMode mode) {
|
|||||||
return serviceDispatchIn(&g_audctlSrv, 17, in);
|
return serviceDispatchIn(&g_audctlSrv, 17, in);
|
||||||
}
|
}
|
||||||
|
|
||||||
Result audctlGetHeadphoneOutputLevelMode(HeadphoneOutputLevelMode* mode_out) {
|
Result audctlGetHeadphoneOutputLevelMode(AudioHeadphoneOutputLevelMode* mode_out) {
|
||||||
if (hosversionBefore(3,0,0))
|
if (hosversionBefore(3,0,0))
|
||||||
return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user