From 8c64914314c10ba9300209ad3402811ac376b1ca Mon Sep 17 00:00:00 2001 From: Thong Nguyen Date: Tue, 10 Jun 2014 16:29:30 +0100 Subject: [PATCH] Updated test URLs to use abstractpath.com --- ExampleApp/ExampleApp/AppDelegate.m | 4 ++-- ExampleAppMac/ExampleAppMac/AppDelegate.m | 2 +- README.md | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ExampleApp/ExampleApp/AppDelegate.m b/ExampleApp/ExampleApp/AppDelegate.m index 77a518f..660dc46 100644 --- a/ExampleApp/ExampleApp/AppDelegate.m +++ b/ExampleApp/ExampleApp/AppDelegate.m @@ -60,7 +60,7 @@ -(void) audioPlayerViewPlayFromHTTPSelected:(AudioPlayerView*)audioPlayerView { - NSURL* url = [NSURL URLWithString:@"http://fs.bloom.fm/oss/audiosamples/sample.mp3"]; + NSURL* url = [NSURL URLWithString:@"http://www.abstractpath.com/files/audiosamples/sample.mp3"]; STKDataSource* dataSource = [STKAudioPlayer dataSourceFromURL:url]; @@ -89,7 +89,7 @@ -(void) audioPlayerViewQueuePcmWaveFileSelected:(AudioPlayerView*)audioPlayerView { - NSURL* url = [NSURL URLWithString:@"http://fs.bloom.fm/oss/audiosamples/perfectly.wav"]; + NSURL* url = [NSURL URLWithString:@"http://www.abstractpath.com/files/audiosamples/perfectly.wav"]; STKDataSource* dataSource = [STKAudioPlayer dataSourceFromURL:url]; diff --git a/ExampleAppMac/ExampleAppMac/AppDelegate.m b/ExampleAppMac/ExampleAppMac/AppDelegate.m index c18b120..b6cb82e 100644 --- a/ExampleAppMac/ExampleAppMac/AppDelegate.m +++ b/ExampleAppMac/ExampleAppMac/AppDelegate.m @@ -58,7 +58,7 @@ -(void) playFromHTTP { - [audioPlayer play:@"http://fs.bloom.fm/oss/audiosamples/sample.mp3"]; + [audioPlayer play:@"http://www.abstractpath.com/files/audiosamples/sample.mp3"]; } -(void) tick:(NSTimer*)timer diff --git a/README.md b/README.md index 2c9a6ec..c68a827 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ StreamingKit (formally Audjustable) is an audio playback and streaming library for iOS and Mac OSX. StreamingKit uses CoreAudio to decompress and playback audio (using hardware or software codecs) whilst providing a clean and simple object-oriented API. -The primary motivation of this project was to decouple the input data sources from the actual player logic in order to allow advanced customizable input handling such as HTTP streaming, encryption/decryption, auto-recovery, dynamic-buffering. StreamingKit is the only streaming and playback library that supports dead-easy [gapless playback](https://github.com/tumtumtum/StreamingKit/wiki/Gapless-playback) between audio files of differing formats. +The primary motivation of this project was to decouple the input data sources from the actual player logic in order to allow advanced customizable input handling such as HTTP progressive download based streaming, encryption/decryption, auto-recovery, dynamic-buffering. StreamingKit is the only streaming and playback library that supports dead-easy [gapless playback](https://github.com/tumtumtum/StreamingKit/wiki/Gapless-playback) between audio files of differing formats. ## Main Features @@ -34,7 +34,7 @@ There are two main classes. The `STKDataSource` class which is the abstract bas ```objective-c STKAudioPlayer* audioPlayer = [[STKAudioPlayer alloc] init]; -[audioPlayer play:@"http://fs.bloom.fm/oss/audiosamples/sample.mp3"]; +[audioPlayer play:@"http://www.abstractpath.com/files/audiosamples/sample.mp3"]; ``` ### Gapless playback @@ -42,8 +42,8 @@ STKAudioPlayer* audioPlayer = [[STKAudioPlayer alloc] init]; ```objective-c STKAudioPlayer* audioPlayer = [[STKAudioPlayer alloc] init]; -[audioPlayer queue:@"http://fs.bloom.fm/oss/audiosamples/sample.mp3"]; -[audioPlayer queue:@"http://fs.bloom.fm/oss/audiosamples/airplane.aac"]; +[audioPlayer queue:@"http://www.abstractpath.com/files/audiosamples/sample.mp3"]; +[audioPlayer queue:@"http://www.abstractpath.com/files/audiosamples/airplane.aac"]; ```