2014-07-12 09:46:14 +02:00
|
|
|
#include "stdafx.h"
|
2014-07-12 16:53:36 +02:00
|
|
|
#if 0
|
2013-09-28 04:36:57 +02:00
|
|
|
|
|
|
|
|
void cellVoice_init();
|
|
|
|
|
Module cellVoice(0x0046, cellVoice_init);
|
|
|
|
|
|
|
|
|
|
// Error Codes
|
|
|
|
|
enum
|
|
|
|
|
{
|
2014-04-04 15:25:38 +02:00
|
|
|
CELL_VOICE_ERROR_ADDRESS_INVALID = 0x8031080a,
|
|
|
|
|
CELL_VOICE_ERROR_ARGUMENT_INVALID = 0x80310805,
|
|
|
|
|
CELL_VOICE_ERROR_CONTAINER_INVALID = 0x80310806,
|
|
|
|
|
CELL_VOICE_ERROR_DEVICE_NOT_PRESENT = 0x80310812,
|
|
|
|
|
CELL_VOICE_ERROR_EVENT_DISPATCH = 0x80310811,
|
|
|
|
|
CELL_VOICE_ERROR_EVENT_QUEUE = 0x8031080f,
|
|
|
|
|
CELL_VOICE_ERROR_GENERAL = 0x80310803,
|
|
|
|
|
CELL_VOICE_ERROR_LIBVOICE_INITIALIZED = 0x80310802,
|
|
|
|
|
CELL_VOICE_ERROR_LIBVOICE_NOT_INIT = 0x80310801,
|
|
|
|
|
CELL_VOICE_ERROR_NOT_IMPLEMENTED = 0x80310809,
|
|
|
|
|
CELL_VOICE_ERROR_PORT_INVALID = 0x80310804,
|
|
|
|
|
CELL_VOICE_ERROR_RESOURCE_INSUFFICIENT = 0x80310808,
|
|
|
|
|
CELL_VOICE_ERROR_SERVICE_ATTACHED = 0x8031080c,
|
|
|
|
|
CELL_VOICE_ERROR_SERVICE_DETACHED = 0x8031080b,
|
|
|
|
|
CELL_VOICE_ERROR_SERVICE_HANDLE = 0x80310810,
|
|
|
|
|
CELL_VOICE_ERROR_SERVICE_NOT_FOUND = 0x8031080d,
|
|
|
|
|
CELL_VOICE_ERROR_SHAREDMEMORY = 0x8031080e,
|
|
|
|
|
CELL_VOICE_ERROR_TOPOLOGY = 0x80310807,
|
2013-09-28 04:36:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
int cellVoiceConnectIPortToOPort()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceCreateNotifyEventQueue()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceCreatePort()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceDeletePort()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceDisconnectIPortFromOPort()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceEnd()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceGetBitRate()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceGetMuteFlag()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceGetPortAttr()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceGetPortInfo()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceGetSignalState()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceGetVolume()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceInit()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceInitEx()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoicePausePort()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoicePausePortAll()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceRemoveNotifyEventQueue()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceResetPort()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceResumePort()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceResumePortAll()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceSetBitRate()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceSetMuteFlag()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceSetMuteFlagAll()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceSetNotifyEventQueue()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceSetPortAttr()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceSetVolume()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceStart()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceStartEx()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceStop()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceUpdatePort()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceWriteToIPort()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceWriteToIPortEx()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceReadFromOPort()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cellVoiceDebugTopology()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellVoice);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void cellVoice_init()
|
|
|
|
|
{
|
2015-02-20 14:58:40 +01:00
|
|
|
REG_FUNC(cellVoice, cellVoiceConnectIPortToOPort);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceCreateNotifyEventQueue);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceCreatePort);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceDeletePort);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceDisconnectIPortFromOPort);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceEnd);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceGetBitRate);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceGetMuteFlag);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceGetPortAttr);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceGetPortInfo);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceGetSignalState);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceGetVolume);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceInit);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceInitEx);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoicePausePort);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoicePausePortAll);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceRemoveNotifyEventQueue);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceResetPort);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceResumePort);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceResumePortAll);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceSetBitRate);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceSetMuteFlag);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceSetMuteFlagAll);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceSetNotifyEventQueue);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceSetPortAttr);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceSetVolume);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceStart);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceStartEx);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceStop);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceUpdatePort);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceWriteToIPort);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceWriteToIPortEx);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceReadFromOPort);
|
|
|
|
|
REG_FUNC(cellVoice, cellVoiceDebugTopology);
|
2014-06-02 19:27:24 +02:00
|
|
|
}
|
|
|
|
|
#endif
|