Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -(void)clear
- {
- float empty[_changingHistorySize];
- // Figure out better way to do this
- for(int i = 0; i < _changingHistorySize; i++ )
- {
- empty[i] = 0.0f;
- }
- for(int i = 0; i < _scrollHistoryLength; i++)
- {
- _scrollHistory[i] = 0.0f;
- }
- _scrollHistoryIndex = 0;
- [self setSampleData:_scrollHistory
- length:(!_setMaxLength?kEZAudioPlotMaxHistoryBufferLength:_scrollHistoryLength)];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement