Added tons of documentation headers to functions in source files.

This commit is contained in:
Johannes Findeisen 2026-10-27 01:58:27 +01:00
commit 4eb2080933
43 changed files with 3953 additions and 43 deletions

View file

@ -1,6 +1,16 @@
#include <stddef.h>
/* Kept as a separately testable DSP primitive. */
/**
* @brief Applies a constant gain to a block of mono samples.
*
* This is kept as a small, separately testable DSP primitive. The input and
* output buffers may alias. A NULL buffer makes the call a no-op.
*
* @param input Source samples; NULL is accepted.
* @param output Destination samples; NULL is accepted.
* @param frame_count Number of samples to process.
* @param gain Linear gain factor applied to every sample.
*/
void xtc_dsp_gain_process(const float *input, float *output, size_t frame_count, float gain)
{
size_t frame;