mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 17:01:24 +12:00
167 lines
3.3 KiB
C++
167 lines
3.3 KiB
C++
#include "stdafx.h"
|
|
#include "Emu/System.h"
|
|
#include "Emu/ARMv7/PSVFuncList.h"
|
|
|
|
#include "sceVoice.h"
|
|
|
|
s32 sceVoiceInit(vm::ptr<SceVoiceInitParam> pArg, SceVoiceVersion version)
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoiceEnd()
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoiceStart(vm::ptr<SceVoiceStartParam> pArg)
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoiceStop()
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoiceResetPort(u32 portId)
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoiceCreatePort(vm::ptr<u32> portId, vm::cptr<SceVoicePortParam> pArg)
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoiceUpdatePort(u32 portId, vm::cptr<SceVoicePortParam> pArg)
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoiceConnectIPortToOPort(u32 ips, u32 ops)
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoiceDisconnectIPortFromOPort(u32 ips, u32 ops)
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoiceDeletePort(u32 portId)
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoiceWriteToIPort(u32 ips, vm::cptr<void> data, vm::ptr<u32> size, s16 frameGaps)
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoiceReadFromOPort(u32 ops, vm::ptr<void> data, vm::ptr<u32> size)
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoiceSetMuteFlagAll(u16 bMuted)
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoiceSetMuteFlag(u32 portId, u16 bMuted)
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoiceGetMuteFlag(u32 portId, vm::ptr<u16> bMuted)
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoiceSetVolume(u32 portId, float volume)
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoiceGetVolume(u32 portId, vm::ptr<float> volume)
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoiceSetBitRate(u32 portId, SceVoiceBitRate bitrate)
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoiceGetBitRate(u32 portId, vm::ptr<u32> bitrate)
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoiceGetPortInfo(u32 portId, vm::ptr<SceVoiceBasePortInfo> pInfo)
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoicePausePort(u32 portId)
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoiceResumePort(u32 portId)
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoicePausePortAll()
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoiceResumePortAll()
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
s32 sceVoiceGetResourceInfo(vm::ptr<SceVoiceResourceInfo> pInfo)
|
|
{
|
|
throw EXCEPTION("");
|
|
}
|
|
|
|
|
|
#define REG_FUNC(nid, name) reg_psv_func(nid, &sceVoice, #name, name)
|
|
|
|
psv_log_base sceVoice("SceVoice", []()
|
|
{
|
|
sceVoice.on_load = nullptr;
|
|
sceVoice.on_unload = nullptr;
|
|
sceVoice.on_stop = nullptr;
|
|
sceVoice.on_error = nullptr;
|
|
|
|
REG_FUNC(0xD02C00B4, sceVoiceGetBitRate);
|
|
REG_FUNC(0xC913F7E9, sceVoiceGetMuteFlag);
|
|
REG_FUNC(0x875CC80D, sceVoiceGetVolume);
|
|
REG_FUNC(0x02F58D6F, sceVoiceSetBitRate);
|
|
REG_FUNC(0x0B9E4AE2, sceVoiceSetMuteFlag);
|
|
REG_FUNC(0xDB90EAC4, sceVoiceSetMuteFlagAll);
|
|
//REG_FUNC(0xD93769E6, sceVoiceSetVolume);
|
|
REG_FUNC(0x6E46950E, sceVoiceGetResourceInfo);
|
|
REG_FUNC(0xAC98853E, sceVoiceEnd);
|
|
REG_FUNC(0x805CC20F, sceVoiceInit);
|
|
REG_FUNC(0xB2ED725B, sceVoiceStart);
|
|
REG_FUNC(0xC3868DF6, sceVoiceStop);
|
|
REG_FUNC(0x698BDAAE, sceVoiceConnectIPortToOPort);
|
|
REG_FUNC(0xFA4E57B1, sceVoiceCreatePort);
|
|
REG_FUNC(0xAE46564D, sceVoiceDeletePort);
|
|
REG_FUNC(0x5F0260F4, sceVoiceDisconnectIPortFromOPort);
|
|
REG_FUNC(0x5933CCFB, sceVoiceGetPortInfo);
|
|
REG_FUNC(0x23C6B16B, sceVoicePausePort);
|
|
REG_FUNC(0x39AA3884, sceVoicePausePortAll);
|
|
REG_FUNC(0x09E4D18C, sceVoiceReadFromOPort);
|
|
REG_FUNC(0x5E1CE910, sceVoiceResetPort);
|
|
REG_FUNC(0x2DE35411, sceVoiceResumePort);
|
|
REG_FUNC(0x1F93FC0C, sceVoiceResumePortAll);
|
|
REG_FUNC(0xCE855C50, sceVoiceUpdatePort);
|
|
REG_FUNC(0x0A22EC0E, sceVoiceWriteToIPort);
|
|
});
|