mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 08:39:20 +00:00
Add external reference to file in audio player
This commit is contained in:
parent
8765e4ab38
commit
60f3f6a121
2 changed files with 3 additions and 1 deletions
|
|
@ -12,6 +12,7 @@
|
|||
@property (weak, nonatomic) IBOutlet UIButton *stopButton;
|
||||
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
|
||||
@property (weak, nonatomic) IBOutlet UIProgressView *timeProgress;
|
||||
@property (weak, nonatomic) NSString *file;
|
||||
|
||||
+ (id)audioPlayerWithFilePath:(NSString *)filePath;
|
||||
- (void)close;
|
||||
|
|
|
|||
|
|
@ -12,11 +12,12 @@
|
|||
@private
|
||||
LinphonePlayer *player;
|
||||
LinphonePlayerCbs *cbs;
|
||||
NSString *file;
|
||||
int duration;
|
||||
BOOL eofReached;
|
||||
}
|
||||
|
||||
@synthesize file;
|
||||
|
||||
#pragma mark - Factory
|
||||
|
||||
+ (id)audioPlayerWithFilePath:(NSString *)filePath {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue