Fixed a few problems with wave drawing-
Optimized so only samples inside the screens bounds are drawn. Wave display detail is based on zoom - so you can view realy large wave files as well as indervidual samples. Changed logic so an approximation of the wave is displayed rather then just the symetrical amplitude of the sound. Triangles at start and end were annoying and obscured the start of the sound. made them alpha 0.7 for sound clips only. a whole CD of music should display well and zoom smoothly now.
This commit is contained in:
@@ -37,7 +37,7 @@ struct ScrArea;
|
||||
struct Sequence;
|
||||
|
||||
void drawseqspace(struct ScrArea *sa, void *spacedata);
|
||||
void drawseq(struct Sequence *seq);
|
||||
void drawseq(struct Sequence *seq, struct ScrArea *sa);
|
||||
void set_special_seq_update(int val);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user