Skip to content

changsanjiang/SJAudioPlayer

Repository files navigation

SJAudioPlayer

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

SJAudioPlayer is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'SJAudioPlayer'

Usage

#import <SJAudioPlayer/SJAudioPlayer.h>

    NSURL *URL = [NSURL URLWithString:@"http://.../auido.mp3"];
    _player = SJAudioPlayer.player;
    [_player replaceAudioWithURL:URL];
    [_player play];

Author

[email protected], [email protected]

License

SJAudioPlayer is available under the MIT license. See the LICENSE file for more info.

About

A MP3 audio player. AVAudioEngine & AVAudioPlayerNode

Resources

License

Stars

Watchers

Forks

Packages

No packages published