vastly improved audio

This commit is contained in:
itsmattkc
2018-08-14 20:25:56 +10:00
parent d549586761
commit aa1096d86a
19 changed files with 237 additions and 146 deletions
+3 -4
View File
@@ -21,10 +21,9 @@ PanEffect::PanEffect(Clip* c) : Effect(c, EFFECT_TYPE_AUDIO, AUDIO_PAN_EFFECT) {
void PanEffect::refresh() {}
Effect* PanEffect::copy(Clip* c) {
/*PanEffect* p = new PanEffect(c);
p->pan_val->set_value(pan_val->value());
return p;*/
return NULL;
PanEffect* p = new PanEffect(c);
p->pan_val->set_double_value(pan_val->get_double_value());
return p;
}
void PanEffect::process_audio(quint8 *samples, int nb_bytes) {