The synthesiser's SIF RPC server, identifier 0x75433178.
More...
#include <synthserver.h>
|
| static void | Thread () |
| | Register the server and serve calls forever, as the server thread.
|
| static void | Remove () |
| | Unregister the server and its queue.
|
| static void * | Dispatch (unsigned int command, void *buffer, int size) |
| | Run one command.
|
| static int | Initialize (const SynthInitCommand *command) |
| | Start the reverb thread, record the EE's notification addresses, and start the synthesiser and its tick thread.
|
| static int | Terminate () |
| | Stop the tick thread and free the bank pools.
|
The synthesiser's SIF RPC server, identifier 0x75433178.
The class has no RTTI, and its name is inferred from its role. Every member is static. The EE calls it with a SynthCommand function number and the command's argument.
◆ Thread()
| void SynthServer::Thread |
( |
| ) |
|
|
static |
Register the server and serve calls forever, as the server thread.
- Ghidra address:
- NTSC-U/C: 0x00000264
- Ghidra address:
- PAL: 0x00000264
◆ Remove()
| void SynthServer::Remove |
( |
| ) |
|
|
static |
Unregister the server and its queue.
It is never called.
- Ghidra address:
- NTSC-U/C: 0x000002d0
- Ghidra address:
- PAL: 0x000002d0
◆ Dispatch()
| void * SynthServer::Dispatch |
( |
unsigned int | command, |
|
|
void * | buffer, |
|
|
int | size ) |
|
static |
Run one command.
- Parameters
-
| command | A SynthCommand. |
| buffer | The command's argument. |
| size | Bytes of argument. |
- Returns
- The command's status word as the reply buffer. Every command reports zero.
- Ghidra address:
- NTSC-U/C: 0x00000310
- Ghidra address:
- PAL: 0x00000310
◆ Initialize()
Start the reverb thread, record the EE's notification addresses, and start the synthesiser and its tick thread.
- Parameters
-
| command | The command's argument. |
- Returns
- Zero.
- Ghidra address:
- NTSC-U/C: 0x00000640
- Ghidra address:
- PAL: 0x00000640
◆ Terminate()
| int SynthServer::Terminate |
( |
| ) |
|
|
static |
Stop the tick thread and free the bank pools.
- Returns
- Zero.
- Ghidra address:
- NTSC-U/C: 0x000006d8
- Ghidra address:
- PAL: 0x000006d8
◆ kServerId
| unsigned int SynthServer::kServerId = 0x75433178 |
|
staticconstexpr |
◆ kBufferSize
| int SynthServer::kBufferSize = 65536 |
|
staticconstexpr |
Bytes of argument a call can include.
The documentation for this class was generated from the following file: