params.c 432 Bytes
#include <ultra64.h>
#include "params.h"

Params params;

void SetParameters(void)
{
    params.once_check_sec	= ONCE_CHECK_SEC;
    params.output_rate		= OUTPUT_RATE;
    params.max_channels		= MAX_CHANNELS;
    params.max_updates		= MAX_UPDATES;
    params.max_acmd_length	= MAX_ACMD_LENGTH;
    params.audio_heap_size	= AUDIO_HEAP_SIZE;
    params.max_buffer_size	= MAX_BUFFER_SIZE;
    params.max_buffer_num	= MAX_BUFFER_NUM;
}