123456789101112131415161718192021222324252627282930313233343536 |
- /* 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"
- DOUAS_EXTERN NSString *const kDOUAudioStreamerVolumeKey;
- DOUAS_EXTERN const NSUInteger kDOUAudioStreamerBufferTime;
- typedef NS_OPTIONS(NSUInteger, DOUAudioStreamerOptions) {
- DOUAudioStreamerKeepPersistentVolume = 1 << 0,
- DOUAudioStreamerRemoveCacheOnDeallocation = 1 << 1,
- DOUAudioStreamerRequireSHA256 = 1 << 2,
- DOUAudioStreamerDefaultOptions = DOUAudioStreamerKeepPersistentVolume |
- DOUAudioStreamerRemoveCacheOnDeallocation
- };
- @interface DOUAudioStreamer (Options)
- + (DOUAudioStreamerOptions)options;
- + (void)setOptions:(DOUAudioStreamerOptions)options;
- @end
|