2015-01-29 16:48:05 +01:00
|
|
|
#include "stdafx.h"
|
|
|
|
|
#include "Emu/System.h"
|
|
|
|
|
#include "Emu/ARMv7/PSVFuncList.h"
|
|
|
|
|
|
2015-06-21 01:04:01 +02:00
|
|
|
#include "sceAudioIn.h"
|
2015-01-29 16:48:05 +01:00
|
|
|
|
2015-01-29 18:42:51 +01:00
|
|
|
s32 sceAudioInOpenPort(s32 portType, s32 grain, s32 freq, s32 param)
|
|
|
|
|
{
|
2015-07-01 19:09:26 +02:00
|
|
|
throw EXCEPTION("");
|
2015-01-29 18:42:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 sceAudioInReleasePort(s32 port)
|
|
|
|
|
{
|
2015-07-01 19:09:26 +02:00
|
|
|
throw EXCEPTION("");
|
2015-01-29 18:42:51 +01:00
|
|
|
}
|
|
|
|
|
|
2015-06-21 01:04:01 +02:00
|
|
|
s32 sceAudioInInput(s32 port, vm::ptr<void> destPtr)
|
2015-01-29 18:42:51 +01:00
|
|
|
{
|
2015-07-01 19:09:26 +02:00
|
|
|
throw EXCEPTION("");
|
2015-01-29 18:42:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2015-01-29 16:48:05 +01:00
|
|
|
#define REG_FUNC(nid, name) reg_psv_func(nid, &sceAudioIn, #name, name)
|
|
|
|
|
|
|
|
|
|
psv_log_base sceAudioIn("SceAudioIn", []()
|
|
|
|
|
{
|
|
|
|
|
sceAudioIn.on_load = nullptr;
|
|
|
|
|
sceAudioIn.on_unload = nullptr;
|
|
|
|
|
sceAudioIn.on_stop = nullptr;
|
2015-06-21 01:04:01 +02:00
|
|
|
sceAudioIn.on_error = nullptr;
|
2015-01-29 16:48:05 +01:00
|
|
|
|
2015-01-29 18:42:51 +01:00
|
|
|
REG_FUNC(0x638ADD2D, sceAudioInInput);
|
|
|
|
|
REG_FUNC(0x39B50DC1, sceAudioInOpenPort);
|
|
|
|
|
REG_FUNC(0x3A61B8C4, sceAudioInReleasePort);
|
2015-01-29 16:48:05 +01:00
|
|
|
//REG_FUNC(0x566AC433, sceAudioInGetAdopt);
|
|
|
|
|
});
|