fixed a bunch of clang warnings

This commit is contained in:
itsmattkc
2018-11-11 15:30:17 -08:00
parent 660b1d7547
commit 967a91b8f0
18 changed files with 4536 additions and 64 deletions
+9 -8
View File
@@ -229,15 +229,15 @@ double double_lerp(double a, double b, double t) {
Effect::Effect(Clip* c, const EffectMeta *em) :
parent_clip(c),
meta(em),
length(30),
tlink(NULL),
enable_shader(false),
enable_coords(false),
enable_superimpose(false),
isOpen(false),
enable_superimpose(false),
glslProgram(NULL),
texture(NULL),
bound(false),
tlink(NULL),
length(30)
texture(NULL),
isOpen(false),
bound(false)
{
// set up base UI
container = new CollapsibleWidget();
@@ -822,7 +822,8 @@ GLuint Effect::process_superimpose(double timecode) {
return 0;
}
void Effect::process_audio(double timecode_start, double timecode_end, quint8* samples, int nb_bytes, int channel_count) {
//void Effect::process_audio(double timecode_start, double timecode_end, quint8* samples, int nb_bytes, int channel_count) {
void Effect::process_audio(double, double, quint8*, int, int) {
// only volume/pan, hand off to AU and VST for all other cases
/*double interval = (timecode_end-timecode_start)/nb_bytes;
@@ -843,7 +844,7 @@ void Effect::process_audio(double timecode_start, double timecode_end, quint8* s
}*/
}
void Effect::redraw(double timecode) {
void Effect::redraw(double) {
/*
// run javascript
QPainter p(&img);