rpcsx/rpcs3/Emu/PSP2/Modules/sceAudioenc.cpp

63 lines
1.6 KiB
C++
Raw Normal View History

#include "stdafx.h"
#include "Emu/System.h"
2016-05-13 12:17:26 +02:00
#include "Emu/PSP2/ARMv7Module.h"
2015-06-21 01:04:01 +02:00
#include "sceAudioenc.h"
2017-05-13 20:30:37 +02:00
logs::channel sceAudioenc("sceAudioenc");
2016-02-01 22:53:16 +01:00
2015-06-21 01:04:01 +02:00
s32 sceAudioencInitLibrary(u32 codecType, vm::ptr<SceAudioencInitParam> pInitParam)
2015-01-29 18:42:51 +01:00
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-29 18:42:51 +01:00
}
s32 sceAudioencTermLibrary(u32 codecType)
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-29 18:42:51 +01:00
}
2015-06-21 01:04:01 +02:00
s32 sceAudioencCreateEncoder(vm::ptr<SceAudioencCtrl> pCtrl, u32 codecType)
2015-01-29 18:42:51 +01:00
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-29 18:42:51 +01:00
}
2015-06-21 01:04:01 +02:00
s32 sceAudioencDeleteEncoder(vm::ptr<SceAudioencCtrl> pCtrl)
2015-01-29 18:42:51 +01:00
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-29 18:42:51 +01:00
}
2015-06-21 01:04:01 +02:00
s32 sceAudioencEncode(vm::ptr<SceAudioencCtrl> pCtrl)
2015-01-29 18:42:51 +01:00
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-29 18:42:51 +01:00
}
2015-06-21 01:04:01 +02:00
s32 sceAudioencClearContext(vm::ptr<SceAudioencCtrl> pCtrl)
2015-01-29 18:42:51 +01:00
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-29 18:42:51 +01:00
}
2015-06-21 01:04:01 +02:00
s32 sceAudioencGetOptInfo(vm::ptr<SceAudioencCtrl> pCtrl)
2015-01-29 18:42:51 +01:00
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-29 18:42:51 +01:00
}
2015-06-21 01:04:01 +02:00
s32 sceAudioencGetInternalError(vm::ptr<SceAudioencCtrl> pCtrl, vm::ptr<s32> pInternalError)
2015-01-29 18:42:51 +01:00
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-29 18:42:51 +01:00
}
2016-02-01 22:53:16 +01:00
#define REG_FUNC(nid, name) REG_FNID(SceAudioencUser, nid, name)
2016-02-01 22:53:16 +01:00
DECLARE(arm_module_manager::SceAudioenc)("SceAudioencUser", []()
{
2015-01-29 18:42:51 +01:00
REG_FUNC(0x76EE4DC6, sceAudioencInitLibrary);
REG_FUNC(0xAB32D022, sceAudioencTermLibrary);
REG_FUNC(0x64C04AE8, sceAudioencCreateEncoder);
REG_FUNC(0xC6BA5EE6, sceAudioencDeleteEncoder);
REG_FUNC(0xD85DB29C, sceAudioencEncode);
REG_FUNC(0x9386F42D, sceAudioencClearContext);
REG_FUNC(0xD01C63A3, sceAudioencGetOptInfo);
REG_FUNC(0x452246D0, sceAudioencGetInternalError);
});