|
Untitled
|
Audio IR processing, hrtf loading and parsing, and audio threading. More...
Go to the source code of this file.
Functions | |
| void | allocate_audio_scratch_hrtf (int hrtf_length) |
| Allocates AUDIO_SCRATCH based on HRTF size. | |
| void | update_player_ir (PartitionTable *OUT) |
| Rotates neighboring IRs to the Player and then partitions them for convolution in the audio thread. | |
| int SDLCALL | hrtf_worker (void *params) |
| Main thread loop for HRTFThreadData. | |
| void | evaluate_sh (vec3 dir, float SH[SH_MAX]) |
| Evaluates 9 spherical harmonics based on direction. | |
| void | load_hrtf_from_binary (const char *filename) |
| Loads a stored HRTF from engine binary. | |
| void | fft_channels (ConvolverNode *node, bool crossfading) |
| Applies an impulse response filter via discrete convolution. | |
| void | rotate_sh (float *OUT, float SH[SH_MAX], mat3 rot) |
| Converts a position to local OBB space and returns the coord as if it was a texture from \(0 \rightarrow 1\). | |
| void | init_hrtf_worker_thread (HRTFThreadData *td) |
| Initializes the worker thread that convolves the audio probes with the HRTF. | |
| void | delete_hrtf_worker_thread (HRTFThreadData *td) |
| Cleans up the worker thread that convolves the audio probes with the HRTF. | |
Audio IR processing, hrtf loading and parsing, and audio threading.
Definition in file audio_ir.c.