Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

sample provider release fix

  • Loading branch information...
commit 89eaea7d83a3611094807400f7548d44ded6348f 1 parent 4518d07
@gyetvan-andras authored
View
4 WaveFormTest.xcodeproj/project.pbxproj
@@ -19,6 +19,7 @@
B33229A0159C47E600E6C68F /* WaveFormViewOSX.m in Sources */ = {isa = PBXBuildFile; fileRef = B332299C159C47E600E6C68F /* WaveFormViewOSX.m */; };
B33229A1159C47E600E6C68F /* WaveSampleProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = B332299E159C47E600E6C68F /* WaveSampleProvider.m */; };
B3555DF415AEDE42004C1D52 /* MediaPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B3555DF315AEDE42004C1D52 /* MediaPlayer.framework */; };
+ B39C878F15C53B350094A242 /* sample.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = B39C878E15C53B350094A242 /* sample.mp3 */; };
B3C371F015ADA6BF008093D0 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = B3C371EE15ADA6BF008093D0 /* InfoPlist.strings */; };
B3C371F215ADA6BF008093D0 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = B3C371F115ADA6BF008093D0 /* main.m */; };
B3C371F615ADA6C0008093D0 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = B3C371F515ADA6C0008093D0 /* AppDelegate.m */; };
@@ -58,6 +59,7 @@
B332299E159C47E600E6C68F /* WaveSampleProvider.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = WaveSampleProvider.m; path = WaveFormTest/WaveFormClasses/WaveSampleProvider.m; sourceTree = "<group>"; };
B332299F159C47E600E6C68F /* WaveSampleProviderDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WaveSampleProviderDelegate.h; path = WaveFormTest/WaveFormClasses/WaveSampleProviderDelegate.h; sourceTree = "<group>"; };
B3555DF315AEDE42004C1D52 /* MediaPlayer.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MediaPlayer.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/System/Library/Frameworks/MediaPlayer.framework; sourceTree = DEVELOPER_DIR; };
+ B39C878E15C53B350094A242 /* sample.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; path = sample.mp3; sourceTree = "<group>"; };
B3C371E315ADA6BF008093D0 /* WaveFormTestIOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = WaveFormTestIOS.app; sourceTree = BUILT_PRODUCTS_DIR; };
B3C371ED15ADA6BF008093D0 /* WaveFormTestIOS-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "WaveFormTestIOS-Info.plist"; sourceTree = "<group>"; };
B3C371EF15ADA6BF008093D0 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
@@ -188,6 +190,7 @@
B3555DFA15AEEDE4004C1D52 /* Assets */ = {
isa = PBXGroup;
children = (
+ B39C878E15C53B350094A242 /* sample.mp3 */,
);
name = Assets;
sourceTree = "<group>";
@@ -334,6 +337,7 @@
B3C371F015ADA6BF008093D0 /* InfoPlist.strings in Resources */,
B3C371FC15ADA6C0008093D0 /* ViewController_iPhone.xib in Resources */,
B3C371FF15ADA6C0008093D0 /* ViewController_iPad.xib in Resources */,
+ B39C878F15C53B350094A242 /* sample.mp3 in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
View
2  WaveFormTest/WaveFormClasses/WaveFormViewOSX.m
@@ -97,6 +97,7 @@ - (void) dealloc
[darkgray release];
[white release];
[marker release];
+ [wsp release];
[super dealloc];
}
@@ -136,6 +137,7 @@ - (void) openAudioURL:(NSURL *)url
[self setNeedsDisplay:YES];
[progress setHidden:FALSE];
[progress startAnimation:self];
+ [wsp release];
wsp = [[WaveSampleProvider alloc]initWithURL:url];
wsp.delegate = self;
[wsp createSampleData];
View
2  WaveFormTestIOS/WaveFormClasses/WaveFormViewIOS.m
@@ -89,6 +89,7 @@ - (void) dealloc
[darkgray release];
[white release];
[marker release];
+ [wsp release];
[super dealloc];
}
@@ -128,6 +129,7 @@ - (void) openAudioURL:(NSURL *)url
[self setNeedsDisplay];
[progress setHidden:FALSE];
[progress startAnimating];
+ [wsp release];
wsp = [[WaveSampleProvider alloc]initWithURL:url];
wsp.delegate = self;
[wsp createSampleData];
View
BIN  WaveFormTestIOS/sample.mp3
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.