vkdoom_m/thirdparty/timidityplus/timiditypp/effect.h
Rachael Alexanderson 9f3cb3d92e Squashed 'libraries/ZMusic/' content from commit ac3e232b00
git-subtree-dir: libraries/ZMusic
git-subtree-split: ac3e232b001129c740b7b65196ae0e1b13b82513
2025-07-30 00:24:15 -04:00

37 lines
No EOL
527 B
C++

#pragma once
#include <stdint.h>
#include "timidity.h"
namespace TimidityPlus
{
class Reverb;
class Effect
{
void effect_left_right_delay(int32_t *, int32_t);
void init_mtrand(void);
int32_t my_mod(int32_t, int32_t);
int turn_counter = 0, tc = 0;
int status = 0;
double rate0 = 0, rate1 = 0, dr = 0;
int32_t prev[AUDIO_BUFFER_SIZE * 2] = { 0 };
Reverb *reverb;
public:
Effect(Reverb *_reverb)
{
reverb = _reverb;
init_effect();
}
void init_effect();
void do_effect(int32_t *buf, int32_t count);
};
}