1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- /*****************************************************************************
- * VLCEqualizerView.h
- * VLC for iOS
- *****************************************************************************
- * Copyright (c) 2015 VideoLAN. All rights reserved.
- * $Id$
- *
- * Authors: Felix Paul Kühne <fkuehne # videolan dot org>
- *
- * Refer to the COPYING file of the official project for license.
- *****************************************************************************/
- #import <UIKit/UIKit.h>
- #import "VLCFrostedGlasView.h"
- #import "VLCSlider.h"
- @protocol VLCEqualizerViewDelegate <NSObject>
- @required
- @property (readwrite) CGFloat preAmplification;
- - (void)setAmplification:(CGFloat)amplification forBand:(unsigned)index;
- - (CGFloat)amplificationOfBand:(unsigned)index;
- - (NSArray *)equalizerProfiles;
- - (void)resetEqualizerFromProfile:(unsigned)profile;
- @end
- @protocol VLCEqualizerViewUIDelegate <NSObject>
- @optional
- - (void)equalizerViewReceivedUserInput;
- @end
- @interface VLCEqualizerView : VLCFrostedGlasView <UITableViewDataSource,UITableViewDelegate>
- @property (nonatomic, strong) UITableView *tableView;
- @property (weak) id <VLCEqualizerViewDelegate>delegate;
- @property (weak) id <VLCEqualizerViewUIDelegate>UIdelegate;
- - (void)reloadData;
- @end
|