Skip to content

Instantly share code, notes, and snippets.

View pa-w's full-sized avatar

Paola Villarreal pa-w

View GitHub Profile
Building: TicTacToe (Debug|iPhoneSimulator)
Build started 9/1/2014 10:25:37 AM.
__________________________________________________
Project "/Users/paw/Projects/Xamarin/monotouch-samples/TicTacToe/TicTacToe/TicTacToe.csproj" (Build target(s)):
Initial Properties:
__CF_USER_TEXT_ENCODING = 0x1F5:0:0
__CHECKFIX1436934 = 1
Tool /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/smcs execution started with arguments: /noconfig /debug+ /optimize- /out:obj/iPhoneSimulator/Debug/TicTacToe.exe AppDelegate.cs Model/TTTMove.cs Model/TTTMessage.cs Model/TTTProfile.cs Model/TTTMessageServer.cs Model/TTTGame.cs View/TTTGameView.cs View/TTTRatingControl.cs View/TTTCountView.cs Controller/TTTPlayViewController.cs Controller/TTTMessagesViewController.cs Controller/TTTNewMessageViewController.cs Controller/TTTProfileViewController.cs Controller/TTTHistoryListViewController.cs Controller/TTTGameHistoryViewController.cs /target:exe /define:"DEBUG;XAMCORE_2_0;ARCH_64" /nostdlib /reference:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/System.dll /reference:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/System.Xml.dll /reference:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/System.Core.dll /reference:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/
Building Solution: TicTacToe (Debug|iPhoneSimulator)
Building: TicTacToe (Debug|iPhoneSimulator)
Build started 8/29/2014 12:24:34 PM.
__________________________________________________
Project "/Users/paw/Projects/Xamarin/monotouch-samples/TicTacToe/TicTacToe/TicTacToe.csproj" (Build target(s)):
Target _DetectSdkLocations:
Building: AQTapDemo (Debug|iPhoneSimulator)
Build started 8/28/2014 10:18:28 PM.
__________________________________________________
Project "/Users/paw/Projects/Xamarin/monotouch-samples/AQTapDemo/AQTapDemo.csproj" (Build target(s)):
Target _DetectSdkLocations:
DeveloperRoot: /Applications/Xcode.app/Contents/Developer
DevicePlatform: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
GetPlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{179AD7DF-4343-4F6E-9875-C38469F3787E}</ProjectGuid>
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Exe</OutputType>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProductVersion>10.0.0</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{179AD7DF-4343-4F6E-9875-C38469F3787E}</ProjectGuid>
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Exe</OutputType>
diff --git a/AQTapDemo/AQTapDemo.csproj b/AQTapDemo/AQTapDemo.csproj
index b14a1c4..eb47645 100644
--- a/AQTapDemo/AQTapDemo.csproj
+++ b/AQTapDemo/AQTapDemo.csproj
@@ -6,7 +6,7 @@
<ProductVersion>10.0.0</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{179AD7DF-4343-4F6E-9875-C38469F3787E}</ProjectGuid>
- <ProjectTypeGuids>{6BC8ED88-2882-458C-8E55-DFD12B67127B};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+ <ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProductVersion>10.0.0</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{179AD7DF-4343-4F6E-9875-C38469F3787E}</ProjectGuid>
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Exe</OutputType>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProductVersion>10.0.0</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{179AD7DF-4343-4F6E-9875-C38469F3787E}</ProjectGuid>
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Exe</OutputType>
public virtual void DidOutputSampleBuffer (AVCaptureOutput captureOutput, CMSampleBuffer sampleBuffer, AVCaptureConnection connection)
{
CMFormatDescription formatDescription = sampleBuffer.GetVideoFormatDescription ();
if (connection == videoConnection) {
// Get framerate
CMTime timestamp = sampleBuffer.PresentationTimeStamp;
CalculateFramerateAtTimestamp (timestamp);
// Get frame dimensions (for onscreen display)