[xiph-commits] r8084 - in trunk/oggdsf: sln/oggdsf_all src/lib/codecs/flac/filters src/lib/codecs/flac/filters/dsfNativeFLACSource src/lib/plugin/axAnxOggPlayer

illiminable at motherfish-iii.xiph.org illiminable at motherfish-iii.xiph.org
Mon Oct 25 00:09:22 PDT 2004


Author: illiminable
Date: 2004-10-25 00:09:21 -0700 (Mon, 25 Oct 2004)
New Revision: 8084

Added:
   trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/
   trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/ReadMe.txt
   trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/dsfNativeFLACSource.cpp
   trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/dsfNativeFLACSource.vcproj
   trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/stdafx.cpp
   trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/stdafx.h
Modified:
   trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln
   trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/DSPlayer.cpp
   trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayerCtrl.cpp
   trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayerCtrl.h
Log:
* Start of native flac filter.

Modified: trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln
===================================================================
--- trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln	2004-10-24 11:18:23 UTC (rev 8083)
+++ trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln	2004-10-25 07:09:21 UTC (rev 8084)
@@ -1209,6 +1209,10 @@
 	ProjectSection(ProjectDependencies) = postProject
 	EndProjectSection
 EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dsfNativeFLACSource", "..\..\src\lib\codecs\flac\filters\dsfNativeFLACSource\dsfNativeFLACSource.vcproj", "{43DEE58F-CEC6-49B4-BC06-3D28978BAB63}"
+	ProjectSection(ProjectDependencies) = postProject
+	EndProjectSection
+EndProject
 Global
 	GlobalSection(SolutionConfiguration) = preSolution
 		Debug = Debug
@@ -2392,6 +2396,22 @@
 		{117EA911-505B-4D0B-A1A1-E12AB7F967E6}.Release_SSE.Build.0 = Release|Win32
 		{117EA911-505B-4D0B-A1A1-E12AB7F967E6}.Release_SSE2.ActiveCfg = Release|Win32
 		{117EA911-505B-4D0B-A1A1-E12AB7F967E6}.Release_SSE2.Build.0 = Release|Win32
+		{43DEE58F-CEC6-49B4-BC06-3D28978BAB63}.Debug.ActiveCfg = Debug|Win32
+		{43DEE58F-CEC6-49B4-BC06-3D28978BAB63}.Debug.Build.0 = Debug|Win32
+		{43DEE58F-CEC6-49B4-BC06-3D28978BAB63}.Debug Unicode.ActiveCfg = Debug|Win32
+		{43DEE58F-CEC6-49B4-BC06-3D28978BAB63}.Debug Unicode.Build.0 = Debug|Win32
+		{43DEE58F-CEC6-49B4-BC06-3D28978BAB63}.MakeFile.ActiveCfg = Release|Win32
+		{43DEE58F-CEC6-49B4-BC06-3D28978BAB63}.MakeFile.Build.0 = Release|Win32
+		{43DEE58F-CEC6-49B4-BC06-3D28978BAB63}.Release.ActiveCfg = Release|Win32
+		{43DEE58F-CEC6-49B4-BC06-3D28978BAB63}.Release.Build.0 = Release|Win32
+		{43DEE58F-CEC6-49B4-BC06-3D28978BAB63}.Release Unicode.ActiveCfg = Release|Win32
+		{43DEE58F-CEC6-49B4-BC06-3D28978BAB63}.Release Unicode.Build.0 = Release|Win32
+		{43DEE58F-CEC6-49B4-BC06-3D28978BAB63}.Release_NoDotNET.ActiveCfg = Release|Win32
+		{43DEE58F-CEC6-49B4-BC06-3D28978BAB63}.Release_NoDotNET.Build.0 = Release|Win32
+		{43DEE58F-CEC6-49B4-BC06-3D28978BAB63}.Release_SSE.ActiveCfg = Release|Win32
+		{43DEE58F-CEC6-49B4-BC06-3D28978BAB63}.Release_SSE.Build.0 = Release|Win32
+		{43DEE58F-CEC6-49B4-BC06-3D28978BAB63}.Release_SSE2.ActiveCfg = Release|Win32
+		{43DEE58F-CEC6-49B4-BC06-3D28978BAB63}.Release_SSE2.Build.0 = Release|Win32
 	EndGlobalSection
 	GlobalSection(SolutionItems) = postSolution
 	EndGlobalSection

Added: trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/ReadMe.txt
===================================================================
--- trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/ReadMe.txt	2004-10-24 11:18:23 UTC (rev 8083)
+++ trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/ReadMe.txt	2004-10-25 07:09:21 UTC (rev 8084)
@@ -0,0 +1,40 @@
+========================================================================
+    DYNAMIC LINK LIBRARY : dsfNativeFLACSource Project Overview
+========================================================================
+
+AppWizard has created this dsfNativeFLACSource DLL for you.  
+This file contains a summary of what you will find in each of the files that
+make up your dsfNativeFLACSource application.
+
+
+dsfNativeFLACSource.vcproj
+    This is the main project file for VC++ projects generated using an Application Wizard. 
+    It contains information about the version of Visual C++ that generated the file, and 
+    information about the platforms, configurations, and project features selected with the
+    Application Wizard.
+
+dsfNativeFLACSource.cpp
+    This is the main DLL source file.
+
+	When created, this DLL does not export any symbols. As a result, it  
+	will not produce a .lib file when it is built. If you wish this project 
+	to be a project dependency of some other project, you will either need to 
+	add code to export some symbols from the DLL so that an export library 
+	will be produced, or you can set the Ignore Input Library property to Yes 
+	on the General propert page of the Linker folder in the project's Property 
+	Pages dialog box.
+
+/////////////////////////////////////////////////////////////////////////////
+Other standard files:
+
+StdAfx.h, StdAfx.cpp
+    These files are used to build a precompiled header (PCH) file
+    named dsfNativeFLACSource.pch and a precompiled types file named StdAfx.obj.
+
+/////////////////////////////////////////////////////////////////////////////
+Other notes:
+
+AppWizard uses "TODO:" comments to indicate parts of the source code you
+should add to or customize.
+
+/////////////////////////////////////////////////////////////////////////////

Added: trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/dsfNativeFLACSource.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/dsfNativeFLACSource.cpp	2004-10-24 11:18:23 UTC (rev 8083)
+++ trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/dsfNativeFLACSource.cpp	2004-10-25 07:09:21 UTC (rev 8084)
@@ -0,0 +1,12 @@
+// dsfNativeFLACSource.cpp : Defines the entry point for the DLL application.
+//
+
+#include "stdafx.h"
+BOOL APIENTRY DllMain( HANDLE hModule, 
+                       DWORD  ul_reason_for_call, 
+                       LPVOID lpReserved
+					 )
+{
+    return TRUE;
+}
+

Added: trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/dsfNativeFLACSource.vcproj
===================================================================
--- trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/dsfNativeFLACSource.vcproj	2004-10-24 11:18:23 UTC (rev 8083)
+++ trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/dsfNativeFLACSource.vcproj	2004-10-25 07:09:21 UTC (rev 8084)
@@ -0,0 +1,155 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="7.10"
+	Name="dsfNativeFLACSource"
+	ProjectGUID="{43DEE58F-CEC6-49B4-BC06-3D28978BAB63}"
+	Keyword="Win32Proj">
+	<Platforms>
+		<Platform
+			Name="Win32"/>
+	</Platforms>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="Debug"
+			IntermediateDirectory="Debug"
+			ConfigurationType="2"
+			CharacterSet="2">
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="0"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;DSFNATIVEFLACSOURCE_EXPORTS"
+				MinimalRebuild="TRUE"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="1"
+				UsePrecompiledHeader="3"
+				WarningLevel="3"
+				Detect64BitPortabilityProblems="TRUE"
+				DebugInformationFormat="4"/>
+			<Tool
+				Name="VCCustomBuildTool"/>
+			<Tool
+				Name="VCLinkerTool"
+				OutputFile="$(OutDir)/dsfNativeFLACSource.dll"
+				LinkIncremental="2"
+				GenerateDebugInformation="TRUE"
+				ProgramDatabaseFile="$(OutDir)/dsfNativeFLACSource.pdb"
+				SubSystem="2"
+				ImportLibrary="$(OutDir)/dsfNativeFLACSource.lib"
+				TargetMachine="1"/>
+			<Tool
+				Name="VCMIDLTool"/>
+			<Tool
+				Name="VCPostBuildEventTool"/>
+			<Tool
+				Name="VCPreBuildEventTool"/>
+			<Tool
+				Name="VCPreLinkEventTool"/>
+			<Tool
+				Name="VCResourceCompilerTool"/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"/>
+			<Tool
+				Name="VCWebDeploymentTool"/>
+			<Tool
+				Name="VCManagedWrapperGeneratorTool"/>
+			<Tool
+				Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="Release"
+			IntermediateDirectory="Release"
+			ConfigurationType="2"
+			CharacterSet="2">
+			<Tool
+				Name="VCCLCompilerTool"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;DSFNATIVEFLACSOURCE_EXPORTS"
+				RuntimeLibrary="0"
+				UsePrecompiledHeader="3"
+				WarningLevel="3"
+				Detect64BitPortabilityProblems="TRUE"
+				DebugInformationFormat="3"/>
+			<Tool
+				Name="VCCustomBuildTool"/>
+			<Tool
+				Name="VCLinkerTool"
+				OutputFile="$(OutDir)/dsfNativeFLACSource.dll"
+				LinkIncremental="1"
+				GenerateDebugInformation="TRUE"
+				SubSystem="2"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				ImportLibrary="$(OutDir)/dsfNativeFLACSource.lib"
+				TargetMachine="1"/>
+			<Tool
+				Name="VCMIDLTool"/>
+			<Tool
+				Name="VCPostBuildEventTool"/>
+			<Tool
+				Name="VCPreBuildEventTool"/>
+			<Tool
+				Name="VCPreLinkEventTool"/>
+			<Tool
+				Name="VCResourceCompilerTool"/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"/>
+			<Tool
+				Name="VCWebDeploymentTool"/>
+			<Tool
+				Name="VCManagedWrapperGeneratorTool"/>
+			<Tool
+				Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+		</Configuration>
+	</Configurations>
+	<References>
+	</References>
+	<Files>
+		<Filter
+			Name="Source Files"
+			Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
+			UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
+			<File
+				RelativePath=".\dsfNativeFLACSource.cpp">
+			</File>
+			<File
+				RelativePath=".\stdafx.cpp">
+				<FileConfiguration
+					Name="Debug|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						UsePrecompiledHeader="1"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						UsePrecompiledHeader="1"/>
+				</FileConfiguration>
+			</File>
+		</Filter>
+		<Filter
+			Name="Header Files"
+			Filter="h;hpp;hxx;hm;inl;inc;xsd"
+			UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
+			<File
+				RelativePath=".\stdafx.h">
+			</File>
+		</Filter>
+		<Filter
+			Name="Resource Files"
+			Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
+			UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
+		</Filter>
+		<File
+			RelativePath=".\ReadMe.txt">
+		</File>
+	</Files>
+	<Globals>
+	</Globals>
+</VisualStudioProject>

Added: trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/stdafx.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/stdafx.cpp	2004-10-24 11:18:23 UTC (rev 8083)
+++ trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/stdafx.cpp	2004-10-25 07:09:21 UTC (rev 8084)
@@ -0,0 +1,8 @@
+// stdafx.cpp : source file that includes just the standard includes
+// dsfNativeFLACSource.pch will be the pre-compiled header
+// stdafx.obj will contain the pre-compiled type information
+
+#include "stdafx.h"
+
+// TODO: reference any additional headers you need in STDAFX.H
+// and not in this file

Added: trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/stdafx.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/stdafx.h	2004-10-24 11:18:23 UTC (rev 8083)
+++ trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/stdafx.h	2004-10-25 07:09:21 UTC (rev 8084)
@@ -0,0 +1,13 @@
+// stdafx.h : include file for standard system include files,
+// or project specific include files that are used frequently, but
+// are changed infrequently
+//
+
+#pragma once
+
+
+#define WIN32_LEAN_AND_MEAN		// Exclude rarely-used stuff from Windows headers
+// Windows Header Files:
+#include <windows.h>
+
+// TODO: reference additional headers your program requires here

Modified: trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/DSPlayer.cpp
===================================================================
--- trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/DSPlayer.cpp	2004-10-24 11:18:23 UTC (rev 8083)
+++ trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/DSPlayer.cpp	2004-10-25 07:09:21 UTC (rev 8084)
@@ -241,7 +241,8 @@
 	if (locHR == S_OK) {
 		debugLog<<"We got the IVideoWindow"<<endl;
 
-		locVW->put_MessageDrain((OAHWND)inWindow);
+		
+		//locVW->put_MessageDrain((OAHWND)inWindow);
 
 
 		locVW->put_Owner((OAHWND)inWindow);

Modified: trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayerCtrl.cpp
===================================================================
--- trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayerCtrl.cpp	2004-10-24 11:18:23 UTC (rev 8083)
+++ trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayerCtrl.cpp	2004-10-25 07:09:21 UTC (rev 8084)
@@ -120,6 +120,8 @@
 {
 	InitializeIIDs(&IID_DaxAnxOggPlayer, &IID_DaxAnxOggPlayerEvents);
 	// TODO: Initialize your control's instance data here.
+	debugLog.open("G:\\logs\\ax_cntrol.log", ios_base::out);
+	debugLog<<"Control activated..."<<endl;
 }
 
 
@@ -183,6 +185,7 @@
 
 BOOL CaxAnxOggPlayerCtrl::PreCreateWindow(CREATESTRUCT& cs)
 {
+	debugLog<<"Pre create..."<<endl;
 	cs.lpszClass = _T("STATIC");
 	return COleControl::PreCreateWindow(cs);
 }
@@ -219,6 +222,7 @@
 
 int CaxAnxOggPlayerCtrl::OnCreate(LPCREATESTRUCT lpCreateStruct)
 {
+	debugLog<<"On create..."<<endl;
 	if (COleControl::OnCreate(lpCreateStruct) == -1)
 		return -1;
 

Modified: trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayerCtrl.h
===================================================================
--- trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayerCtrl.h	2004-10-24 11:18:23 UTC (rev 8083)
+++ trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayerCtrl.h	2004-10-25 07:09:21 UTC (rev 8084)
@@ -1,6 +1,9 @@
 #pragma once
 #include "controldialog.h"
+#include <fstream>
 
+using namespace std;
+
 // axAnxOggPlayerCtrl.h : Declaration of the CaxAnxOggPlayerCtrl ActiveX Control class.
 
 
@@ -51,6 +54,7 @@
 	};
 protected:
 	CControlDialog mDialog;
+	fstream debugLog;
 public:
 	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
 };



More information about the commits mailing list