Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit 2b25d3b

Browse files
committed
Pull from upstream
1 parent e510a06 commit 2b25d3b

File tree

2,158 files changed

+2336485
-19802
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,158 files changed

+2336485
-19802
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33
*.swp
44
*.DS_Store
55
*.nib
6+
*.suo
67

78
*/bin/*
89
*/obj/*
910
*/*/bin/*
1011
*/*/obj/*
12+
*/*/*/bin/*
13+
*/*/*/obj/*

AQTapDemo/AQTapDemo.csproj

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66
<ProductVersion>10.0.0</ProductVersion>
77
<SchemaVersion>2.0</SchemaVersion>
88
<ProjectGuid>{179AD7DF-4343-4F6E-9875-C38469F3787E}</ProjectGuid>
9-
<ProjectTypeGuids>{6BC8ED88-2882-458C-8E55-DFD12B67127B};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
9+
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
1010
<OutputType>Exe</OutputType>
1111
<RootNamespace>AQTapDemo</RootNamespace>
1212
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
1313
<AssemblyName>AQTapDemo</AssemblyName>
14+
<TargetFrameworkIdentifier>Xamarin.iOS</TargetFrameworkIdentifier>
15+
<TargetFrameworkVersion>v1.0</TargetFrameworkVersion>
1416
</PropertyGroup>
1517
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
1618
<DebugSymbols>True</DebugSymbols>
@@ -24,6 +26,7 @@
2426
<MtouchLink>None</MtouchLink>
2527
<MtouchDebug>True</MtouchDebug>
2628
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
29+
<MtouchArch>i386</MtouchArch>
2730
</PropertyGroup>
2831
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
2932
<DebugType>none</DebugType>
@@ -34,6 +37,7 @@
3437
<ConsolePause>False</ConsolePause>
3538
<MtouchLink>None</MtouchLink>
3639
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
40+
<MtouchArch>i386</MtouchArch>
3741
</PropertyGroup>
3842
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
3943
<DebugSymbols>True</DebugSymbols>
@@ -47,6 +51,7 @@
4751
<MtouchDebug>True</MtouchDebug>
4852
<CodesignKey>iPhone Developer</CodesignKey>
4953
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
54+
<MtouchArch>ARMv7</MtouchArch>
5055
</PropertyGroup>
5156
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
5257
<DebugType>none</DebugType>
@@ -57,6 +62,7 @@
5762
<ConsolePause>False</ConsolePause>
5863
<CodesignKey>iPhone Developer</CodesignKey>
5964
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
65+
<MtouchArch>ARMv7, ARM64</MtouchArch>
6066
</PropertyGroup>
6167
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Ad-Hoc|iPhone' ">
6268
<DebugType>none</DebugType>
@@ -69,6 +75,7 @@
6975
<CodesignProvision>Automatic:AdHoc</CodesignProvision>
7076
<CodesignKey>iPhone Distribution</CodesignKey>
7177
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
78+
<MtouchArch>ARMv7, ARM64</MtouchArch>
7279
</PropertyGroup>
7380
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'AppStore|iPhone' ">
7481
<DebugType>none</DebugType>
@@ -80,12 +87,13 @@
8087
<CodesignKey>iPhone Distribution</CodesignKey>
8188
<CodesignProvision>Automatic:AppStore</CodesignProvision>
8289
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
90+
<MtouchArch>ARMv7, ARM64</MtouchArch>
8391
</PropertyGroup>
8492
<ItemGroup>
8593
<Reference Include="System" />
8694
<Reference Include="System.Xml" />
8795
<Reference Include="System.Core" />
88-
<Reference Include="monotouch" />
96+
<Reference Include="Xamarin.iOS" />
8997
</ItemGroup>
9098
<ItemGroup>
9199
<Folder Include="Resources\" />
@@ -104,7 +112,6 @@
104112
<ItemGroup>
105113
<InterfaceDefinition Include="AQTapDemoViewController.xib" />
106114
</ItemGroup>
107-
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
108115
<ItemGroup>
109116
<BundleResource Include="Resources\Default-568h%402x.png" />
110117
<BundleResource Include="Resources\Icon.png" />
@@ -120,4 +127,5 @@
120127
<ItemGroup>
121128
<ITunesArtwork Include="Resources\iTunesArtwork%402x.png" />
122129
</ItemGroup>
130+
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
123131
</Project>

AQTapDemo/AQTapDemoViewController.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
// distribute, sublicense, and/or sell copies of the Software, and to
1515
// permit persons to whom the Software is furnished to do so, subject to
1616
// the following conditions:
17-
//
17+
//
1818
// The above copyright notice and this permission notice shall be
1919
// included in all copies or substantial portions of the Software.
20-
//
20+
//
2121
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
2222
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
2323
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
@@ -28,10 +28,10 @@
2828
//
2929

3030
using System;
31-
using System.Drawing;
31+
using CoreGraphics;
3232

33-
using MonoTouch.Foundation;
34-
using MonoTouch.UIKit;
33+
using Foundation;
34+
using UIKit;
3535

3636
namespace AQTapDemo
3737
{
@@ -57,29 +57,29 @@ public override void DidReceiveMemoryWarning ()
5757
{
5858
// Releases the view if it doesn't have a superview.
5959
base.DidReceiveMemoryWarning ();
60-
60+
6161
// Release any cached data, images, etc that aren't in use.
6262
}
63-
63+
6464
public override void ViewDidLoad ()
6565
{
6666
base.ViewDidLoad ();
67-
67+
6868
// Perform any additional setup after loading the view, typically from a nib.
6969
}
70-
70+
7171
public override void ViewDidUnload ()
7272
{
7373
base.ViewDidUnload ();
74-
74+
7575
// Clear any references to subviews of the main view in order to
7676
// allow the Garbage Collector to collect them sooner.
7777
//
7878
// e.g. myOutlet.Dispose (); myOutlet = null;
79-
79+
8080
ReleaseDesignerOutlets ();
8181
}
82-
82+
8383
public override bool ShouldAutorotateToInterfaceOrientation (UIInterfaceOrientation toInterfaceOrientation)
8484
{
8585
// Return true for supported orientations

AQTapDemo/AQTapDemoViewController.designer.cs

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

AQTapDemo/AppDelegate.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
using System.Collections.Generic;
66
using System.Linq;
77

8-
using MonoTouch.Foundation;
9-
using MonoTouch.UIKit;
8+
using Foundation;
9+
using UIKit;
1010

1111
namespace AQTapDemo
1212
{
@@ -20,11 +20,11 @@ public partial class AppDelegate : UIApplicationDelegate
2020
public override bool FinishedLaunching (UIApplication app, NSDictionary options)
2121
{
2222
window = new UIWindow (UIScreen.MainScreen.Bounds);
23-
23+
2424
viewController = new AQTapDemoViewController ();
2525
window.RootViewController = viewController;
2626
window.MakeKeyAndVisible ();
27-
27+
2828
return true;
2929
}
3030

AQTapDemo/CCFWebRadioPlayer.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
// distribute, sublicense, and/or sell copies of the Software, and to
1515
// permit persons to whom the Software is furnished to do so, subject to
1616
// the following conditions:
17-
//
17+
//
1818
// The above copyright notice and this permission notice shall be
1919
// included in all copies or substantial portions of the Software.
20-
//
20+
//
2121
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
2222
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
2323
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
@@ -28,17 +28,17 @@
2828
//
2929

3030
using System;
31-
using MonoTouch.Foundation;
32-
using MonoTouch.AudioToolbox;
33-
using MonoTouch.CoreFoundation;
34-
using MonoTouch.AudioUnit;
31+
using Foundation;
32+
using AudioToolbox;
33+
using CoreFoundation;
34+
using AudioUnit;
3535
using System.Diagnostics;
3636

3737
namespace AQTapDemo
3838
{
3939
public class CCFWebRadioPlayer
4040
{
41-
class ConnectionDelegate : NSUrlConnectionDelegate
41+
class ConnectionDelegate : NSUrlConnectionDataDelegate
4242
{
4343
AudioFileStream audioFileStream;
4444

@@ -59,8 +59,8 @@ public override void ReceivedData (NSUrlConnection connection, NSData data)
5959
OutputAudioQueue audioQueue;
6060
AudioQueueProcessingTap aqTap;
6161
IntPtr preRenderData;
62-
AudioUnit genericOutputUnit;
63-
AudioUnit effectUnit;
62+
AudioUnit.AudioUnit genericOutputUnit;
63+
AudioUnit.AudioUnit effectUnit;
6464
AUGraph auGraph;
6565

6666
int totalPacketsReceived;
@@ -100,7 +100,7 @@ void StreamPropertyListenerProc (object sender, PropertyFoundEventArgs args)
100100
return;
101101
}
102102

103-
if (args.Property != AudioFileStreamProperty.ReadyToProducePackets)
103+
if (args.Property != AudioFileStreamProperty.ReadyToProducePackets)
104104
return;
105105

106106
if (audioQueue != null) {
@@ -109,7 +109,7 @@ void StreamPropertyListenerProc (object sender, PropertyFoundEventArgs args)
109109
}
110110

111111
audioQueue = new OutputAudioQueue (dataFormat);
112-
audioQueue.OutputCompleted += HandleOutputCompleted;
112+
audioQueue.BufferCompleted += HandleBufferCompleted;
113113

114114
AudioQueueStatus status;
115115
aqTap = audioQueue.CreateProcessingTap (TapProc, AudioQueueProcessingTapFlags.PreEffects, out status);
@@ -181,7 +181,7 @@ pull from its upstream units (ie, the augraph), and copying off the ioData point
181181
throw new ApplicationException ();
182182
}
183183

184-
void HandleOutputCompleted (object sender, OutputCompletedEventArgs e)
184+
void HandleBufferCompleted (object sender, BufferCompletedEventArgs e)
185185
{
186186
audioQueue.FreeBuffer (e.IntPtrBuffer);
187187
}

AUSoundTriggeredPlayingSoundMemoryBased/AUSoundTriggeredPlayingSoundMemoryBased.csproj

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66
<ProductVersion>8.0.30703</ProductVersion>
77
<SchemaVersion>2.0</SchemaVersion>
88
<ProjectGuid>{FEAD8552-5EA3-45C8-8DBE-BBA24397671F}</ProjectGuid>
9-
<ProjectTypeGuids>{6BC8ED88-2882-458C-8E55-DFD12B67127B};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
9+
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
1010
<OutputType>Exe</OutputType>
1111
<RootNamespace>AUSoundTriggeredPlayingSoundMemoryBased</RootNamespace>
1212
<AssemblyName>AUSoundTriggeredPlayingSoundMemoryBased</AssemblyName>
13+
<TargetFrameworkIdentifier>Xamarin.iOS</TargetFrameworkIdentifier>
14+
<TargetFrameworkVersion>v1.0</TargetFrameworkVersion>
1315
</PropertyGroup>
1416
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
1517
<DebugSymbols>True</DebugSymbols>
@@ -26,7 +28,7 @@
2628
</MtouchI18n>
2729
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
2830
<MtouchSdkVersion>6.0</MtouchSdkVersion>
29-
<MtouchArch>ARMv7</MtouchArch>
31+
<MtouchArch>i386</MtouchArch>
3032
</PropertyGroup>
3133
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
3234
<DebugType>none</DebugType>
@@ -40,6 +42,7 @@
4042
<MtouchSdkVersion>3.2</MtouchSdkVersion>
4143
<MtouchI18n>
4244
</MtouchI18n>
45+
<MtouchArch>i386</MtouchArch>
4346
</PropertyGroup>
4447
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
4548
<DebugSymbols>True</DebugSymbols>
@@ -56,6 +59,7 @@
5659
<MtouchSdkVersion>4.2</MtouchSdkVersion>
5760
<MtouchI18n>
5861
</MtouchI18n>
62+
<MtouchArch>ARMv7</MtouchArch>
5963
</PropertyGroup>
6064
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
6165
<DebugType>none</DebugType>
@@ -69,12 +73,13 @@
6973
<MtouchSdkVersion>4.0</MtouchSdkVersion>
7074
<MtouchI18n>
7175
</MtouchI18n>
76+
<MtouchArch>ARMv7, ARM64</MtouchArch>
7277
</PropertyGroup>
7378
<ItemGroup>
7479
<Reference Include="System" />
7580
<Reference Include="System.Xml" />
7681
<Reference Include="System.Core" />
77-
<Reference Include="monotouch" />
82+
<Reference Include="Xamarin.iOS" />
7883
</ItemGroup>
7984
<ItemGroup>
8085
<None Include="Info.plist" />
@@ -91,11 +96,9 @@
9196
</Compile>
9297
</ItemGroup>
9398
<ItemGroup>
94-
<InterfaceDefinition Include="MainWindow.xib" xmlns="" />
95-
<InterfaceDefinition Include="MainView.xib" xmlns="" />
99+
<InterfaceDefinition Include="MainWindow.xib" />
100+
<InterfaceDefinition Include="MainView.xib" />
96101
</ItemGroup>
97-
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
98-
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.MonoTouch.CSharp.targets" />
99102
<ItemGroup>
100103
<Content Include="loop_stereo.aif">
101104
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
@@ -125,4 +128,5 @@
125128
<ItemGroup>
126129
<ITunesArtwork Include="Resources\iTunesArtwork.png" />
127130
</ItemGroup>
131+
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
128132
</Project>

0 commit comments

Comments
 (0)