mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-22 18:15:14 +00:00
initial drafts
This commit is contained in:
parent
2d1a2982df
commit
ad6de93cba
@ -123,7 +123,8 @@ int PS4_SYSV_ABI sceAudioInIsSharedDevice() {
|
|||||||
return ORBIS_OK;
|
return ORBIS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int PS4_SYSV_ABI sceAudioInOpen() {
|
int PS4_SYSV_ABI sceAudioInOpen(Libraries::UserService::OrbisUserServiceUserId userId, u32 type,
|
||||||
|
u32 index, u32 len, u32 freq, u32 param) {
|
||||||
LOG_ERROR(Lib_AudioIn, "(DUMMY) called");
|
LOG_ERROR(Lib_AudioIn, "(DUMMY) called");
|
||||||
return 0x80260005; // ports are full return
|
return 0x80260005; // ports are full return
|
||||||
}
|
}
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <core/libraries/system/userservice.h>
|
||||||
#include "common/types.h"
|
#include "common/types.h"
|
||||||
|
|
||||||
namespace Core::Loader {
|
namespace Core::Loader {
|
||||||
@ -11,6 +12,10 @@ class SymbolsResolver;
|
|||||||
|
|
||||||
namespace Libraries::AudioIn {
|
namespace Libraries::AudioIn {
|
||||||
|
|
||||||
|
enum class OrbisAudioInParamFormat : u32 { S16Mono = 0, S16Stereo = 2 };
|
||||||
|
|
||||||
|
enum class OrbisAudioInType : u32 { VoiceChat = 0, General = 1, VoiceRecognition = 5 };
|
||||||
|
|
||||||
int PS4_SYSV_ABI sceAudioInChangeAppModuleState();
|
int PS4_SYSV_ABI sceAudioInChangeAppModuleState();
|
||||||
int PS4_SYSV_ABI sceAudioInClose();
|
int PS4_SYSV_ABI sceAudioInClose();
|
||||||
int PS4_SYSV_ABI sceAudioInCountPorts();
|
int PS4_SYSV_ABI sceAudioInCountPorts();
|
||||||
@ -34,7 +39,8 @@ int PS4_SYSV_ABI sceAudioInInit();
|
|||||||
int PS4_SYSV_ABI sceAudioInInput();
|
int PS4_SYSV_ABI sceAudioInInput();
|
||||||
int PS4_SYSV_ABI sceAudioInInputs();
|
int PS4_SYSV_ABI sceAudioInInputs();
|
||||||
int PS4_SYSV_ABI sceAudioInIsSharedDevice();
|
int PS4_SYSV_ABI sceAudioInIsSharedDevice();
|
||||||
int PS4_SYSV_ABI sceAudioInOpen();
|
int PS4_SYSV_ABI sceAudioInOpen(Libraries::UserService::OrbisUserServiceUserId userId, u32 type,
|
||||||
|
u32 index, u32 len, u32 freq, u32 param);
|
||||||
int PS4_SYSV_ABI sceAudioInOpenEx();
|
int PS4_SYSV_ABI sceAudioInOpenEx();
|
||||||
int PS4_SYSV_ABI sceAudioInSetAllMute();
|
int PS4_SYSV_ABI sceAudioInSetAllMute();
|
||||||
int PS4_SYSV_ABI sceAudioInSetCompressorPreGain();
|
int PS4_SYSV_ABI sceAudioInSetCompressorPreGain();
|
||||||
|
Loading…
Reference in New Issue
Block a user