DOUAudioStreamer_Private.h
1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* vim: set ft=objc fenc=utf-8 sw=2 ts=2 et: */
/*
* DOUAudioStreamer - A Core Audio based streaming audio player for iOS/Mac:
*
* https://github.com/douban/DOUAudioStreamer
*
* Copyright 2013-2016 Douban Inc. All rights reserved.
*
* Use and distribution licensed under the BSD license. See
* the LICENSE file for full text.
*
* Authors:
* Chongyu Zhu <i@lembacon.com>
*
*/
#import "DOUAudioStreamer.h"
@class DOUAudioFileProvider;
@class DOUAudioPlaybackItem;
@class DOUAudioDecoder;
@interface DOUAudioStreamer ()
@property (assign) DOUAudioStreamerStatus status;
@property (strong) NSError *error;
@property (nonatomic, assign) NSTimeInterval duration;
@property (nonatomic, assign) NSInteger timingOffset;
@property (nonatomic, readonly) DOUAudioFileProvider *fileProvider;
@property (nonatomic, strong) DOUAudioPlaybackItem *playbackItem;
@property (nonatomic, strong) DOUAudioDecoder *decoder;
@property (nonatomic, assign) double bufferingRatio;
#if TARGET_OS_IPHONE
@property (nonatomic, assign, getter=isPausedByInterruption) BOOL pausedByInterruption;
#endif /* TARGET_OS_IPHONE */
@end