ios - EZAudio Plot Mirror Not Consistant -
i implemented ezaudioplotgl in 4 different view controllers. @ times top part of showing , though shouldmirror set yes @ times. suggestions ?
i have used "ezaudioplot.h" class rather "ezaudioplotgl.h". resolves issue of inconsistent wave form , works same "ezaudioplotgl.h"
and implemented clear method in "ezaudioplot.m" class because not have implementation or clear method.
-(void)clear { float empty[_changinghistorysize]; // figure out better way for(int = 0; < _changinghistorysize; i++ ) { empty[i] = 0.0f; } for(int = 0; < _scrollhistorylength; i++) { _scrollhistory[i] = 0.0f; } _scrollhistoryindex = 0; [self setsampledata:_scrollhistory length:(!_setmaxlength?kezaudioplotmaxhistorybufferlength:_scrollhistorylength)]; }
Comments
Post a Comment