2015-01-29 16:48:05 +01:00
|
|
|
#include "stdafx.h"
|
|
|
|
|
#include "Emu/System.h"
|
2016-05-13 12:17:26 +02:00
|
|
|
#include "Emu/PSP2/ARMv7Module.h"
|
2015-01-29 16:48:05 +01:00
|
|
|
|
2015-06-21 01:04:01 +02:00
|
|
|
#include "sceAudiodec.h"
|
2015-01-29 16:48:05 +01:00
|
|
|
|
2017-05-13 20:30:37 +02:00
|
|
|
logs::channel sceAudiodec("sceAudiodec");
|
2016-02-01 22:53:16 +01:00
|
|
|
|
2015-06-21 01:04:01 +02:00
|
|
|
s32 sceAudiodecInitLibrary(u32 codecType, vm::ptr<SceAudiodecInitParam> pInitParam)
|
2015-01-29 18:42:51 +01:00
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-01-29 18:42:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 sceAudiodecTermLibrary(u32 codecType)
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-01-29 18:42:51 +01:00
|
|
|
}
|
|
|
|
|
|
2015-06-21 01:04:01 +02:00
|
|
|
s32 sceAudiodecCreateDecoder(vm::ptr<SceAudiodecCtrl> pCtrl, u32 codecType)
|
2015-01-29 18:42:51 +01:00
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-01-29 18:42:51 +01:00
|
|
|
}
|
|
|
|
|
|
2015-06-21 01:04:01 +02:00
|
|
|
s32 sceAudiodecDeleteDecoder(vm::ptr<SceAudiodecCtrl> pCtrl)
|
2015-01-29 18:42:51 +01:00
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-01-29 18:42:51 +01:00
|
|
|
}
|
|
|
|
|
|
2015-06-21 01:04:01 +02:00
|
|
|
s32 sceAudiodecDecode(vm::ptr<SceAudiodecCtrl> pCtrl)
|
2015-01-29 18:42:51 +01:00
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-01-29 18:42:51 +01:00
|
|
|
}
|
|
|
|
|
|
2015-06-21 01:04:01 +02:00
|
|
|
s32 sceAudiodecClearContext(vm::ptr<SceAudiodecCtrl> pCtrl)
|
2015-01-29 18:42:51 +01:00
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-01-29 18:42:51 +01:00
|
|
|
}
|
|
|
|
|
|
2015-06-21 01:04:01 +02:00
|
|
|
s32 sceAudiodecGetInternalError(vm::ptr<SceAudiodecCtrl> pCtrl, vm::ptr<s32> pInternalError)
|
2015-01-29 18:42:51 +01:00
|
|
|
{
|
2016-08-08 18:01:06 +02: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(SceAudiodecUser, nid, name)
|
2015-01-29 16:48:05 +01:00
|
|
|
|
2016-02-01 22:53:16 +01:00
|
|
|
DECLARE(arm_module_manager::SceAudiodec)("SceAudiodecUser", []()
|
2015-01-29 16:48:05 +01:00
|
|
|
{
|
2015-01-29 18:42:51 +01:00
|
|
|
REG_FUNC(0x445C2CEF, sceAudiodecInitLibrary);
|
|
|
|
|
REG_FUNC(0x45719B9D, sceAudiodecTermLibrary);
|
|
|
|
|
REG_FUNC(0x4DFD3AAA, sceAudiodecCreateDecoder);
|
|
|
|
|
REG_FUNC(0xE7A24E16, sceAudiodecDeleteDecoder);
|
|
|
|
|
REG_FUNC(0xCCDABA04, sceAudiodecDecode);
|
|
|
|
|
REG_FUNC(0xF72F9B64, sceAudiodecClearContext);
|
|
|
|
|
REG_FUNC(0x883B0CF5, sceAudiodecGetInternalError);
|
2015-01-29 16:48:05 +01:00
|
|
|
});
|