VLCEqualizerView.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*****************************************************************************
  2. * VLCEqualizerView.h
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2015 VideoLAN. All rights reserved.
  6. * $Id$
  7. *
  8. * Authors: Felix Paul Kühne <fkuehne # videolan dot org>
  9. *
  10. * Refer to the COPYING file of the official project for license.
  11. *****************************************************************************/
  12. #import <UIKit/UIKit.h>
  13. #import "VLCFrostedGlasView.h"
  14. #import "VLCSlider.h"
  15. @protocol VLCEqualizerViewDelegate <NSObject>
  16. @required
  17. @property (readwrite) CGFloat preAmplification;
  18. - (void)setAmplification:(CGFloat)amplification forBand:(unsigned)index;
  19. - (CGFloat)amplificationOfBand:(unsigned)index;
  20. - (NSArray *)equalizerProfiles;
  21. - (void)resetEqualizerFromProfile:(unsigned)profile;
  22. @end
  23. @interface VLCEqualizerView : VLCFrostedGlasView <UITableViewDataSource,UITableViewDelegate>
  24. @property (nonatomic, strong) UITableView *tableView;
  25. @property (weak) id <VLCEqualizerViewDelegate>delegate;
  26. - (void)reloadData;
  27. @end