coastline 0.0.4
Loading...
Searching...
No Matches
directionalmatrix.h File Reference
#include <stdint.h>
Include dependency graph for directionalmatrix.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  EarDirectionalMatrixEntry
 The pan and the gain of one direction of a directional matrix. More...

Macros

#define EAR_DIRECTIONAL_MATRIX_ENTRY_COUNT   0x80
 The number of entries of a directional matrix.

Typedefs

typedef struct EarDirectionalMatrixEntry EarDirectionalMatrixEntry
 The pan and the gain of one direction of a directional matrix.

Functions

void __stdcall CopyDirectionalMatrixEntry (uint16_t matrix, uint16_t direction, EarDirectionalMatrixEntry *entry)
 Copy the entry of a direction of a matrix, or an empty entry for a direction or a matrix that is not registered.
void __stdcall GrowMatrixRegistry (void)
 Copy the matrices into a larger hash table once the table holds one matrix a bucket.
int __stdcall EarRegisterMatrixExportWrapper (uint32_t flags)
int __stdcall EAR_DLL_RegisterMatrix (uint32_t flags)
 Register the built-in matrices the flags select: 0x1, 0x4, 0x10, 0x20, and 0x40 for the matrices of 1, 4, 16, 32, and 64 directions.
int __stdcall EarShutDownMatrixExportWrapper (uint32_t matrix)
int __stdcall EAR_DLL_ShutDownMatrix (uint32_t matrix)
 Shut down a directional matrix, or every matrix.
int __stdcall RegisterBuiltinDirectionalMatrix1 (void)
 Register the built-in matrix of one direction as matrix 1.
int __stdcall RegisterBuiltinDirectionalMatrix4 (void)
int __stdcall RegisterBuiltinDirectionalMatrix16 (void)
int __stdcall RegisterBuiltinDirectionalMatrix32 (void)
int __stdcall RegisterBuiltinDirectionalMatrix64 (void)

Macro Definition Documentation

◆ EAR_DIRECTIONAL_MATRIX_ENTRY_COUNT

#define EAR_DIRECTIONAL_MATRIX_ENTRY_COUNT   0x80

The number of entries of a directional matrix.

Typedef Documentation

◆ EarDirectionalMatrixEntry

typedef struct EarDirectionalMatrixEntry EarDirectionalMatrixEntry

The pan and the gain of one direction of a directional matrix.

Function Documentation

◆ CopyDirectionalMatrixEntry()

void __stdcall CopyDirectionalMatrixEntry ( uint16_t matrix,
uint16_t direction,
EarDirectionalMatrixEntry * entry )

Copy the entry of a direction of a matrix, or an empty entry for a direction or a matrix that is not registered.

Parameters
matrixThe matrix.
directionThe direction.
entryReceives the entry.
Ghidra address:
EAR: 0x100046ee

◆ GrowMatrixRegistry()

void __stdcall GrowMatrixRegistry ( void )

Copy the matrices into a larger hash table once the table holds one matrix a bucket.

Ghidra address:
EAR: 0x100049cc

◆ EarRegisterMatrixExportWrapper()

int __stdcall EarRegisterMatrixExportWrapper ( uint32_t flags)
Parameters
flagsThe built-in matrices.
Returns
Whether the matrices were registered.
Ghidra address:
EAR: 0x1000ebd0

◆ EAR_DLL_RegisterMatrix()

int __stdcall EAR_DLL_RegisterMatrix ( uint32_t flags)

Register the built-in matrices the flags select: 0x1, 0x4, 0x10, 0x20, and 0x40 for the matrices of 1, 4, 16, 32, and 64 directions.

Parameters
flagsThe built-in matrices, from 1 to 0x3ff.
Returns
Whether the matrices were registered.
Ghidra address:
EAR: 0x1000ebe0

◆ EarShutDownMatrixExportWrapper()

int __stdcall EarShutDownMatrixExportWrapper ( uint32_t matrix)
Parameters
matrixThe matrix, or 0 for every matrix.
Returns
Whether the matrix was shut down.
Ghidra address:
EAR: 0x1000f5f0

◆ EAR_DLL_ShutDownMatrix()

int __stdcall EAR_DLL_ShutDownMatrix ( uint32_t matrix)

Shut down a directional matrix, or every matrix.

Parameters
matrixThe matrix, or 0 for every matrix.
Returns
Whether the matrix was shut down.
Ghidra address:
EAR: 0x1000f600

◆ RegisterBuiltinDirectionalMatrix1()

int __stdcall RegisterBuiltinDirectionalMatrix1 ( void )

Register the built-in matrix of one direction as matrix 1.

Returns
Whether the matrix is registered.
Ghidra address:
EAR: 0x10010716

◆ RegisterBuiltinDirectionalMatrix4()

int __stdcall RegisterBuiltinDirectionalMatrix4 ( void )
Returns
Whether the matrix is registered.
Ghidra address:
EAR: 0x10010992

◆ RegisterBuiltinDirectionalMatrix16()

int __stdcall RegisterBuiltinDirectionalMatrix16 ( void )
Returns
Whether the matrix is registered.
Ghidra address:
EAR: 0x10010d4e

◆ RegisterBuiltinDirectionalMatrix32()

int __stdcall RegisterBuiltinDirectionalMatrix32 ( void )
Returns
Whether the matrix is registered.
Ghidra address:
EAR: 0x100110ee

◆ RegisterBuiltinDirectionalMatrix64()

int __stdcall RegisterBuiltinDirectionalMatrix64 ( void )
Returns
Whether the matrix is registered.
Ghidra address:
EAR: 0x10011a55