Updated version to 1.2.12
authorSam Lantinga <slouken@libsdl.org>
Tue, 18 Jan 2011 11:11:21 -0800
changeset 495b4d178cd982d
parent 494 4f4caf04bcd1
child 496 965e6d675595
Updated version to 1.2.12
SDL_mixer.h
VisualC.zip
VisualC/SDL_mixer.dsp
VisualC/SDL_mixer.dsw
VisualC/SDL_mixer.sln
VisualC/SDL_mixer.vcproj
VisualC/Version.rc
VisualC/clean.sh
VisualC/mikmod/include/mikmod.h
VisualC/mikmod/lib/mikmod.dll
VisualC/native_midi/native_midi.dsp
VisualC/native_midi/native_midi.vcproj
VisualC/playmus/playmus.dsp
VisualC/playmus/playmus.vcproj
VisualC/playwave/playwave.dsp
VisualC/playwave/playwave.vcproj
VisualC/resource.h
VisualC/smpeg/include/MPEGfilter.h
VisualC/smpeg/include/smpeg.h
VisualC/smpeg/lib/smpeg.dll
VisualC/timidity/timidity.dsp
VisualC/timidity/timidity.vcproj
VisualC/vorbis/include/codec.h
VisualC/vorbis/include/ogg/config_types.h
VisualC/vorbis/include/ogg/ogg.h
VisualC/vorbis/include/ogg/os_types.h
VisualC/vorbis/include/vorbis/codec.h
VisualC/vorbis/include/vorbis/vorbisfile.h
VisualC/vorbis/include/vorbisfile.h
VisualC/vorbis/lib/libogg-0.dll
VisualC/vorbis/lib/libvorbis-0.dll
VisualC/vorbis/lib/libvorbisfile-3.dll
configure.in
version.rc
     1.1 --- a/SDL_mixer.h	Tue Jan 18 11:07:36 2011 -0800
     1.2 +++ b/SDL_mixer.h	Tue Jan 18 11:11:21 2011 -0800
     1.3 @@ -41,7 +41,7 @@
     1.4  */
     1.5  #define SDL_MIXER_MAJOR_VERSION	1
     1.6  #define SDL_MIXER_MINOR_VERSION	2
     1.7 -#define SDL_MIXER_PATCHLEVEL    11
     1.8 +#define SDL_MIXER_PATCHLEVEL    12
     1.9  
    1.10  /* This macro can be used to fill a version structure with the compile-time
    1.11   * version of the SDL_mixer library.
     2.1 Binary file VisualC.zip has changed
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/VisualC/SDL_mixer.dsp	Tue Jan 18 11:11:21 2011 -0800
     3.3 @@ -0,0 +1,228 @@
     3.4 +# Microsoft Developer Studio Project File - Name="SDL_mixer" - Package Owner=<4>
     3.5 +# Microsoft Developer Studio Generated Build File, Format Version 5.00
     3.6 +# ** DO NOT EDIT **
     3.7 +
     3.8 +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
     3.9 +
    3.10 +CFG=SDL_mixer - Win32 Debug
    3.11 +!MESSAGE This is not a valid makefile. To build this project using NMAKE,
    3.12 +!MESSAGE use the Export Makefile command and run
    3.13 +!MESSAGE 
    3.14 +!MESSAGE NMAKE /f "SDL_mixer.mak".
    3.15 +!MESSAGE 
    3.16 +!MESSAGE You can specify a configuration when running NMAKE
    3.17 +!MESSAGE by defining the macro CFG on the command line. For example:
    3.18 +!MESSAGE 
    3.19 +!MESSAGE NMAKE /f "SDL_mixer.mak" CFG="SDL_mixer - Win32 Debug"
    3.20 +!MESSAGE 
    3.21 +!MESSAGE Possible choices for configuration are:
    3.22 +!MESSAGE 
    3.23 +!MESSAGE "SDL_mixer - Win32 Release" (based on\
    3.24 + "Win32 (x86) Dynamic-Link Library")
    3.25 +!MESSAGE "SDL_mixer - Win32 Debug" (based on\
    3.26 + "Win32 (x86) Dynamic-Link Library")
    3.27 +!MESSAGE 
    3.28 +
    3.29 +# Begin Project
    3.30 +# PROP Scc_ProjName ""
    3.31 +# PROP Scc_LocalPath ""
    3.32 +CPP=cl.exe
    3.33 +MTL=midl.exe
    3.34 +RSC=rc.exe
    3.35 +
    3.36 +!IF  "$(CFG)" == "SDL_mixer - Win32 Release"
    3.37 +
    3.38 +# PROP BASE Use_MFC 0
    3.39 +# PROP BASE Use_Debug_Libraries 0
    3.40 +# PROP BASE Output_Dir "Release"
    3.41 +# PROP BASE Intermediate_Dir "Release"
    3.42 +# PROP BASE Target_Dir ""
    3.43 +# PROP Use_MFC 0
    3.44 +# PROP Use_Debug_Libraries 0
    3.45 +# PROP Output_Dir "Release"
    3.46 +# PROP Intermediate_Dir "Release"
    3.47 +# PROP Ignore_Export_Lib 0
    3.48 +# PROP Target_Dir ""
    3.49 +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
    3.50 +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\mikmod" /I "..\timidity" /I "..\native_midi" /I "vorbis\include" /I "smpeg\include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "WAV_MUSIC" /D "MOD_MUSIC" /D MOD_DYNAMIC=\"mikmod.dll\" /D "MID_MUSIC" /D "USE_TIMIDITY_MIDI" /D "USE_NATIVE_MIDI" /D "OGG_MUSIC" /D OGG_DYNAMIC=\"libvorbisfile-3.dll\" /D "MP3_MUSIC" /D MP3_DYNAMIC=\"smpeg.dll\" /YX /FD /c
    3.51 +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
    3.52 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
    3.53 +# ADD BASE RSC /l 0x409 /d "NDEBUG"
    3.54 +# ADD RSC /l 0x409 /d "NDEBUG"
    3.55 +BSC32=bscmake.exe
    3.56 +# ADD BASE BSC32 /nologo
    3.57 +# ADD BSC32 /nologo
    3.58 +LINK32=link.exe
    3.59 +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /machine:I386
    3.60 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib winmm.lib SDL.lib /nologo /subsystem:windows /dll /machine:I386
    3.61 +
    3.62 +!ELSEIF  "$(CFG)" == "SDL_mixer - Win32 Debug"
    3.63 +
    3.64 +# PROP BASE Use_MFC 0
    3.65 +# PROP BASE Use_Debug_Libraries 1
    3.66 +# PROP BASE Output_Dir "Debug"
    3.67 +# PROP BASE Intermediate_Dir "Debug"
    3.68 +# PROP BASE Target_Dir ""
    3.69 +# PROP Use_MFC 0
    3.70 +# PROP Use_Debug_Libraries 1
    3.71 +# PROP Output_Dir "Debug"
    3.72 +# PROP Intermediate_Dir "Debug"
    3.73 +# PROP Ignore_Export_Lib 0
    3.74 +# PROP Target_Dir ""
    3.75 +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
    3.76 +# ADD CPP /nologo /MD /W3 /Gm /GX /Zi /Od /I "..\mikmod" /I "..\timidity" /I "..\native_midi" /I "vorbis\include" /I "smpeg\include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "WAV_MUSIC" /D "MOD_MUSIC" /D MOD_DYNAMIC=\"mikmod.dll\" /D MOD_DYNAMIC=\"mikmod.dll\" /D "MID_MUSIC" /D "USE_TIMIDITY_MIDI" /D "USE_NATIVE_MIDI" /D "OGG_MUSIC" /D OGG_DYNAMIC=\"libvorbisfile-3.dll\" /D "MP3_MUSIC" /D MP3_DYNAMIC=\"smpeg.dll\" /YX /FD /c
    3.77 +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
    3.78 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
    3.79 +# ADD BASE RSC /l 0x409 /d "_DEBUG"
    3.80 +# ADD RSC /l 0x409 /d "_DEBUG"
    3.81 +BSC32=bscmake.exe
    3.82 +# ADD BASE BSC32 /nologo
    3.83 +# ADD BSC32 /nologo
    3.84 +LINK32=link.exe
    3.85 +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
    3.86 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib winmm.lib SDL.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
    3.87 +
    3.88 +!ENDIF 
    3.89 +
    3.90 +# Begin Target
    3.91 +
    3.92 +# Name "SDL_mixer - Win32 Release"
    3.93 +# Name "SDL_mixer - Win32 Debug"
    3.94 +# Begin Source File
    3.95 +
    3.96 +SOURCE=..\dynamic_flac.c
    3.97 +# End Source File
    3.98 +# Begin Source File
    3.99 +
   3.100 +SOURCE=..\dynamic_flac.h
   3.101 +# End Source File
   3.102 +# Begin Source File
   3.103 +
   3.104 +SOURCE=..\dynamic_mod.c
   3.105 +# End Source File
   3.106 +# Begin Source File
   3.107 +
   3.108 +SOURCE=..\dynamic_mod.h
   3.109 +# End Source File
   3.110 +# Begin Source File
   3.111 +
   3.112 +SOURCE=..\dynamic_mp3.c
   3.113 +# End Source File
   3.114 +# Begin Source File
   3.115 +
   3.116 +SOURCE=..\dynamic_mp3.h
   3.117 +# End Source File
   3.118 +# Begin Source File
   3.119 +
   3.120 +SOURCE=..\dynamic_ogg.c
   3.121 +# End Source File
   3.122 +# Begin Source File
   3.123 +
   3.124 +SOURCE=..\dynamic_ogg.h
   3.125 +# End Source File
   3.126 +# Begin Source File
   3.127 +
   3.128 +SOURCE=..\effect_position.c
   3.129 +# End Source File
   3.130 +# Begin Source File
   3.131 +
   3.132 +SOURCE=..\effect_stereoreverse.c
   3.133 +# End Source File
   3.134 +# Begin Source File
   3.135 +
   3.136 +SOURCE=..\effects_internal.c
   3.137 +# End Source File
   3.138 +# Begin Source File
   3.139 +
   3.140 +SOURCE=..\effects_internal.h
   3.141 +# End Source File
   3.142 +# Begin Source File
   3.143 +
   3.144 +SOURCE=..\load_aiff.c
   3.145 +# End Source File
   3.146 +# Begin Source File
   3.147 +
   3.148 +SOURCE=..\load_aiff.h
   3.149 +# End Source File
   3.150 +# Begin Source File
   3.151 +
   3.152 +SOURCE=..\load_ogg.c
   3.153 +# End Source File
   3.154 +# Begin Source File
   3.155 +
   3.156 +SOURCE=..\load_ogg.h
   3.157 +# End Source File
   3.158 +# Begin Source File
   3.159 +
   3.160 +SOURCE=..\load_voc.c
   3.161 +# End Source File
   3.162 +# Begin Source File
   3.163 +
   3.164 +SOURCE=..\load_voc.h
   3.165 +# End Source File
   3.166 +# Begin Source File
   3.167 +
   3.168 +SOURCE=..\mixer.c
   3.169 +# End Source File
   3.170 +# Begin Source File
   3.171 +
   3.172 +SOURCE=..\music.c
   3.173 +# End Source File
   3.174 +# Begin Source File
   3.175 +
   3.176 +SOURCE=..\music_cmd.c
   3.177 +# End Source File
   3.178 +# Begin Source File
   3.179 +
   3.180 +SOURCE=..\music_cmd.h
   3.181 +# End Source File
   3.182 +# Begin Source File
   3.183 +
   3.184 +SOURCE=..\music_flac.c
   3.185 +# End Source File
   3.186 +# Begin Source File
   3.187 +
   3.188 +SOURCE=..\music_flac.h
   3.189 +# End Source File
   3.190 +# Begin Source File
   3.191 +
   3.192 +SOURCE=..\music_mad.c
   3.193 +# End Source File
   3.194 +# Begin Source File
   3.195 +
   3.196 +SOURCE=..\music_mad.h
   3.197 +# End Source File
   3.198 +# Begin Source File
   3.199 +
   3.200 +SOURCE=..\music_mod.c
   3.201 +# End Source File
   3.202 +# Begin Source File
   3.203 +
   3.204 +SOURCE=..\music_mod.h
   3.205 +# End Source File
   3.206 +# Begin Source File
   3.207 +
   3.208 +SOURCE=..\music_ogg.c
   3.209 +# End Source File
   3.210 +# Begin Source File
   3.211 +
   3.212 +SOURCE=..\music_ogg.h
   3.213 +# End Source File
   3.214 +# Begin Source File
   3.215 +
   3.216 +SOURCE=..\SDL_mixer.h
   3.217 +# End Source File
   3.218 +# Begin Source File
   3.219 +
   3.220 +SOURCE=..\wavestream.c
   3.221 +# End Source File
   3.222 +# Begin Source File
   3.223 +
   3.224 +SOURCE=..\wavestream.h
   3.225 +# End Source File
   3.226 +# Begin Source File
   3.227 +
   3.228 +SOURCE=Version.rc
   3.229 +# End Source File
   3.230 +# End Target
   3.231 +# End Project
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/VisualC/SDL_mixer.dsw	Tue Jan 18 11:11:21 2011 -0800
     4.3 @@ -0,0 +1,83 @@
     4.4 +Microsoft Developer Studio Workspace File, Format Version 5.00
     4.5 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
     4.6 +
     4.7 +###############################################################################
     4.8 +
     4.9 +Project: "SDL_mixer"=".\SDL_mixer.dsp" - Package Owner=<4>
    4.10 +
    4.11 +Package=<5>
    4.12 +{{{
    4.13 +}}}
    4.14 +
    4.15 +Package=<4>
    4.16 +{{{
    4.17 +    Begin Project Dependency
    4.18 +    Project_Dep_Name timidity
    4.19 +    End Project Dependency
    4.20 +    Begin Project Dependency
    4.21 +    Project_Dep_Name native_midi
    4.22 +    End Project Dependency
    4.23 +}}}
    4.24 +
    4.25 +###############################################################################
    4.26 +
    4.27 +Project: "native_midi"=".\native_midi\native_midi.dsp" - Package Owner=<4>
    4.28 +
    4.29 +Package=<5>
    4.30 +{{{
    4.31 +}}}
    4.32 +
    4.33 +Package=<4>
    4.34 +{{{
    4.35 +}}}
    4.36 +
    4.37 +###############################################################################
    4.38 +
    4.39 +Project: "playmus"=".\playmus\playmus.dsp" - Package Owner=<4>
    4.40 +
    4.41 +Package=<5>
    4.42 +{{{
    4.43 +}}}
    4.44 +
    4.45 +Package=<4>
    4.46 +{{{
    4.47 +}}}
    4.48 +
    4.49 +###############################################################################
    4.50 +
    4.51 +Project: "playwave"=".\playwave\playwave.dsp" - Package Owner=<4>
    4.52 +
    4.53 +Package=<5>
    4.54 +{{{
    4.55 +}}}
    4.56 +
    4.57 +Package=<4>
    4.58 +{{{
    4.59 +}}}
    4.60 +
    4.61 +###############################################################################
    4.62 +
    4.63 +Project: "timidity"=".\timidity\timidity.dsp" - Package Owner=<4>
    4.64 +
    4.65 +Package=<5>
    4.66 +{{{
    4.67 +}}}
    4.68 +
    4.69 +Package=<4>
    4.70 +{{{
    4.71 +}}}
    4.72 +
    4.73 +###############################################################################
    4.74 +
    4.75 +Global:
    4.76 +
    4.77 +Package=<5>
    4.78 +{{{
    4.79 +}}}
    4.80 +
    4.81 +Package=<3>
    4.82 +{{{
    4.83 +}}}
    4.84 +
    4.85 +###############################################################################
    4.86 +
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/VisualC/SDL_mixer.sln	Tue Jan 18 11:11:21 2011 -0800
     5.3 @@ -0,0 +1,54 @@
     5.4 +
     5.5 +Microsoft Visual Studio Solution File, Format Version 9.00
     5.6 +# Visual Studio 2005
     5.7 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDL_mixer", "SDL_mixer.vcproj", "{F7E944B3-0815-40CD-B3E4-90B2A15B0E33}"
     5.8 +	ProjectSection(ProjectDependencies) = postProject
     5.9 +		{B162B6F1-E876-4D5F-A1F6-E3A6DC2F4A2C} = {B162B6F1-E876-4D5F-A1F6-E3A6DC2F4A2C}
    5.10 +		{EBDA67CA-4A23-4F22-BFBC-B8DBE0580D4F} = {EBDA67CA-4A23-4F22-BFBC-B8DBE0580D4F}
    5.11 +	EndProjectSection
    5.12 +EndProject
    5.13 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "native_midi", "native_midi\native_midi.vcproj", "{EBDA67CA-4A23-4F22-BFBC-B8DBE0580D4F}"
    5.14 +EndProject
    5.15 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "playmus", "playmus\playmus.vcproj", "{72CB0DD4-051D-486C-9CB3-75FE16F7D87A}"
    5.16 +	ProjectSection(ProjectDependencies) = postProject
    5.17 +		{F7E944B3-0815-40CD-B3E4-90B2A15B0E33} = {F7E944B3-0815-40CD-B3E4-90B2A15B0E33}
    5.18 +	EndProjectSection
    5.19 +EndProject
    5.20 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "playwave", "playwave\playwave.vcproj", "{AC86CEAA-9908-476F-B15F-C7193CEF81BD}"
    5.21 +	ProjectSection(ProjectDependencies) = postProject
    5.22 +		{F7E944B3-0815-40CD-B3E4-90B2A15B0E33} = {F7E944B3-0815-40CD-B3E4-90B2A15B0E33}
    5.23 +	EndProjectSection
    5.24 +EndProject
    5.25 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "timidity", "timidity\timidity.vcproj", "{B162B6F1-E876-4D5F-A1F6-E3A6DC2F4A2C}"
    5.26 +EndProject
    5.27 +Global
    5.28 +	GlobalSection(SolutionConfigurationPlatforms) = preSolution
    5.29 +		Debug|Win32 = Debug|Win32
    5.30 +		Release|Win32 = Release|Win32
    5.31 +	EndGlobalSection
    5.32 +	GlobalSection(ProjectConfigurationPlatforms) = postSolution
    5.33 +		{F7E944B3-0815-40CD-B3E4-90B2A15B0E33}.Debug|Win32.ActiveCfg = Debug|Win32
    5.34 +		{F7E944B3-0815-40CD-B3E4-90B2A15B0E33}.Debug|Win32.Build.0 = Debug|Win32
    5.35 +		{F7E944B3-0815-40CD-B3E4-90B2A15B0E33}.Release|Win32.ActiveCfg = Release|Win32
    5.36 +		{F7E944B3-0815-40CD-B3E4-90B2A15B0E33}.Release|Win32.Build.0 = Release|Win32
    5.37 +		{EBDA67CA-4A23-4F22-BFBC-B8DBE0580D4F}.Debug|Win32.ActiveCfg = Debug|Win32
    5.38 +		{EBDA67CA-4A23-4F22-BFBC-B8DBE0580D4F}.Debug|Win32.Build.0 = Debug|Win32
    5.39 +		{EBDA67CA-4A23-4F22-BFBC-B8DBE0580D4F}.Release|Win32.ActiveCfg = Release|Win32
    5.40 +		{EBDA67CA-4A23-4F22-BFBC-B8DBE0580D4F}.Release|Win32.Build.0 = Release|Win32
    5.41 +		{72CB0DD4-051D-486C-9CB3-75FE16F7D87A}.Debug|Win32.ActiveCfg = Debug|Win32
    5.42 +		{72CB0DD4-051D-486C-9CB3-75FE16F7D87A}.Debug|Win32.Build.0 = Debug|Win32
    5.43 +		{72CB0DD4-051D-486C-9CB3-75FE16F7D87A}.Release|Win32.ActiveCfg = Release|Win32
    5.44 +		{72CB0DD4-051D-486C-9CB3-75FE16F7D87A}.Release|Win32.Build.0 = Release|Win32
    5.45 +		{AC86CEAA-9908-476F-B15F-C7193CEF81BD}.Debug|Win32.ActiveCfg = Debug|Win32
    5.46 +		{AC86CEAA-9908-476F-B15F-C7193CEF81BD}.Debug|Win32.Build.0 = Debug|Win32
    5.47 +		{AC86CEAA-9908-476F-B15F-C7193CEF81BD}.Release|Win32.ActiveCfg = Release|Win32
    5.48 +		{AC86CEAA-9908-476F-B15F-C7193CEF81BD}.Release|Win32.Build.0 = Release|Win32
    5.49 +		{B162B6F1-E876-4D5F-A1F6-E3A6DC2F4A2C}.Debug|Win32.ActiveCfg = Debug|Win32
    5.50 +		{B162B6F1-E876-4D5F-A1F6-E3A6DC2F4A2C}.Debug|Win32.Build.0 = Debug|Win32
    5.51 +		{B162B6F1-E876-4D5F-A1F6-E3A6DC2F4A2C}.Release|Win32.ActiveCfg = Release|Win32
    5.52 +		{B162B6F1-E876-4D5F-A1F6-E3A6DC2F4A2C}.Release|Win32.Build.0 = Release|Win32
    5.53 +	EndGlobalSection
    5.54 +	GlobalSection(SolutionProperties) = preSolution
    5.55 +		HideSolutionNode = FALSE
    5.56 +	EndGlobalSection
    5.57 +EndGlobal
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/VisualC/SDL_mixer.vcproj	Tue Jan 18 11:11:21 2011 -0800
     6.3 @@ -0,0 +1,602 @@
     6.4 +<?xml version="1.0" encoding="Windows-1252"?>
     6.5 +<VisualStudioProject
     6.6 +	ProjectType="Visual C++"
     6.7 +	Version="8.00"
     6.8 +	Name="SDL_mixer"
     6.9 +	ProjectGUID="{F7E944B3-0815-40CD-B3E4-90B2A15B0E33}"
    6.10 +	RootNamespace="SDL_mixer"
    6.11 +	>
    6.12 +	<Platforms>
    6.13 +		<Platform
    6.14 +			Name="Win32"
    6.15 +		/>
    6.16 +	</Platforms>
    6.17 +	<ToolFiles>
    6.18 +	</ToolFiles>
    6.19 +	<Configurations>
    6.20 +		<Configuration
    6.21 +			Name="Debug|Win32"
    6.22 +			OutputDirectory=".\Debug"
    6.23 +			IntermediateDirectory=".\Debug"
    6.24 +			ConfigurationType="2"
    6.25 +			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
    6.26 +			UseOfMFC="0"
    6.27 +			ATLMinimizesCRunTimeLibraryUsage="false"
    6.28 +			>
    6.29 +			<Tool
    6.30 +				Name="VCPreBuildEventTool"
    6.31 +			/>
    6.32 +			<Tool
    6.33 +				Name="VCCustomBuildTool"
    6.34 +			/>
    6.35 +			<Tool
    6.36 +				Name="VCXMLDataGeneratorTool"
    6.37 +			/>
    6.38 +			<Tool
    6.39 +				Name="VCWebServiceProxyGeneratorTool"
    6.40 +			/>
    6.41 +			<Tool
    6.42 +				Name="VCMIDLTool"
    6.43 +				PreprocessorDefinitions="_DEBUG"
    6.44 +				MkTypLibCompatible="true"
    6.45 +				SuppressStartupBanner="true"
    6.46 +				TargetEnvironment="1"
    6.47 +				TypeLibraryName=".\Debug/SDL_mixer.tlb"
    6.48 +				HeaderFileName=""
    6.49 +			/>
    6.50 +			<Tool
    6.51 +				Name="VCCLCompilerTool"
    6.52 +				AdditionalOptions="/D OGG_DYNAMIC=\&quot;libvorbisfile-3.dll\&quot;"
    6.53 +				Optimization="0"
    6.54 +				AdditionalIncludeDirectories="..\timidity;..\native_midi;mikmod\include;smpeg\include;vorbis\include"
    6.55 +				PreprocessorDefinitions="_DEBUG;WIN32;_WINDOWS;_CRT_SECURE_NO_WARNINGS;WAV_MUSIC;MOD_MUSIC;MOD_DYNAMIC=\&quot;mikmod.dll\&quot;;MID_MUSIC;USE_TIMIDITY_MIDI;USE_NATIVE_MIDI;OGG_MUSIC;OGG_DYNAMIC=\&quot;libvorbisfile-3.dll\&quot;;MP3_MUSIC;MP3_DYNAMIC=\&quot;smpeg.dll\&quot;"
    6.56 +				MinimalRebuild="true"
    6.57 +				RuntimeLibrary="2"
    6.58 +				PrecompiledHeaderFile=".\Debug/SDL_mixer.pch"
    6.59 +				AssemblerListingLocation=".\Debug/"
    6.60 +				ObjectFile=".\Debug/"
    6.61 +				ProgramDataBaseFileName=".\Debug/"
    6.62 +				WarningLevel="3"
    6.63 +				SuppressStartupBanner="true"
    6.64 +				DebugInformationFormat="4"
    6.65 +			/>
    6.66 +			<Tool
    6.67 +				Name="VCManagedResourceCompilerTool"
    6.68 +			/>
    6.69 +			<Tool
    6.70 +				Name="VCResourceCompilerTool"
    6.71 +				PreprocessorDefinitions="_DEBUG"
    6.72 +				Culture="1033"
    6.73 +			/>
    6.74 +			<Tool
    6.75 +				Name="VCPreLinkEventTool"
    6.76 +			/>
    6.77 +			<Tool
    6.78 +				Name="VCLinkerTool"
    6.79 +				AdditionalDependencies="winmm.lib SDL.lib"
    6.80 +				OutputFile=".\Debug/SDL_mixer.dll"
    6.81 +				LinkIncremental="2"
    6.82 +				SuppressStartupBanner="true"
    6.83 +				GenerateDebugInformation="true"
    6.84 +				ProgramDatabaseFile=".\Debug/SDL_mixer.pdb"
    6.85 +				SubSystem="2"
    6.86 +				ImportLibrary=".\Debug/SDL_mixer.lib"
    6.87 +				TargetMachine="1"
    6.88 +			/>
    6.89 +			<Tool
    6.90 +				Name="VCALinkTool"
    6.91 +			/>
    6.92 +			<Tool
    6.93 +				Name="VCManifestTool"
    6.94 +			/>
    6.95 +			<Tool
    6.96 +				Name="VCXDCMakeTool"
    6.97 +			/>
    6.98 +			<Tool
    6.99 +				Name="VCBscMakeTool"
   6.100 +				SuppressStartupBanner="true"
   6.101 +				OutputFile=".\Debug/SDL_mixer.bsc"
   6.102 +			/>
   6.103 +			<Tool
   6.104 +				Name="VCFxCopTool"
   6.105 +			/>
   6.106 +			<Tool
   6.107 +				Name="VCAppVerifierTool"
   6.108 +			/>
   6.109 +			<Tool
   6.110 +				Name="VCWebDeploymentTool"
   6.111 +			/>
   6.112 +			<Tool
   6.113 +				Name="VCPostBuildEventTool"
   6.114 +			/>
   6.115 +		</Configuration>
   6.116 +		<Configuration
   6.117 +			Name="Release|Win32"
   6.118 +			OutputDirectory=".\Release"
   6.119 +			IntermediateDirectory=".\Release"
   6.120 +			ConfigurationType="2"
   6.121 +			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
   6.122 +			UseOfMFC="0"
   6.123 +			ATLMinimizesCRunTimeLibraryUsage="false"
   6.124 +			>
   6.125 +			<Tool
   6.126 +				Name="VCPreBuildEventTool"
   6.127 +			/>
   6.128 +			<Tool
   6.129 +				Name="VCCustomBuildTool"
   6.130 +			/>
   6.131 +			<Tool
   6.132 +				Name="VCXMLDataGeneratorTool"
   6.133 +			/>
   6.134 +			<Tool
   6.135 +				Name="VCWebServiceProxyGeneratorTool"
   6.136 +			/>
   6.137 +			<Tool
   6.138 +				Name="VCMIDLTool"
   6.139 +				PreprocessorDefinitions="NDEBUG"
   6.140 +				MkTypLibCompatible="true"
   6.141 +				SuppressStartupBanner="true"
   6.142 +				TargetEnvironment="1"
   6.143 +				TypeLibraryName=".\Release/SDL_mixer.tlb"
   6.144 +				HeaderFileName=""
   6.145 +			/>
   6.146 +			<Tool
   6.147 +				Name="VCCLCompilerTool"
   6.148 +				AdditionalOptions="/D OGG_DYNAMIC=\&quot;libvorbisfile-3.dll\&quot;"
   6.149 +				Optimization="2"
   6.150 +				InlineFunctionExpansion="1"
   6.151 +				AdditionalIncludeDirectories="..\timidity;..\native_midi;mikmod\include;smpeg\include;vorbis\include"
   6.152 +				PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;_CRT_SECURE_NO_WARNINGS;WAV_MUSIC;MOD_MUSIC;MID_MUSIC;MOD_DYNAMIC=\&quot;mikmod.dll\&quot;;USE_TIMIDITY_MIDI;USE_NATIVE_MIDI;OGG_MUSIC;OGG_DYNAMIC=\&quot;libvorbisfile-3.dll\&quot;;MP3_MUSIC;MP3_DYNAMIC=\&quot;smpeg.dll\&quot;"
   6.153 +				StringPooling="true"
   6.154 +				RuntimeLibrary="2"
   6.155 +				EnableFunctionLevelLinking="true"
   6.156 +				PrecompiledHeaderFile=".\Release/SDL_mixer.pch"
   6.157 +				AssemblerListingLocation=".\Release/"
   6.158 +				ObjectFile=".\Release/"
   6.159 +				ProgramDataBaseFileName=".\Release/"
   6.160 +				WarningLevel="3"
   6.161 +				SuppressStartupBanner="true"
   6.162 +			/>
   6.163 +			<Tool
   6.164 +				Name="VCManagedResourceCompilerTool"
   6.165 +			/>
   6.166 +			<Tool
   6.167 +				Name="VCResourceCompilerTool"
   6.168 +				PreprocessorDefinitions="NDEBUG"
   6.169 +				Culture="1033"
   6.170 +			/>
   6.171 +			<Tool
   6.172 +				Name="VCPreLinkEventTool"
   6.173 +			/>
   6.174 +			<Tool
   6.175 +				Name="VCLinkerTool"
   6.176 +				AdditionalDependencies="winmm.lib SDL.lib"
   6.177 +				OutputFile=".\Release/SDL_mixer.dll"
   6.178 +				LinkIncremental="1"
   6.179 +				SuppressStartupBanner="true"
   6.180 +				ProgramDatabaseFile=".\Release/SDL_mixer.pdb"
   6.181 +				SubSystem="2"
   6.182 +				ImportLibrary=".\Release/SDL_mixer.lib"
   6.183 +				TargetMachine="1"
   6.184 +			/>
   6.185 +			<Tool
   6.186 +				Name="VCALinkTool"
   6.187 +			/>
   6.188 +			<Tool
   6.189 +				Name="VCManifestTool"
   6.190 +			/>
   6.191 +			<Tool
   6.192 +				Name="VCXDCMakeTool"
   6.193 +			/>
   6.194 +			<Tool
   6.195 +				Name="VCBscMakeTool"
   6.196 +				SuppressStartupBanner="true"
   6.197 +				OutputFile=".\Release/SDL_mixer.bsc"
   6.198 +			/>
   6.199 +			<Tool
   6.200 +				Name="VCFxCopTool"
   6.201 +			/>
   6.202 +			<Tool
   6.203 +				Name="VCAppVerifierTool"
   6.204 +			/>
   6.205 +			<Tool
   6.206 +				Name="VCWebDeploymentTool"
   6.207 +			/>
   6.208 +			<Tool
   6.209 +				Name="VCPostBuildEventTool"
   6.210 +			/>
   6.211 +		</Configuration>
   6.212 +	</Configurations>
   6.213 +	<References>
   6.214 +	</References>
   6.215 +	<Files>
   6.216 +		<File
   6.217 +			RelativePath="..\dynamic_flac.c"
   6.218 +			>
   6.219 +		</File>
   6.220 +		<File
   6.221 +			RelativePath="..\dynamic_flac.h"
   6.222 +			>
   6.223 +		</File>
   6.224 +		<File
   6.225 +			RelativePath="..\dynamic_mod.c"
   6.226 +			>
   6.227 +		</File>
   6.228 +		<File
   6.229 +			RelativePath="..\dynamic_mod.h"
   6.230 +			>
   6.231 +		</File>
   6.232 +		<File
   6.233 +			RelativePath="..\dynamic_mp3.c"
   6.234 +			>
   6.235 +			<FileConfiguration
   6.236 +				Name="Debug|Win32"
   6.237 +				>
   6.238 +				<Tool
   6.239 +					Name="VCCLCompilerTool"
   6.240 +					AdditionalIncludeDirectories=""
   6.241 +					PreprocessorDefinitions=""
   6.242 +				/>
   6.243 +			</FileConfiguration>
   6.244 +			<FileConfiguration
   6.245 +				Name="Release|Win32"
   6.246 +				>
   6.247 +				<Tool
   6.248 +					Name="VCCLCompilerTool"
   6.249 +					AdditionalIncludeDirectories=""
   6.250 +					PreprocessorDefinitions=""
   6.251 +				/>
   6.252 +			</FileConfiguration>
   6.253 +		</File>
   6.254 +		<File
   6.255 +			RelativePath="..\dynamic_mp3.h"
   6.256 +			>
   6.257 +		</File>
   6.258 +		<File
   6.259 +			RelativePath="..\dynamic_ogg.c"
   6.260 +			>
   6.261 +			<FileConfiguration
   6.262 +				Name="Debug|Win32"
   6.263 +				>
   6.264 +				<Tool
   6.265 +					Name="VCCLCompilerTool"
   6.266 +					AdditionalIncludeDirectories=""
   6.267 +					PreprocessorDefinitions=""
   6.268 +				/>
   6.269 +			</FileConfiguration>
   6.270 +			<FileConfiguration
   6.271 +				Name="Release|Win32"
   6.272 +				>
   6.273 +				<Tool
   6.274 +					Name="VCCLCompilerTool"
   6.275 +					AdditionalIncludeDirectories=""
   6.276 +					PreprocessorDefinitions=""
   6.277 +				/>
   6.278 +			</FileConfiguration>
   6.279 +		</File>
   6.280 +		<File
   6.281 +			RelativePath="..\dynamic_ogg.h"
   6.282 +			>
   6.283 +		</File>
   6.284 +		<File
   6.285 +			RelativePath="..\effect_position.c"
   6.286 +			>
   6.287 +			<FileConfiguration
   6.288 +				Name="Debug|Win32"
   6.289 +				>
   6.290 +				<Tool
   6.291 +					Name="VCCLCompilerTool"
   6.292 +					AdditionalIncludeDirectories=""
   6.293 +					PreprocessorDefinitions=""
   6.294 +				/>
   6.295 +			</FileConfiguration>
   6.296 +			<FileConfiguration
   6.297 +				Name="Release|Win32"
   6.298 +				>
   6.299 +				<Tool
   6.300 +					Name="VCCLCompilerTool"
   6.301 +					AdditionalIncludeDirectories=""
   6.302 +					PreprocessorDefinitions=""
   6.303 +				/>
   6.304 +			</FileConfiguration>
   6.305 +		</File>
   6.306 +		<File
   6.307 +			RelativePath="..\effect_stereoreverse.c"
   6.308 +			>
   6.309 +			<FileConfiguration
   6.310 +				Name="Debug|Win32"
   6.311 +				>
   6.312 +				<Tool
   6.313 +					Name="VCCLCompilerTool"
   6.314 +					AdditionalIncludeDirectories=""
   6.315 +					PreprocessorDefinitions=""
   6.316 +				/>
   6.317 +			</FileConfiguration>
   6.318 +			<FileConfiguration
   6.319 +				Name="Release|Win32"
   6.320 +				>
   6.321 +				<Tool
   6.322 +					Name="VCCLCompilerTool"
   6.323 +					AdditionalIncludeDirectories=""
   6.324 +					PreprocessorDefinitions=""
   6.325 +				/>
   6.326 +			</FileConfiguration>
   6.327 +		</File>
   6.328 +		<File
   6.329 +			RelativePath="..\effects_internal.c"
   6.330 +			>
   6.331 +			<FileConfiguration
   6.332 +				Name="Debug|Win32"
   6.333 +				>
   6.334 +				<Tool
   6.335 +					Name="VCCLCompilerTool"
   6.336 +					AdditionalIncludeDirectories=""
   6.337 +					PreprocessorDefinitions=""
   6.338 +				/>
   6.339 +			</FileConfiguration>
   6.340 +			<FileConfiguration
   6.341 +				Name="Release|Win32"
   6.342 +				>
   6.343 +				<Tool
   6.344 +					Name="VCCLCompilerTool"
   6.345 +					AdditionalIncludeDirectories=""
   6.346 +					PreprocessorDefinitions=""
   6.347 +				/>
   6.348 +			</FileConfiguration>
   6.349 +		</File>
   6.350 +		<File
   6.351 +			RelativePath="..\effects_internal.h"
   6.352 +			>
   6.353 +		</File>
   6.354 +		<File
   6.355 +			RelativePath="..\load_aiff.c"
   6.356 +			>
   6.357 +			<FileConfiguration
   6.358 +				Name="Debug|Win32"
   6.359 +				>
   6.360 +				<Tool
   6.361 +					Name="VCCLCompilerTool"
   6.362 +					AdditionalIncludeDirectories=""
   6.363 +					PreprocessorDefinitions=""
   6.364 +				/>
   6.365 +			</FileConfiguration>
   6.366 +			<FileConfiguration
   6.367 +				Name="Release|Win32"
   6.368 +				>
   6.369 +				<Tool
   6.370 +					Name="VCCLCompilerTool"
   6.371 +					AdditionalIncludeDirectories=""
   6.372 +					PreprocessorDefinitions=""
   6.373 +				/>
   6.374 +			</FileConfiguration>
   6.375 +		</File>
   6.376 +		<File
   6.377 +			RelativePath="..\load_aiff.h"
   6.378 +			>
   6.379 +		</File>
   6.380 +		<File
   6.381 +			RelativePath="..\load_ogg.c"
   6.382 +			>
   6.383 +			<FileConfiguration
   6.384 +				Name="Debug|Win32"
   6.385 +				>
   6.386 +				<Tool
   6.387 +					Name="VCCLCompilerTool"
   6.388 +					AdditionalIncludeDirectories=""
   6.389 +					PreprocessorDefinitions=""
   6.390 +				/>
   6.391 +			</FileConfiguration>
   6.392 +			<FileConfiguration
   6.393 +				Name="Release|Win32"
   6.394 +				>
   6.395 +				<Tool
   6.396 +					Name="VCCLCompilerTool"
   6.397 +					AdditionalIncludeDirectories=""
   6.398 +					PreprocessorDefinitions=""
   6.399 +				/>
   6.400 +			</FileConfiguration>
   6.401 +		</File>
   6.402 +		<File
   6.403 +			RelativePath="..\load_ogg.h"
   6.404 +			>
   6.405 +		</File>
   6.406 +		<File
   6.407 +			RelativePath="..\load_voc.c"
   6.408 +			>
   6.409 +			<FileConfiguration
   6.410 +				Name="Debug|Win32"
   6.411 +				>
   6.412 +				<Tool
   6.413 +					Name="VCCLCompilerTool"
   6.414 +					AdditionalIncludeDirectories=""
   6.415 +					PreprocessorDefinitions=""
   6.416 +				/>
   6.417 +			</FileConfiguration>
   6.418 +			<FileConfiguration
   6.419 +				Name="Release|Win32"
   6.420 +				>
   6.421 +				<Tool
   6.422 +					Name="VCCLCompilerTool"
   6.423 +					AdditionalIncludeDirectories=""
   6.424 +					PreprocessorDefinitions=""
   6.425 +				/>
   6.426 +			</FileConfiguration>
   6.427 +		</File>
   6.428 +		<File
   6.429 +			RelativePath="..\load_voc.h"
   6.430 +			>
   6.431 +		</File>
   6.432 +		<File
   6.433 +			RelativePath="..\mixer.c"
   6.434 +			>
   6.435 +			<FileConfiguration
   6.436 +				Name="Debug|Win32"
   6.437 +				>
   6.438 +				<Tool
   6.439 +					Name="VCCLCompilerTool"
   6.440 +					AdditionalIncludeDirectories=""
   6.441 +					PreprocessorDefinitions=""
   6.442 +				/>
   6.443 +			</FileConfiguration>
   6.444 +			<FileConfiguration
   6.445 +				Name="Release|Win32"
   6.446 +				>
   6.447 +				<Tool
   6.448 +					Name="VCCLCompilerTool"
   6.449 +					AdditionalIncludeDirectories=""
   6.450 +					PreprocessorDefinitions=""
   6.451 +				/>
   6.452 +			</FileConfiguration>
   6.453 +		</File>
   6.454 +		<File
   6.455 +			RelativePath="..\music.c"
   6.456 +			>
   6.457 +			<FileConfiguration
   6.458 +				Name="Debug|Win32"
   6.459 +				>
   6.460 +				<Tool
   6.461 +					Name="VCCLCompilerTool"
   6.462 +					AdditionalIncludeDirectories=""
   6.463 +					PreprocessorDefinitions=""
   6.464 +				/>
   6.465 +			</FileConfiguration>
   6.466 +			<FileConfiguration
   6.467 +				Name="Release|Win32"
   6.468 +				>
   6.469 +				<Tool
   6.470 +					Name="VCCLCompilerTool"
   6.471 +					AdditionalIncludeDirectories=""
   6.472 +					PreprocessorDefinitions=""
   6.473 +				/>
   6.474 +			</FileConfiguration>
   6.475 +		</File>
   6.476 +		<File
   6.477 +			RelativePath="..\music_cmd.c"
   6.478 +			>
   6.479 +			<FileConfiguration
   6.480 +				Name="Debug|Win32"
   6.481 +				>
   6.482 +				<Tool
   6.483 +					Name="VCCLCompilerTool"
   6.484 +					AdditionalIncludeDirectories=""
   6.485 +					PreprocessorDefinitions=""
   6.486 +				/>
   6.487 +			</FileConfiguration>
   6.488 +			<FileConfiguration
   6.489 +				Name="Release|Win32"
   6.490 +				>
   6.491 +				<Tool
   6.492 +					Name="VCCLCompilerTool"
   6.493 +					AdditionalIncludeDirectories=""
   6.494 +					PreprocessorDefinitions=""
   6.495 +				/>
   6.496 +			</FileConfiguration>
   6.497 +		</File>
   6.498 +		<File
   6.499 +			RelativePath="..\music_cmd.h"
   6.500 +			>
   6.501 +		</File>
   6.502 +		<File
   6.503 +			RelativePath="..\music_flac.c"
   6.504 +			>
   6.505 +		</File>
   6.506 +		<File
   6.507 +			RelativePath="..\music_flac.h"
   6.508 +			>
   6.509 +		</File>
   6.510 +		<File
   6.511 +			RelativePath="..\music_mad.c"
   6.512 +			>
   6.513 +		</File>
   6.514 +		<File
   6.515 +			RelativePath="..\music_mad.h"
   6.516 +			>
   6.517 +		</File>
   6.518 +		<File
   6.519 +			RelativePath="..\music_mod.c"
   6.520 +			>
   6.521 +		</File>
   6.522 +		<File
   6.523 +			RelativePath="..\music_mod.h"
   6.524 +			>
   6.525 +		</File>
   6.526 +		<File
   6.527 +			RelativePath="..\music_ogg.c"
   6.528 +			>
   6.529 +			<FileConfiguration
   6.530 +				Name="Debug|Win32"
   6.531 +				>
   6.532 +				<Tool
   6.533 +					Name="VCCLCompilerTool"
   6.534 +					AdditionalIncludeDirectories=""
   6.535 +					PreprocessorDefinitions=""
   6.536 +				/>
   6.537 +			</FileConfiguration>
   6.538 +			<FileConfiguration
   6.539 +				Name="Release|Win32"
   6.540 +				>
   6.541 +				<Tool
   6.542 +					Name="VCCLCompilerTool"
   6.543 +					AdditionalIncludeDirectories=""
   6.544 +					PreprocessorDefinitions=""
   6.545 +				/>
   6.546 +			</FileConfiguration>
   6.547 +		</File>
   6.548 +		<File
   6.549 +			RelativePath="..\music_ogg.h"
   6.550 +			>
   6.551 +		</File>
   6.552 +		<File
   6.553 +			RelativePath="..\SDL_mixer.h"
   6.554 +			>
   6.555 +		</File>
   6.556 +		<File
   6.557 +			RelativePath="Version.rc"
   6.558 +			>
   6.559 +			<FileConfiguration
   6.560 +				Name="Debug|Win32"
   6.561 +				>
   6.562 +				<Tool
   6.563 +					Name="VCResourceCompilerTool"
   6.564 +					PreprocessorDefinitions=""
   6.565 +				/>
   6.566 +			</FileConfiguration>
   6.567 +			<FileConfiguration
   6.568 +				Name="Release|Win32"
   6.569 +				>
   6.570 +				<Tool
   6.571 +					Name="VCResourceCompilerTool"
   6.572 +					PreprocessorDefinitions=""
   6.573 +				/>
   6.574 +			</FileConfiguration>
   6.575 +		</File>
   6.576 +		<File
   6.577 +			RelativePath="..\wavestream.c"
   6.578 +			>
   6.579 +			<FileConfiguration
   6.580 +				Name="Debug|Win32"
   6.581 +				>
   6.582 +				<Tool
   6.583 +					Name="VCCLCompilerTool"
   6.584 +					AdditionalIncludeDirectories=""
   6.585 +					PreprocessorDefinitions=""
   6.586 +				/>
   6.587 +			</FileConfiguration>
   6.588 +			<FileConfiguration
   6.589 +				Name="Release|Win32"
   6.590 +				>
   6.591 +				<Tool
   6.592 +					Name="VCCLCompilerTool"
   6.593 +					AdditionalIncludeDirectories=""
   6.594 +					PreprocessorDefinitions=""
   6.595 +				/>
   6.596 +			</FileConfiguration>
   6.597 +		</File>
   6.598 +		<File
   6.599 +			RelativePath="..\wavestream.h"
   6.600 +			>
   6.601 +		</File>
   6.602 +	</Files>
   6.603 +	<Globals>
   6.604 +	</Globals>
   6.605 +</VisualStudioProject>
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/VisualC/Version.rc	Tue Jan 18 11:11:21 2011 -0800
     7.3 @@ -0,0 +1,105 @@
     7.4 +//Microsoft Developer Studio generated resource script.
     7.5 +//
     7.6 +#include "resource.h"
     7.7 +
     7.8 +#define APSTUDIO_READONLY_SYMBOLS
     7.9 +/////////////////////////////////////////////////////////////////////////////
    7.10 +//
    7.11 +// Generated from the TEXTINCLUDE 2 resource.
    7.12 +//
    7.13 +#include "winresrc.h"
    7.14 +
    7.15 +/////////////////////////////////////////////////////////////////////////////
    7.16 +#undef APSTUDIO_READONLY_SYMBOLS
    7.17 +
    7.18 +/////////////////////////////////////////////////////////////////////////////
    7.19 +// English (U.S.) resources
    7.20 +
    7.21 +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
    7.22 +#ifdef _WIN32
    7.23 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
    7.24 +#pragma code_page(1252)
    7.25 +#endif //_WIN32
    7.26 +
    7.27 +#ifndef _MAC
    7.28 +/////////////////////////////////////////////////////////////////////////////
    7.29 +//
    7.30 +// Version
    7.31 +//
    7.32 +
    7.33 +VS_VERSION_INFO VERSIONINFO
    7.34 + FILEVERSION 1,2,12,0
    7.35 + PRODUCTVERSION 1,2,12,0
    7.36 + FILEFLAGSMASK 0x3fL
    7.37 +#ifdef _DEBUG
    7.38 + FILEFLAGS 0x1L
    7.39 +#else
    7.40 + FILEFLAGS 0x0L
    7.41 +#endif
    7.42 + FILEOS 0x40004L
    7.43 + FILETYPE 0x2L
    7.44 + FILESUBTYPE 0x0L
    7.45 +BEGIN
    7.46 +    BLOCK "StringFileInfo"
    7.47 +    BEGIN
    7.48 +        BLOCK "040904b0"
    7.49 +        BEGIN
    7.50 +            VALUE "CompanyName", "\0"
    7.51 +            VALUE "FileDescription", "SDL_mixer\0"
    7.52 +            VALUE "FileVersion", "1, 2, 12, 0\0"
    7.53 +            VALUE "InternalName", "SDL_mixer\0"
    7.54 +            VALUE "LegalCopyright", "Copyright  2007 Sam Lantinga\0"
    7.55 +            VALUE "OriginalFilename", "SDL_mixer.dll\0"
    7.56 +            VALUE "ProductName", "Simple DirectMedia Layer\0"
    7.57 +            VALUE "ProductVersion", "1, 2, 12, 0\0"
    7.58 +        END
    7.59 +    END
    7.60 +    BLOCK "VarFileInfo"
    7.61 +    BEGIN
    7.62 +        VALUE "Translation", 0x409, 1200
    7.63 +    END
    7.64 +END
    7.65 +
    7.66 +#endif    // !_MAC
    7.67 +
    7.68 +
    7.69 +#ifdef APSTUDIO_INVOKED
    7.70 +/////////////////////////////////////////////////////////////////////////////
    7.71 +//
    7.72 +// TEXTINCLUDE
    7.73 +//
    7.74 +
    7.75 +1 TEXTINCLUDE DISCARDABLE 
    7.76 +BEGIN
    7.77 +    "resource.h\0"
    7.78 +END
    7.79 +
    7.80 +2 TEXTINCLUDE DISCARDABLE 
    7.81 +BEGIN
    7.82 +    "#include ""afxres.h""\r\n"
    7.83 +    "\0"
    7.84 +END
    7.85 +
    7.86 +3 TEXTINCLUDE DISCARDABLE 
    7.87 +BEGIN
    7.88 +    "\r\n"
    7.89 +    "\0"
    7.90 +END
    7.91 +
    7.92 +#endif    // APSTUDIO_INVOKED
    7.93 +
    7.94 +#endif    // English (U.S.) resources
    7.95 +/////////////////////////////////////////////////////////////////////////////
    7.96 +
    7.97 +
    7.98 +
    7.99 +#ifndef APSTUDIO_INVOKED
   7.100 +/////////////////////////////////////////////////////////////////////////////
   7.101 +//
   7.102 +// Generated from the TEXTINCLUDE 3 resource.
   7.103 +//
   7.104 +
   7.105 +
   7.106 +/////////////////////////////////////////////////////////////////////////////
   7.107 +#endif    // not APSTUDIO_INVOKED
   7.108 +
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/VisualC/clean.sh	Tue Jan 18 11:11:21 2011 -0800
     8.3 @@ -0,0 +1,5 @@
     8.4 +find . -type d -name 'Debug' -exec rm -rv {} \;
     8.5 +find . -type d -name 'Release' -exec rm -rv {} \;
     8.6 +find . -type f -name '*.user' -exec rm -v {} \;
     8.7 +find . -type f -name '*.ncb' -exec rm -v {} \;
     8.8 +find . -type f -name '*.suo' -exec rm -v {} \;
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/VisualC/mikmod/include/mikmod.h	Tue Jan 18 11:11:21 2011 -0800
     9.3 @@ -0,0 +1,717 @@
     9.4 +/*	MikMod sound library
     9.5 +	(c) 1998, 1999, 2000 Miodrag Vallat and others - see file AUTHORS
     9.6 +	for complete list.
     9.7 +
     9.8 +	This library is free software; you can redistribute it and/or modify
     9.9 +	it under the terms of the GNU Library General Public License as
    9.10 +	published by the Free Software Foundation; either version 2 of
    9.11 +	the License, or (at your option) any later version.
    9.12 + 
    9.13 +	This program is distributed in the hope that it will be useful,
    9.14 +	but WITHOUT ANY WARRANTY; without even the implied warranty of
    9.15 +	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    9.16 +	GNU Library General Public License for more details.
    9.17 + 
    9.18 +	You should have received a copy of the GNU Library General Public
    9.19 +	License along with this library; if not, write to the Free Software
    9.20 +	Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    9.21 +	02111-1307, USA.
    9.22 +*/
    9.23 +
    9.24 +/*==============================================================================
    9.25 +
    9.26 +  $Id: mikmod.h.in,v 1.2 2004/06/01 16:43:45 raph Exp $
    9.27 +
    9.28 +  MikMod sound library include file
    9.29 +
    9.30 +==============================================================================*/
    9.31 +
    9.32 +#ifndef _MIKMOD_H_
    9.33 +#define _MIKMOD_H_
    9.34 +
    9.35 +#include <stdio.h>
    9.36 +#include <stdlib.h>
    9.37 +
    9.38 +#ifdef __cplusplus
    9.39 +extern "C" {
    9.40 +#endif
    9.41 +
    9.42 +/*
    9.43 + * ========== Compiler magic for shared libraries
    9.44 + */
    9.45 +
    9.46 +#if defined WIN32 && defined _DLL
    9.47 +#ifdef DLL_EXPORTS
    9.48 +#define MIKMODAPI __declspec(dllexport)
    9.49 +#else
    9.50 +#define MIKMODAPI __declspec(dllimport)
    9.51 +#endif
    9.52 +#else
    9.53 +#define MIKMODAPI
    9.54 +#endif
    9.55 +
    9.56 +/*
    9.57 + *	========== Library version
    9.58 + */
    9.59 +
    9.60 +#define LIBMIKMOD_VERSION_MAJOR 3L
    9.61 +#define LIBMIKMOD_VERSION_MINOR 1L
    9.62 +#define LIBMIKMOD_REVISION      10L
    9.63 +
    9.64 +#define LIBMIKMOD_VERSION \
    9.65 +	((LIBMIKMOD_VERSION_MAJOR<<16)| \
    9.66 +	 (LIBMIKMOD_VERSION_MINOR<< 8)| \
    9.67 +	 (LIBMIKMOD_REVISION))
    9.68 +
    9.69 +MIKMODAPI extern long MikMod_GetVersion(void);
    9.70 +
    9.71 +/*
    9.72 + *	========== Platform independent-type definitions
    9.73 + */
    9.74 +
    9.75 +#ifdef WIN32
    9.76 +#define WIN32_LEAN_AND_MEAN
    9.77 +#include <windows.h>
    9.78 +#include <io.h>
    9.79 +#include <mmsystem.h>
    9.80 +#endif
    9.81 +
    9.82 +#if defined(__OS2__)||defined(__EMX__)
    9.83 +#define INCL_DOSSEMAPHORES
    9.84 +#include <os2.h>
    9.85 +#else
    9.86 +typedef char CHAR;
    9.87 +#endif
    9.88 +
    9.89 +
    9.90 +
    9.91 +#if defined(__arch64__) || defined(__alpha) || defined(__x86_64) || defined(_LP64)
    9.92 +/* 64 bit architectures */
    9.93 +
    9.94 +typedef signed char     SBYTE;      /* 1 byte, signed */
    9.95 +typedef unsigned char   UBYTE;      /* 1 byte, unsigned */
    9.96 +typedef signed short    SWORD;      /* 2 bytes, signed */
    9.97 +typedef unsigned short  UWORD;      /* 2 bytes, unsigned */
    9.98 +typedef signed int      SLONG;      /* 4 bytes, signed */
    9.99 +typedef unsigned int    ULONG;      /* 4 bytes, unsigned */
   9.100 +typedef int             BOOL;       /* 0=false, <>0 true */
   9.101 +
   9.102 +#else
   9.103 +/* 32 bit architectures */
   9.104 +
   9.105 +typedef signed char     SBYTE;      /* 1 byte, signed */
   9.106 +typedef unsigned char   UBYTE;      /* 1 byte, unsigned */
   9.107 +typedef signed short    SWORD;      /* 2 bytes, signed */
   9.108 +typedef unsigned short  UWORD;      /* 2 bytes, unsigned */
   9.109 +typedef signed long     SLONG;      /* 4 bytes, signed */
   9.110 +#if !defined(__OS2__)&&!defined(__EMX__)&&!defined(WIN32)
   9.111 +typedef unsigned long   ULONG;      /* 4 bytes, unsigned */
   9.112 +typedef int             BOOL;       /* 0=false, <>0 true */
   9.113 +#endif
   9.114 +#endif
   9.115 +
   9.116 +/*
   9.117 + *	========== Error codes
   9.118 + */
   9.119 +
   9.120 +enum {
   9.121 +	MMERR_OPENING_FILE = 1,
   9.122 +	MMERR_OUT_OF_MEMORY,
   9.123 +	MMERR_DYNAMIC_LINKING,
   9.124 +
   9.125 +	MMERR_SAMPLE_TOO_BIG,
   9.126 +	MMERR_OUT_OF_HANDLES,
   9.127 +	MMERR_UNKNOWN_WAVE_TYPE,
   9.128 +
   9.129 +	MMERR_LOADING_PATTERN,
   9.130 +	MMERR_LOADING_TRACK,
   9.131 +	MMERR_LOADING_HEADER,
   9.132 +	MMERR_LOADING_SAMPLEINFO,
   9.133 +	MMERR_NOT_A_MODULE,
   9.134 +	MMERR_NOT_A_STREAM,
   9.135 +	MMERR_MED_SYNTHSAMPLES,
   9.136 +	MMERR_ITPACK_INVALID_DATA,
   9.137 +
   9.138 +	MMERR_DETECTING_DEVICE,
   9.139 +	MMERR_INVALID_DEVICE,
   9.140 +	MMERR_INITIALIZING_MIXER,
   9.141 +	MMERR_OPENING_AUDIO,
   9.142 +	MMERR_8BIT_ONLY,
   9.143 +	MMERR_16BIT_ONLY,
   9.144 +	MMERR_STEREO_ONLY,
   9.145 +	MMERR_ULAW,
   9.146 +	MMERR_NON_BLOCK,
   9.147 +
   9.148 +	MMERR_AF_AUDIO_PORT,
   9.149 +
   9.150 +	MMERR_AIX_CONFIG_INIT,
   9.151 +	MMERR_AIX_CONFIG_CONTROL,
   9.152 +	MMERR_AIX_CONFIG_START,
   9.153 +
   9.154 +	MMERR_GUS_SETTINGS,
   9.155 +	MMERR_GUS_RESET,
   9.156 +	MMERR_GUS_TIMER,
   9.157 +
   9.158 +	MMERR_HP_SETSAMPLESIZE,
   9.159 +	MMERR_HP_SETSPEED,
   9.160 +	MMERR_HP_CHANNELS,
   9.161 +	MMERR_HP_AUDIO_OUTPUT,
   9.162 +	MMERR_HP_AUDIO_DESC,
   9.163 +	MMERR_HP_BUFFERSIZE,
   9.164 +
   9.165 +	MMERR_OSS_SETFRAGMENT,
   9.166 +	MMERR_OSS_SETSAMPLESIZE,
   9.167 +	MMERR_OSS_SETSTEREO,
   9.168 +	MMERR_OSS_SETSPEED,
   9.169 +
   9.170 +	MMERR_SGI_SPEED,
   9.171 +	MMERR_SGI_16BIT,
   9.172 +	MMERR_SGI_8BIT,
   9.173 +	MMERR_SGI_STEREO,
   9.174 +	MMERR_SGI_MONO,
   9.175 +
   9.176 +	MMERR_SUN_INIT,
   9.177 +
   9.178 +	MMERR_OS2_MIXSETUP,
   9.179 +	MMERR_OS2_SEMAPHORE,
   9.180 +	MMERR_OS2_TIMER,
   9.181 +	MMERR_OS2_THREAD,
   9.182 +
   9.183 +	MMERR_DS_PRIORITY,
   9.184 +	MMERR_DS_BUFFER,
   9.185 +	MMERR_DS_FORMAT,
   9.186 +	MMERR_DS_NOTIFY,
   9.187 +	MMERR_DS_EVENT,
   9.188 +	MMERR_DS_THREAD,
   9.189 +	MMERR_DS_UPDATE,
   9.190 +
   9.191 +	MMERR_WINMM_HANDLE,
   9.192 +	MMERR_WINMM_ALLOCATED,
   9.193 +	MMERR_WINMM_DEVICEID,
   9.194 +	MMERR_WINMM_FORMAT,
   9.195 +	MMERR_WINMM_UNKNOWN,
   9.196 +
   9.197 +	MMERR_MAC_SPEED,
   9.198 +	MMERR_MAC_START,
   9.199 +
   9.200 +	MMERR_MAX
   9.201 +};
   9.202 +
   9.203 +/*
   9.204 + *	========== Error handling
   9.205 + */
   9.206 +
   9.207 +typedef void (MikMod_handler)(void);
   9.208 +typedef MikMod_handler *MikMod_handler_t;
   9.209 +
   9.210 +MIKMODAPI extern int  MikMod_errno;
   9.211 +MIKMODAPI extern BOOL MikMod_critical;
   9.212 +MIKMODAPI extern char *MikMod_strerror(int);
   9.213 +
   9.214 +MIKMODAPI extern MikMod_handler_t MikMod_RegisterErrorHandler(MikMod_handler_t);
   9.215 +
   9.216 +/*
   9.217 + *	========== Library initialization and core functions
   9.218 + */
   9.219 +
   9.220 +struct MDRIVER;
   9.221 +
   9.222 +MIKMODAPI extern void   MikMod_RegisterAllDrivers(void);
   9.223 +
   9.224 +MIKMODAPI extern CHAR*  MikMod_InfoDriver(void);
   9.225 +MIKMODAPI extern void   MikMod_RegisterDriver(struct MDRIVER*);
   9.226 +MIKMODAPI extern int    MikMod_DriverFromAlias(CHAR*);
   9.227 +
   9.228 +MIKMODAPI extern BOOL   MikMod_Init(CHAR*);
   9.229 +MIKMODAPI extern void   MikMod_Exit(void);
   9.230 +MIKMODAPI extern BOOL   MikMod_Reset(CHAR*);
   9.231 +MIKMODAPI extern BOOL   MikMod_SetNumVoices(int,int);
   9.232 +MIKMODAPI extern BOOL   MikMod_Active(void);
   9.233 +MIKMODAPI extern BOOL   MikMod_EnableOutput(void);
   9.234 +MIKMODAPI extern void   MikMod_DisableOutput(void);
   9.235 +MIKMODAPI extern void   MikMod_Update(void);
   9.236 +
   9.237 +MIKMODAPI extern BOOL   MikMod_InitThreads(void);
   9.238 +MIKMODAPI extern void   MikMod_Lock(void);
   9.239 +MIKMODAPI extern void   MikMod_Unlock(void);
   9.240 +
   9.241 +/*
   9.242 + *	========== Reader, Writer
   9.243 + */
   9.244 +
   9.245 +typedef struct MREADER {
   9.246 +	BOOL (*Seek)(struct MREADER*,long,int);
   9.247 +	long (*Tell)(struct MREADER*);
   9.248 +	BOOL (*Read)(struct MREADER*,void*,size_t);
   9.249 +	int  (*Get)(struct MREADER*);
   9.250 +	BOOL (*Eof)(struct MREADER*);
   9.251 +} MREADER;
   9.252 +
   9.253 +typedef struct MWRITER {
   9.254 +	BOOL (*Seek)(struct MWRITER*,long,int);
   9.255 +	long (*Tell)(struct MWRITER*);
   9.256 +	BOOL (*Write)(struct MWRITER*,void*,size_t);
   9.257 +	BOOL (*Put)(struct MWRITER*,int);
   9.258 +} MWRITER;
   9.259 +
   9.260 +/*
   9.261 + *	========== Samples
   9.262 + */
   9.263 +
   9.264 +/* Sample playback should not be interrupted */
   9.265 +#define SFX_CRITICAL 1
   9.266 +
   9.267 +/* Sample format [loading and in-memory] flags: */
   9.268 +#define SF_16BITS       0x0001
   9.269 +#define SF_STEREO       0x0002
   9.270 +#define SF_SIGNED       0x0004
   9.271 +#define SF_BIG_ENDIAN   0x0008
   9.272 +#define SF_DELTA        0x0010
   9.273 +#define SF_ITPACKED		0x0020
   9.274 +
   9.275 +#define	SF_FORMATMASK	0x003F
   9.276 +
   9.277 +/* General Playback flags */
   9.278 +
   9.279 +#define SF_LOOP         0x0100
   9.280 +#define SF_BIDI         0x0200
   9.281 +#define SF_REVERSE      0x0400
   9.282 +#define SF_SUSTAIN      0x0800
   9.283 +
   9.284 +#define SF_PLAYBACKMASK	0x0C00
   9.285 +
   9.286 +/* Module-only Playback Flags */
   9.287 +
   9.288 +#define SF_OWNPAN		0x1000
   9.289 +#define SF_UST_LOOP     0x2000
   9.290 +
   9.291 +#define SF_EXTRAPLAYBACKMASK	0x3000
   9.292 +
   9.293 +/* Panning constants */
   9.294 +#define PAN_LEFT		0
   9.295 +#define PAN_HALFLEFT 	64
   9.296 +#define PAN_CENTER		128
   9.297 +#define PAN_HALFRIGHT	192
   9.298 +#define PAN_RIGHT		255
   9.299 +#define PAN_SURROUND	512 /* panning value for Dolby Surround */
   9.300 +
   9.301 +typedef struct SAMPLE {
   9.302 +	SWORD  panning;     /* panning (0-255 or PAN_SURROUND) */
   9.303 +	ULONG  speed;       /* Base playing speed/frequency of note */
   9.304 +	UBYTE  volume;      /* volume 0-64 */
   9.305 +	UWORD  inflags;		/* sample format on disk */
   9.306 +	UWORD  flags;       /* sample format in memory */
   9.307 +	ULONG  length;      /* length of sample (in samples!) */
   9.308 +	ULONG  loopstart;   /* repeat position (relative to start, in samples) */
   9.309 +	ULONG  loopend;     /* repeat end */
   9.310 +	ULONG  susbegin;    /* sustain loop begin (in samples) \  Not Supported */
   9.311 +	ULONG  susend;      /* sustain loop end                /      Yet! */
   9.312 +
   9.313 +	/* Variables used by the module player only! (ignored for sound effects) */
   9.314 +	UBYTE  globvol;     /* global volume */
   9.315 +	UBYTE  vibflags;    /* autovibrato flag stuffs */
   9.316 +	UBYTE  vibtype;     /* Vibratos moved from INSTRUMENT to SAMPLE */
   9.317 +	UBYTE  vibsweep;
   9.318 +	UBYTE  vibdepth;
   9.319 +	UBYTE  vibrate;
   9.320 +	CHAR*  samplename;  /* name of the sample */
   9.321 +
   9.322 +	/* Values used internally only */
   9.323 +	UWORD  avibpos;     /* autovibrato pos [player use] */
   9.324 +	UBYTE  divfactor;   /* for sample scaling, maintains proper period slides */
   9.325 +	ULONG  seekpos;     /* seek position in file */
   9.326 +	SWORD  handle;      /* sample handle used by individual drivers */
   9.327 +} SAMPLE;
   9.328 +
   9.329 +/* Sample functions */
   9.330 +
   9.331 +MIKMODAPI extern SAMPLE *Sample_Load(CHAR*);
   9.332 +MIKMODAPI extern SAMPLE *Sample_LoadFP(FILE*);
   9.333 +MIKMODAPI extern SAMPLE *Sample_LoadGeneric(MREADER*);
   9.334 +MIKMODAPI extern void   Sample_Free(SAMPLE*);
   9.335 +MIKMODAPI extern SBYTE  Sample_Play(SAMPLE*,ULONG,UBYTE);
   9.336 +
   9.337 +MIKMODAPI extern void   Voice_SetVolume(SBYTE,UWORD);
   9.338 +MIKMODAPI extern UWORD  Voice_GetVolume(SBYTE);
   9.339 +MIKMODAPI extern void   Voice_SetFrequency(SBYTE,ULONG);
   9.340 +MIKMODAPI extern ULONG  Voice_GetFrequency(SBYTE);
   9.341 +MIKMODAPI extern void   Voice_SetPanning(SBYTE,ULONG);
   9.342 +MIKMODAPI extern ULONG  Voice_GetPanning(SBYTE);
   9.343 +MIKMODAPI extern void   Voice_Play(SBYTE,SAMPLE*,ULONG);
   9.344 +MIKMODAPI extern void   Voice_Stop(SBYTE);
   9.345 +MIKMODAPI extern BOOL   Voice_Stopped(SBYTE);
   9.346 +MIKMODAPI extern SLONG  Voice_GetPosition(SBYTE);
   9.347 +MIKMODAPI extern ULONG  Voice_RealVolume(SBYTE);
   9.348 +
   9.349 +/*
   9.350 + *	========== Internal module representation (UniMod)
   9.351 + */
   9.352 +
   9.353 +/*
   9.354 +	Instrument definition - for information only, the only field which may be
   9.355 +	of use in user programs is the name field
   9.356 +*/
   9.357 +
   9.358 +/* Instrument note count */
   9.359 +#define INSTNOTES 120
   9.360 +
   9.361 +/* Envelope point */
   9.362 +typedef struct ENVPT {
   9.363 +	SWORD pos;
   9.364 +	SWORD val;
   9.365 +} ENVPT;
   9.366 +
   9.367 +/* Envelope point count */
   9.368 +#define ENVPOINTS 32
   9.369 +
   9.370 +/* Instrument structure */
   9.371 +typedef struct INSTRUMENT {
   9.372 +	CHAR* insname;
   9.373 +
   9.374 +	UBYTE flags;
   9.375 +	UWORD samplenumber[INSTNOTES];
   9.376 +	UBYTE samplenote[INSTNOTES];
   9.377 +
   9.378 +	UBYTE nnatype;
   9.379 +	UBYTE dca;              /* duplicate check action */
   9.380 +	UBYTE dct;              /* duplicate check type */
   9.381 +	UBYTE globvol;
   9.382 +	UWORD volfade;
   9.383 +	SWORD panning;          /* instrument-based panning var */
   9.384 +
   9.385 +	UBYTE pitpansep;        /* pitch pan separation (0 to 255) */
   9.386 +	UBYTE pitpancenter;     /* pitch pan center (0 to 119) */
   9.387 +	UBYTE rvolvar;          /* random volume varations (0 - 100%) */
   9.388 +	UBYTE rpanvar;          /* random panning varations (0 - 100%) */
   9.389 +
   9.390 +	/* volume envelope */
   9.391 +	UBYTE volflg;           /* bit 0: on 1: sustain 2: loop */
   9.392 +	UBYTE volpts;
   9.393 +	UBYTE volsusbeg;
   9.394 +	UBYTE volsusend;
   9.395 +	UBYTE volbeg;
   9.396 +	UBYTE volend;
   9.397 +	ENVPT volenv[ENVPOINTS];
   9.398 +	/* panning envelope */
   9.399 +	UBYTE panflg;           /* bit 0: on 1: sustain 2: loop */
   9.400 +	UBYTE panpts;
   9.401 +	UBYTE pansusbeg;
   9.402 +	UBYTE pansusend;
   9.403 +	UBYTE panbeg;
   9.404 +	UBYTE panend;
   9.405 +	ENVPT panenv[ENVPOINTS];
   9.406 +	/* pitch envelope */
   9.407 +	UBYTE pitflg;           /* bit 0: on 1: sustain 2: loop */
   9.408 +	UBYTE pitpts;
   9.409 +	UBYTE pitsusbeg;
   9.410 +	UBYTE pitsusend;
   9.411 +	UBYTE pitbeg;
   9.412 +	UBYTE pitend;
   9.413 +	ENVPT pitenv[ENVPOINTS];
   9.414 +} INSTRUMENT;
   9.415 +
   9.416 +struct MP_CONTROL;
   9.417 +struct MP_VOICE;
   9.418 +
   9.419 +/*
   9.420 +	Module definition
   9.421 +*/
   9.422 +
   9.423 +/* maximum master channels supported */
   9.424 +#define UF_MAXCHAN	64
   9.425 +
   9.426 +/* Module flags */
   9.427 +#define UF_XMPERIODS	0x0001 /* XM periods / finetuning */
   9.428 +#define UF_LINEAR		0x0002 /* LINEAR periods (UF_XMPERIODS must be set) */
   9.429 +#define UF_INST			0x0004 /* Instruments are used */
   9.430 +#define UF_NNA			0x0008 /* IT: NNA used, set numvoices rather
   9.431 +								  than numchn */
   9.432 +#define UF_S3MSLIDES	0x0010 /* uses old S3M volume slides */
   9.433 +#define UF_BGSLIDES		0x0020 /* continue volume slides in the background */
   9.434 +#define UF_HIGHBPM		0x0040 /* MED: can use >255 bpm */
   9.435 +#define UF_NOWRAP		0x0080 /* XM-type (i.e. illogical) pattern break
   9.436 +								  semantics */
   9.437 +#define UF_ARPMEM		0x0100 /* IT: need arpeggio memory */
   9.438 +#define UF_FT2QUIRKS	0x0200 /* emulate some FT2 replay quirks */
   9.439 +#define UF_PANNING		0x0400 /* module uses panning effects or have
   9.440 +								  non-tracker default initial panning */
   9.441 +
   9.442 +typedef struct MODULE {
   9.443 +	/* general module information */
   9.444 +		CHAR*       songname;    /* name of the song */
   9.445 +		CHAR*       modtype;     /* string type of module loaded */
   9.446 +		CHAR*       comment;     /* module comments */
   9.447 +
   9.448 +		UWORD       flags;       /* See module flags above */
   9.449 +		UBYTE       numchn;      /* number of module channels */
   9.450 +		UBYTE       numvoices;   /* max # voices used for full NNA playback */
   9.451 +		UWORD       numpos;      /* number of positions in this song */
   9.452 +		UWORD       numpat;      /* number of patterns in this song */
   9.453 +		UWORD       numins;      /* number of instruments */
   9.454 +		UWORD       numsmp;      /* number of samples */
   9.455 +struct  INSTRUMENT* instruments; /* all instruments */
   9.456 +struct  SAMPLE*     samples;     /* all samples */
   9.457 +		UBYTE       realchn;     /* real number of channels used */
   9.458 +		UBYTE       totalchn;    /* total number of channels used (incl NNAs) */
   9.459 +
   9.460 +	/* playback settings */
   9.461 +		UWORD       reppos;      /* restart position */
   9.462 +		UBYTE       initspeed;   /* initial song speed */
   9.463 +		UWORD       inittempo;   /* initial song tempo */
   9.464 +		UBYTE       initvolume;  /* initial global volume (0 - 128) */
   9.465 +		UWORD       panning[UF_MAXCHAN]; /* panning positions */
   9.466 +		UBYTE       chanvol[UF_MAXCHAN]; /* channel positions */
   9.467 +		UWORD       bpm;         /* current beats-per-minute speed */
   9.468 +		UWORD       sngspd;      /* current song speed */
   9.469 +		SWORD       volume;      /* song volume (0-128) (or user volume) */
   9.470 +
   9.471 +		BOOL        extspd;      /* extended speed flag (default enabled) */
   9.472 +		BOOL        panflag;     /* panning flag (default enabled) */
   9.473 +		BOOL        wrap;        /* wrap module ? (default disabled) */
   9.474 +		BOOL        loop;		 /* allow module to loop ? (default enabled) */
   9.475 +		BOOL        fadeout;	 /* volume fade out during last pattern */
   9.476 +
   9.477 +		UWORD       patpos;      /* current row number */
   9.478 +		SWORD       sngpos;      /* current song position */
   9.479 +		ULONG       sngtime;     /* current song time in 2^-10 seconds */
   9.480 +
   9.481 +		SWORD       relspd;      /* relative speed factor */
   9.482 +
   9.483 +	/* internal module representation */
   9.484 +		UWORD       numtrk;      /* number of tracks */
   9.485 +		UBYTE**     tracks;      /* array of numtrk pointers to tracks */
   9.486 +		UWORD*      patterns;    /* array of Patterns */
   9.487 +		UWORD*      pattrows;    /* array of number of rows for each pattern */
   9.488 +		UWORD*      positions;   /* all positions */
   9.489 +
   9.490 +		BOOL        forbid;      /* if true, no player update! */
   9.491 +		UWORD       numrow;      /* number of rows on current pattern */
   9.492 +		UWORD       vbtick;      /* tick counter (counts from 0 to sngspd) */
   9.493 +		UWORD       sngremainder;/* used for song time computation */
   9.494 +
   9.495 +struct MP_CONTROL*  control;     /* Effects Channel info (size pf->numchn) */
   9.496 +struct MP_VOICE*    voice;       /* Audio Voice information (size md_numchn) */
   9.497 +
   9.498 +		UBYTE       globalslide; /* global volume slide rate */
   9.499 +		UBYTE       pat_repcrazy;/* module has just looped to position -1 */
   9.500 +		UWORD       patbrk;      /* position where to start a new pattern */
   9.501 +		UBYTE       patdly;      /* patterndelay counter (command memory) */
   9.502 +		UBYTE       patdly2;     /* patterndelay counter (real one) */
   9.503 +		SWORD       posjmp;      /* flag to indicate a jump is needed... */
   9.504 +		UWORD		bpmlimit;	 /* threshold to detect bpm or speed values */
   9.505 +} MODULE;
   9.506 +
   9.507 +/*
   9.508 + *	========== Module loaders
   9.509 + */
   9.510 +
   9.511 +struct MLOADER;
   9.512 +
   9.513 +MIKMODAPI extern CHAR*   MikMod_InfoLoader(void);
   9.514 +MIKMODAPI extern void    MikMod_RegisterAllLoaders(void);
   9.515 +MIKMODAPI extern void    MikMod_RegisterLoader(struct MLOADER*);
   9.516 +
   9.517 +MIKMODAPI extern struct MLOADER load_669; /* 669 and Extended-669 (by Tran/Renaissance) */
   9.518 +MIKMODAPI extern struct MLOADER load_amf; /* DMP Advanced Module Format (by Otto Chrons) */
   9.519 +MIKMODAPI extern struct MLOADER load_dsm; /* DSIK internal module format */
   9.520 +MIKMODAPI extern struct MLOADER load_far; /* Farandole Composer (by Daniel Potter) */
   9.521 +MIKMODAPI extern struct MLOADER load_gdm; /* General DigiMusic (by Edward Schlunder) */
   9.522 +MIKMODAPI extern struct MLOADER load_it;  /* Impulse Tracker (by Jeffrey Lim) */
   9.523 +MIKMODAPI extern struct MLOADER load_imf; /* Imago Orpheus (by Lutz Roeder) */
   9.524 +MIKMODAPI extern struct MLOADER load_med; /* Amiga MED modules (by Teijo Kinnunen) */
   9.525 +MIKMODAPI extern struct MLOADER load_m15; /* Soundtracker 15-instrument */
   9.526 +MIKMODAPI extern struct MLOADER load_mod; /* Standard 31-instrument Module loader */
   9.527 +MIKMODAPI extern struct MLOADER load_mtm; /* Multi-Tracker Module (by Renaissance) */
   9.528 +MIKMODAPI extern struct MLOADER load_okt; /* Amiga Oktalyzer */
   9.529 +MIKMODAPI extern struct MLOADER load_stm; /* ScreamTracker 2 (by Future Crew) */
   9.530 +MIKMODAPI extern struct MLOADER load_stx; /* STMIK 0.2 (by Future Crew) */
   9.531 +MIKMODAPI extern struct MLOADER load_s3m; /* ScreamTracker 3 (by Future Crew) */
   9.532 +MIKMODAPI extern struct MLOADER load_ult; /* UltraTracker (by MAS) */
   9.533 +MIKMODAPI extern struct MLOADER load_uni; /* MikMod and APlayer internal module format */
   9.534 +MIKMODAPI extern struct MLOADER load_xm;  /* FastTracker 2 (by Triton) */
   9.535 +
   9.536 +/*
   9.537 + *	========== Module player
   9.538 + */
   9.539 +
   9.540 +MIKMODAPI extern MODULE* Player_Load(CHAR*,int,BOOL);
   9.541 +MIKMODAPI extern MODULE* Player_LoadFP(FILE*,int,BOOL);
   9.542 +MIKMODAPI extern MODULE* Player_LoadGeneric(MREADER*,int,BOOL);
   9.543 +MIKMODAPI extern CHAR*   Player_LoadTitle(CHAR*);
   9.544 +MIKMODAPI extern CHAR*   Player_LoadTitleFP(FILE*);
   9.545 +MIKMODAPI extern void    Player_Free(MODULE*);
   9.546 +MIKMODAPI extern void    Player_Start(MODULE*);
   9.547 +MIKMODAPI extern BOOL    Player_Active(void);
   9.548 +MIKMODAPI extern void    Player_Stop(void);
   9.549 +MIKMODAPI extern void    Player_TogglePause(void);
   9.550 +MIKMODAPI extern BOOL    Player_Paused(void);
   9.551 +MIKMODAPI extern void    Player_NextPosition(void);
   9.552 +MIKMODAPI extern void    Player_PrevPosition(void);
   9.553 +MIKMODAPI extern void    Player_SetPosition(UWORD);
   9.554 +MIKMODAPI extern BOOL    Player_Muted(UBYTE);
   9.555 +MIKMODAPI extern void    Player_SetVolume(SWORD);
   9.556 +MIKMODAPI extern MODULE* Player_GetModule(void);
   9.557 +MIKMODAPI extern void    Player_SetSpeed(UWORD);
   9.558 +MIKMODAPI extern void    Player_SetTempo(UWORD);
   9.559 +MIKMODAPI extern void    Player_Unmute(SLONG,...);
   9.560 +MIKMODAPI extern void    Player_Mute(SLONG,...);
   9.561 +MIKMODAPI extern void    Player_ToggleMute(SLONG,...);
   9.562 +MIKMODAPI extern int     Player_GetChannelVoice(UBYTE);
   9.563 +MIKMODAPI extern UWORD   Player_GetChannelPeriod(UBYTE);
   9.564 +
   9.565 +typedef void (MikMod_player)(void);
   9.566 +typedef MikMod_player *MikMod_player_t;
   9.567 +
   9.568 +MIKMODAPI extern MikMod_player_t MikMod_RegisterPlayer(MikMod_player_t);
   9.569 +
   9.570 +#define MUTE_EXCLUSIVE  32000
   9.571 +#define MUTE_INCLUSIVE  32001
   9.572 +
   9.573 +/*
   9.574 + *	========== Drivers
   9.575 + */
   9.576 +
   9.577 +enum {
   9.578 +	MD_MUSIC = 0,
   9.579 +	MD_SNDFX
   9.580 +};
   9.581 +
   9.582 +enum {
   9.583 +	MD_HARDWARE = 0,
   9.584 +	MD_SOFTWARE
   9.585 +};
   9.586 +
   9.587 +/* Mixing flags */
   9.588 +
   9.589 +/* These ones take effect only after MikMod_Init or MikMod_Reset */
   9.590 +#define DMODE_16BITS     0x0001 /* enable 16 bit output */
   9.591 +#define DMODE_STEREO     0x0002 /* enable stereo output */
   9.592 +#define DMODE_SOFT_SNDFX 0x0004 /* Process sound effects via software mixer */
   9.593 +#define DMODE_SOFT_MUSIC 0x0008 /* Process music via software mixer */
   9.594 +#define DMODE_HQMIXER    0x0010 /* Use high-quality (slower) software mixer */
   9.595 +/* These take effect immediately. */
   9.596 +#define DMODE_SURROUND   0x0100 /* enable surround sound */
   9.597 +#define DMODE_INTERP     0x0200 /* enable interpolation */
   9.598 +#define DMODE_REVERSE    0x0400 /* reverse stereo */
   9.599 +
   9.600 +struct SAMPLOAD;
   9.601 +typedef struct MDRIVER {
   9.602 +struct MDRIVER* next;
   9.603 +	CHAR*       Name;
   9.604 +	CHAR*       Version;
   9.605 +
   9.606 +	UBYTE       HardVoiceLimit; /* Limit of hardware mixer voices */
   9.607 +	UBYTE       SoftVoiceLimit; /* Limit of software mixer voices */
   9.608 +
   9.609 +	CHAR*       Alias;
   9.610 +
   9.611 +	void        (*CommandLine)      (CHAR*);
   9.612 +	BOOL        (*IsPresent)        (void);
   9.613 +	SWORD       (*SampleLoad)       (struct SAMPLOAD*,int);
   9.614 +	void        (*SampleUnload)     (SWORD);
   9.615 +	ULONG       (*FreeSampleSpace)  (int);
   9.616 +	ULONG       (*RealSampleLength) (int,struct SAMPLE*);
   9.617 +	BOOL        (*Init)             (void);
   9.618 +	void        (*Exit)             (void);
   9.619 +	BOOL        (*Reset)            (void);
   9.620 +	BOOL        (*SetNumVoices)     (void);
   9.621 +	BOOL        (*PlayStart)        (void);
   9.622 +	void        (*PlayStop)         (void);
   9.623 +	void        (*Update)           (void);
   9.624 +	void		(*Pause)			(void);
   9.625 +	void        (*VoiceSetVolume)   (UBYTE,UWORD);
   9.626 +	UWORD       (*VoiceGetVolume)   (UBYTE);
   9.627 +	void        (*VoiceSetFrequency)(UBYTE,ULONG);
   9.628 +	ULONG       (*VoiceGetFrequency)(UBYTE);
   9.629 +	void        (*VoiceSetPanning)  (UBYTE,ULONG);
   9.630 +	ULONG       (*VoiceGetPanning)  (UBYTE);
   9.631 +	void        (*VoicePlay)        (UBYTE,SWORD,ULONG,ULONG,ULONG,ULONG,UWORD);
   9.632 +	void        (*VoiceStop)        (UBYTE);
   9.633 +	BOOL        (*VoiceStopped)     (UBYTE);
   9.634 +	SLONG       (*VoiceGetPosition) (UBYTE);
   9.635 +	ULONG       (*VoiceRealVolume)  (UBYTE);
   9.636 +} MDRIVER;
   9.637 +
   9.638 +/* These variables can be changed at ANY time and results will be immediate */
   9.639 +MIKMODAPI extern UBYTE md_volume;      /* global sound volume (0-128) */
   9.640 +MIKMODAPI extern UBYTE md_musicvolume; /* volume of song */
   9.641 +MIKMODAPI extern UBYTE md_sndfxvolume; /* volume of sound effects */
   9.642 +MIKMODAPI extern UBYTE md_reverb;      /* 0 = none;  15 = chaos */
   9.643 +MIKMODAPI extern UBYTE md_pansep;      /* 0 = mono;  128 == 100% (full left/right) */
   9.644 +
   9.645 +/* The variables below can be changed at any time, but changes will not be
   9.646 +   implemented until MikMod_Reset is called. A call to MikMod_Reset may result
   9.647 +   in a skip or pop in audio (depending on the soundcard driver and the settings
   9.648 +   changed). */
   9.649 +MIKMODAPI extern UWORD md_device;      /* device */
   9.650 +MIKMODAPI extern UWORD md_mixfreq;     /* mixing frequency */
   9.651 +MIKMODAPI extern UWORD md_mode;        /* mode. See DMODE_? flags above */
   9.652 +
   9.653 +/* The following variable should not be changed! */
   9.654 +MIKMODAPI extern MDRIVER* md_driver;   /* Current driver in use. */
   9.655 +
   9.656 +/* Known drivers list */
   9.657 +
   9.658 +MIKMODAPI extern struct MDRIVER drv_nos;    /* no sound */
   9.659 +MIKMODAPI extern struct MDRIVER drv_pipe;   /* piped output */
   9.660 +MIKMODAPI extern struct MDRIVER drv_raw;    /* raw file disk writer [music.raw] */
   9.661 +MIKMODAPI extern struct MDRIVER drv_stdout; /* output to stdout */
   9.662 +MIKMODAPI extern struct MDRIVER drv_wav;    /* RIFF WAVE file disk writer [music.wav] */
   9.663 +
   9.664 +MIKMODAPI extern struct MDRIVER drv_ultra;  /* Linux Ultrasound driver */
   9.665 +MIKMODAPI extern struct MDRIVER drv_sam9407;	/* Linux sam9407 driver */
   9.666 +
   9.667 +MIKMODAPI extern struct MDRIVER drv_AF;     /* Dec Alpha AudioFile */
   9.668 +MIKMODAPI extern struct MDRIVER drv_aix;    /* AIX audio device */
   9.669 +MIKMODAPI extern struct MDRIVER drv_alsa;   /* Advanced Linux Sound Architecture (ALSA) */
   9.670 +MIKMODAPI extern struct MDRIVER drv_esd;    /* Enlightened sound daemon (EsounD) */
   9.671 +MIKMODAPI extern struct MDRIVER drv_hp;     /* HP-UX audio device */
   9.672 +MIKMODAPI extern struct MDRIVER drv_oss;    /* OpenSound System (Linux,FreeBSD...) */
   9.673 +MIKMODAPI extern struct MDRIVER drv_sgi;    /* SGI audio library */
   9.674 +MIKMODAPI extern struct MDRIVER drv_sun;    /* Sun/NetBSD/OpenBSD audio device */
   9.675 +
   9.676 +MIKMODAPI extern struct MDRIVER drv_dart;   /* OS/2 Direct Audio RealTime */
   9.677 +MIKMODAPI extern struct MDRIVER drv_os2;    /* OS/2 MMPM/2 */
   9.678 +
   9.679 +MIKMODAPI extern struct MDRIVER drv_ds;     /* Win32 DirectSound driver */
   9.680 +MIKMODAPI extern struct MDRIVER drv_win;    /* Win32 multimedia API driver */
   9.681 +
   9.682 +MIKMODAPI extern struct MDRIVER drv_mac;    /* Macintosh Sound Manager driver */
   9.683 +
   9.684 +/*========== Virtual channel mixer interface (for user-supplied drivers only) */
   9.685 +
   9.686 +MIKMODAPI extern BOOL  VC_Init(void);
   9.687 +MIKMODAPI extern void  VC_Exit(void);
   9.688 +MIKMODAPI extern BOOL  VC_SetNumVoices(void);
   9.689 +MIKMODAPI extern ULONG VC_SampleSpace(int);
   9.690 +MIKMODAPI extern ULONG VC_SampleLength(int,SAMPLE*);
   9.691 +
   9.692 +MIKMODAPI extern BOOL  VC_PlayStart(void);
   9.693 +MIKMODAPI extern void  VC_PlayStop(void);
   9.694 +
   9.695 +MIKMODAPI extern SWORD VC_SampleLoad(struct SAMPLOAD*,int);
   9.696 +MIKMODAPI extern void  VC_SampleUnload(SWORD);
   9.697 +
   9.698 +MIKMODAPI extern ULONG VC_WriteBytes(SBYTE*,ULONG);
   9.699 +MIKMODAPI extern ULONG VC_SilenceBytes(SBYTE*,ULONG);
   9.700 +
   9.701 +MIKMODAPI extern void  VC_VoiceSetVolume(UBYTE,UWORD);
   9.702 +MIKMODAPI extern UWORD VC_VoiceGetVolume(UBYTE);
   9.703 +MIKMODAPI extern void  VC_VoiceSetFrequency(UBYTE,ULONG);
   9.704 +MIKMODAPI extern ULONG VC_VoiceGetFrequency(UBYTE);
   9.705 +MIKMODAPI extern void  VC_VoiceSetPanning(UBYTE,ULONG);
   9.706 +MIKMODAPI extern ULONG VC_VoiceGetPanning(UBYTE);
   9.707 +MIKMODAPI extern void  VC_VoicePlay(UBYTE,SWORD,ULONG,ULONG,ULONG,ULONG,UWORD);
   9.708 +
   9.709 +MIKMODAPI extern void  VC_VoiceStop(UBYTE);
   9.710 +MIKMODAPI extern BOOL  VC_VoiceStopped(UBYTE);
   9.711 +MIKMODAPI extern SLONG VC_VoiceGetPosition(UBYTE);
   9.712 +MIKMODAPI extern ULONG VC_VoiceRealVolume(UBYTE);
   9.713 +
   9.714 +#ifdef __cplusplus
   9.715 +}
   9.716 +#endif
   9.717 +
   9.718 +#endif
   9.719 +
   9.720 +/* ex:set ts=4: */
    10.1 Binary file VisualC/mikmod/lib/mikmod.dll has changed
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/VisualC/native_midi/native_midi.dsp	Tue Jan 18 11:11:21 2011 -0800
    11.3 @@ -0,0 +1,94 @@
    11.4 +# Microsoft Developer Studio Project File - Name="native_midi" - Package Owner=<4>
    11.5 +# Microsoft Developer Studio Generated Build File, Format Version 5.00
    11.6 +# ** DO NOT EDIT **
    11.7 +
    11.8 +# TARGTYPE "Win32 (x86) Static Library" 0x0104
    11.9 +
   11.10 +CFG=native_midi - Win32 Debug
   11.11 +!MESSAGE This is not a valid makefile. To build this project using NMAKE,
   11.12 +!MESSAGE use the Export Makefile command and run
   11.13 +!MESSAGE 
   11.14 +!MESSAGE NMAKE /f "native_midi.mak".
   11.15 +!MESSAGE 
   11.16 +!MESSAGE You can specify a configuration when running NMAKE
   11.17 +!MESSAGE by defining the macro CFG on the command line. For example:
   11.18 +!MESSAGE 
   11.19 +!MESSAGE NMAKE /f "native_midi.mak" CFG="native_midi - Win32 Debug"
   11.20 +!MESSAGE 
   11.21 +!MESSAGE Possible choices for configuration are:
   11.22 +!MESSAGE 
   11.23 +!MESSAGE "native_midi - Win32 Release" (based on "Win32 (x86) Static Library")
   11.24 +!MESSAGE "native_midi - Win32 Debug" (based on "Win32 (x86) Static Library")
   11.25 +!MESSAGE 
   11.26 +
   11.27 +# Begin Project
   11.28 +# PROP Scc_ProjName ""
   11.29 +# PROP Scc_LocalPath ""
   11.30 +CPP=cl.exe
   11.31 +
   11.32 +!IF  "$(CFG)" == "native_midi - Win32 Release"
   11.33 +
   11.34 +# PROP BASE Use_MFC 0
   11.35 +# PROP BASE Use_Debug_Libraries 0
   11.36 +# PROP BASE Output_Dir "Release"
   11.37 +# PROP BASE Intermediate_Dir "Release"
   11.38 +# PROP BASE Target_Dir ""
   11.39 +# PROP Use_MFC 0
   11.40 +# PROP Use_Debug_Libraries 0
   11.41 +# PROP Output_Dir "Release"
   11.42 +# PROP Intermediate_Dir "Release"
   11.43 +# PROP Target_Dir ""
   11.44 +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
   11.45 +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\.." /I "..\..\native_midi" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
   11.46 +BSC32=bscmake.exe
   11.47 +# ADD BASE BSC32 /nologo
   11.48 +# ADD BSC32 /nologo
   11.49 +LIB32=link.exe -lib
   11.50 +# ADD BASE LIB32 /nologo
   11.51 +# ADD LIB32 /nologo
   11.52 +
   11.53 +!ELSEIF  "$(CFG)" == "native_midi - Win32 Debug"
   11.54 +
   11.55 +# PROP BASE Use_MFC 0
   11.56 +# PROP BASE Use_Debug_Libraries 1
   11.57 +# PROP BASE Output_Dir "Debug"
   11.58 +# PROP BASE Intermediate_Dir "Debug"
   11.59 +# PROP BASE Target_Dir ""
   11.60 +# PROP Use_MFC 0
   11.61 +# PROP Use_Debug_Libraries 1
   11.62 +# PROP Output_Dir "Debug"
   11.63 +# PROP Intermediate_Dir "Debug"
   11.64 +# PROP Target_Dir ""
   11.65 +# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
   11.66 +# ADD CPP /nologo /MD /W3 /GX /Z7 /Od /I "..\.." /I "..\..\native_midi" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
   11.67 +BSC32=bscmake.exe
   11.68 +# ADD BASE BSC32 /nologo
   11.69 +# ADD BSC32 /nologo
   11.70 +LIB32=link.exe -lib
   11.71 +# ADD BASE LIB32 /nologo
   11.72 +# ADD LIB32 /nologo
   11.73 +
   11.74 +!ENDIF 
   11.75 +
   11.76 +# Begin Target
   11.77 +
   11.78 +# Name "native_midi - Win32 Release"
   11.79 +# Name "native_midi - Win32 Debug"
   11.80 +# Begin Source File
   11.81 +
   11.82 +SOURCE=..\..\native_midi\native_midi.h
   11.83 +# End Source File
   11.84 +# Begin Source File
   11.85 +
   11.86 +SOURCE=..\..\native_midi\native_midi_common.c
   11.87 +# End Source File
   11.88 +# Begin Source File
   11.89 +
   11.90 +SOURCE=..\..\native_midi\native_midi_common.h
   11.91 +# End Source File
   11.92 +# Begin Source File
   11.93 +
   11.94 +SOURCE=..\..\native_midi\native_midi_win32.c
   11.95 +# End Source File
   11.96 +# End Target
   11.97 +# End Project
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/VisualC/native_midi/native_midi.vcproj	Tue Jan 18 11:11:21 2011 -0800
    12.3 @@ -0,0 +1,219 @@
    12.4 +<?xml version="1.0" encoding="Windows-1252"?>
    12.5 +<VisualStudioProject
    12.6 +	ProjectType="Visual C++"
    12.7 +	Version="8.00"
    12.8 +	Name="native_midi"
    12.9 +	ProjectGUID="{EBDA67CA-4A23-4F22-BFBC-B8DBE0580D4F}"
   12.10 +	>
   12.11 +	<Platforms>
   12.12 +		<Platform
   12.13 +			Name="Win32"
   12.14 +		/>
   12.15 +	</Platforms>
   12.16 +	<ToolFiles>
   12.17 +	</ToolFiles>
   12.18 +	<Configurations>
   12.19 +		<Configuration
   12.20 +			Name="Release|Win32"
   12.21 +			OutputDirectory=".\Release"
   12.22 +			IntermediateDirectory=".\Release"
   12.23 +			ConfigurationType="4"
   12.24 +			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
   12.25 +			UseOfMFC="0"
   12.26 +			ATLMinimizesCRunTimeLibraryUsage="false"
   12.27 +			>
   12.28 +			<Tool
   12.29 +				Name="VCPreBuildEventTool"
   12.30 +			/>
   12.31 +			<Tool
   12.32 +				Name="VCCustomBuildTool"
   12.33 +			/>
   12.34 +			<Tool
   12.35 +				Name="VCXMLDataGeneratorTool"
   12.36 +			/>
   12.37 +			<Tool
   12.38 +				Name="VCWebServiceProxyGeneratorTool"
   12.39 +			/>
   12.40 +			<Tool
   12.41 +				Name="VCMIDLTool"
   12.42 +			/>
   12.43 +			<Tool
   12.44 +				Name="VCCLCompilerTool"
   12.45 +				Optimization="2"
   12.46 +				InlineFunctionExpansion="1"
   12.47 +				AdditionalIncludeDirectories="..\..,..\..\native_midi"
   12.48 +				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
   12.49 +				StringPooling="true"
   12.50 +				RuntimeLibrary="2"
   12.51 +				EnableFunctionLevelLinking="true"
   12.52 +				PrecompiledHeaderFile=".\Release/native_midi.pch"
   12.53 +				AssemblerListingLocation=".\Release/"
   12.54 +				ObjectFile=".\Release/"
   12.55 +				ProgramDataBaseFileName=".\Release/"
   12.56 +				WarningLevel="3"
   12.57 +				SuppressStartupBanner="true"
   12.58 +			/>
   12.59 +			<Tool
   12.60 +				Name="VCManagedResourceCompilerTool"
   12.61 +			/>
   12.62 +			<Tool
   12.63 +				Name="VCResourceCompilerTool"
   12.64 +				Culture="1033"
   12.65 +			/>
   12.66 +			<Tool
   12.67 +				Name="VCPreLinkEventTool"
   12.68 +			/>
   12.69 +			<Tool
   12.70 +				Name="VCLibrarianTool"
   12.71 +				OutputFile=".\Release\native_midi.lib"
   12.72 +				SuppressStartupBanner="true"
   12.73 +			/>
   12.74 +			<Tool
   12.75 +				Name="VCALinkTool"
   12.76 +			/>
   12.77 +			<Tool
   12.78 +				Name="VCXDCMakeTool"
   12.79 +			/>
   12.80 +			<Tool
   12.81 +				Name="VCBscMakeTool"
   12.82 +				SuppressStartupBanner="true"
   12.83 +				OutputFile=".\Release/native_midi.bsc"
   12.84 +			/>
   12.85 +			<Tool
   12.86 +				Name="VCFxCopTool"
   12.87 +			/>
   12.88 +			<Tool
   12.89 +				Name="VCPostBuildEventTool"
   12.90 +			/>
   12.91 +		</Configuration>
   12.92 +		<Configuration
   12.93 +			Name="Debug|Win32"
   12.94 +			OutputDirectory=".\Debug"
   12.95 +			IntermediateDirectory=".\Debug"
   12.96 +			ConfigurationType="4"
   12.97 +			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
   12.98 +			UseOfMFC="0"
   12.99 +			ATLMinimizesCRunTimeLibraryUsage="false"
  12.100 +			>
  12.101 +			<Tool
  12.102 +				Name="VCPreBuildEventTool"
  12.103 +			/>
  12.104 +			<Tool
  12.105 +				Name="VCCustomBuildTool"
  12.106 +			/>
  12.107 +			<Tool
  12.108 +				Name="VCXMLDataGeneratorTool"
  12.109 +			/>
  12.110 +			<Tool
  12.111 +				Name="VCWebServiceProxyGeneratorTool"
  12.112 +			/>
  12.113 +			<Tool
  12.114 +				Name="VCMIDLTool"
  12.115 +			/>
  12.116 +			<Tool
  12.117 +				Name="VCCLCompilerTool"
  12.118 +				Optimization="0"
  12.119 +				AdditionalIncludeDirectories="..\..,..\..\native_midi"
  12.120 +				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
  12.121 +				RuntimeLibrary="2"
  12.122 +				PrecompiledHeaderFile=".\Debug/native_midi.pch"
  12.123 +				AssemblerListingLocation=".\Debug/"
  12.124 +				ObjectFile=".\Debug/"
  12.125 +				ProgramDataBaseFileName=".\Debug/"
  12.126 +				WarningLevel="3"
  12.127 +				SuppressStartupBanner="true"
  12.128 +				DebugInformationFormat="1"
  12.129 +			/>
  12.130 +			<Tool
  12.131 +				Name="VCManagedResourceCompilerTool"
  12.132 +			/>
  12.133 +			<Tool
  12.134 +				Name="VCResourceCompilerTool"
  12.135 +				Culture="1033"
  12.136 +			/>
  12.137 +			<Tool
  12.138 +				Name="VCPreLinkEventTool"
  12.139 +			/>
  12.140 +			<Tool
  12.141 +				Name="VCLibrarianTool"
  12.142 +				OutputFile=".\Debug\native_midi.lib"
  12.143 +				SuppressStartupBanner="true"
  12.144 +			/>
  12.145 +			<Tool
  12.146 +				Name="VCALinkTool"
  12.147 +			/>
  12.148 +			<Tool
  12.149 +				Name="VCXDCMakeTool"
  12.150 +			/>
  12.151 +			<Tool
  12.152 +				Name="VCBscMakeTool"
  12.153 +				SuppressStartupBanner="true"
  12.154 +				OutputFile=".\Debug/native_midi.bsc"
  12.155 +			/>
  12.156 +			<Tool
  12.157 +				Name="VCFxCopTool"
  12.158 +			/>
  12.159 +			<Tool
  12.160 +				Name="VCPostBuildEventTool"
  12.161 +			/>
  12.162 +		</Configuration>
  12.163 +	</Configurations>
  12.164 +	<References>
  12.165 +	</References>
  12.166 +	<Files>
  12.167 +		<File
  12.168 +			RelativePath="..\..\native_midi\native_midi.h"
  12.169 +			>
  12.170 +		</File>
  12.171 +		<File
  12.172 +			RelativePath="..\..\native_midi\native_midi_common.c"
  12.173 +			>
  12.174 +			<FileConfiguration
  12.175 +				Name="Release|Win32"
  12.176 +				>
  12.177 +				<Tool
  12.178 +					Name="VCCLCompilerTool"
  12.179 +					AdditionalIncludeDirectories=""
  12.180 +					PreprocessorDefinitions=""
  12.181 +				/>
  12.182 +			</FileConfiguration>
  12.183 +			<FileConfiguration
  12.184 +				Name="Debug|Win32"
  12.185 +				>
  12.186 +				<Tool
  12.187 +					Name="VCCLCompilerTool"
  12.188 +					AdditionalIncludeDirectories=""
  12.189 +					PreprocessorDefinitions=""
  12.190 +				/>
  12.191 +			</FileConfiguration>
  12.192 +		</File>
  12.193 +		<File
  12.194 +			RelativePath="..\..\native_midi\native_midi_common.h"
  12.195 +			>
  12.196 +		</File>
  12.197 +		<File
  12.198 +			RelativePath="..\..\native_midi\native_midi_win32.c"
  12.199 +			>
  12.200 +			<FileConfiguration
  12.201 +				Name="Release|Win32"
  12.202 +				>
  12.203 +				<Tool
  12.204 +					Name="VCCLCompilerTool"
  12.205 +					AdditionalIncludeDirectories=""
  12.206 +					PreprocessorDefinitions=""
  12.207 +				/>
  12.208 +			</FileConfiguration>
  12.209 +			<FileConfiguration
  12.210 +				Name="Debug|Win32"
  12.211 +				>
  12.212 +				<Tool
  12.213 +					Name="VCCLCompilerTool"
  12.214 +					AdditionalIncludeDirectories=""
  12.215 +					PreprocessorDefinitions=""
  12.216 +				/>
  12.217 +			</FileConfiguration>
  12.218 +		</File>
  12.219 +	</Files>
  12.220 +	<Globals>
  12.221 +	</Globals>
  12.222 +</VisualStudioProject>
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/VisualC/playmus/playmus.dsp	Tue Jan 18 11:11:21 2011 -0800
    13.3 @@ -0,0 +1,98 @@
    13.4 +# Microsoft Developer Studio Project File - Name="playmus" - Package Owner=<4>
    13.5 +# Microsoft Developer Studio Generated Build File, Format Version 5.00
    13.6 +# ** DO NOT EDIT **
    13.7 +
    13.8 +# TARGTYPE "Win32 (x86) Application" 0x0101
    13.9 +
   13.10 +CFG=playmus - Win32 Debug
   13.11 +!MESSAGE This is not a valid makefile. To build this project using NMAKE,
   13.12 +!MESSAGE use the Export Makefile command and run
   13.13 +!MESSAGE 
   13.14 +!MESSAGE NMAKE /f "playmus.mak".
   13.15 +!MESSAGE 
   13.16 +!MESSAGE You can specify a configuration when running NMAKE
   13.17 +!MESSAGE by defining the macro CFG on the command line. For example:
   13.18 +!MESSAGE 
   13.19 +!MESSAGE NMAKE /f "playmus.mak" CFG="playmus - Win32 Debug"
   13.20 +!MESSAGE 
   13.21 +!MESSAGE Possible choices for configuration are:
   13.22 +!MESSAGE 
   13.23 +!MESSAGE "playmus - Win32 Release" (based on "Win32 (x86) Application")
   13.24 +!MESSAGE "playmus - Win32 Debug" (based on "Win32 (x86) Application")
   13.25 +!MESSAGE 
   13.26 +
   13.27 +# Begin Project
   13.28 +# PROP Scc_ProjName ""
   13.29 +# PROP Scc_LocalPath ""
   13.30 +CPP=cl.exe
   13.31 +MTL=midl.exe
   13.32 +RSC=rc.exe
   13.33 +
   13.34 +!IF  "$(CFG)" == "playmus - Win32 Release"
   13.35 +
   13.36 +# PROP BASE Use_MFC 0
   13.37 +# PROP BASE Use_Debug_Libraries 0
   13.38 +# PROP BASE Output_Dir "Release"
   13.39 +# PROP BASE Intermediate_Dir "Release"
   13.40 +# PROP BASE Target_Dir ""
   13.41 +# PROP Use_MFC 0
   13.42 +# PROP Use_Debug_Libraries 0
   13.43 +# PROP Output_Dir "Release"
   13.44 +# PROP Intermediate_Dir "Release"
   13.45 +# PROP Ignore_Export_Lib 0
   13.46 +# PROP Target_Dir ""
   13.47 +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
   13.48 +# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
   13.49 +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
   13.50 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
   13.51 +# ADD BASE RSC /l 0x409 /d "NDEBUG"
   13.52 +# ADD RSC /l 0x409 /d "NDEBUG"
   13.53 +BSC32=bscmake.exe
   13.54 +# ADD BASE BSC32 /nologo
   13.55 +# ADD BSC32 /nologo
   13.56 +LINK32=link.exe
   13.57 +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386
   13.58 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib SDL.lib SDLmain.lib /nologo /subsystem:windows /machine:I386
   13.59 +
   13.60 +!ELSEIF  "$(CFG)" == "playmus - Win32 Debug"
   13.61 +
   13.62 +# PROP BASE Use_MFC 0
   13.63 +# PROP BASE Use_Debug_Libraries 1
   13.64 +# PROP BASE Output_Dir "Debug"
   13.65 +# PROP BASE Intermediate_Dir "Debug"
   13.66 +# PROP BASE Target_Dir ""
   13.67 +# PROP Use_MFC 0
   13.68 +# PROP Use_Debug_Libraries 1
   13.69 +# PROP Output_Dir "Debug"
   13.70 +# PROP Intermediate_Dir "Debug"
   13.71 +# PROP Ignore_Export_Lib 0
   13.72 +# PROP Target_Dir ""
   13.73 +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
   13.74 +# ADD CPP /nologo /MD /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
   13.75 +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
   13.76 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
   13.77 +# ADD BASE RSC /l 0x409 /d "_DEBUG"
   13.78 +# ADD RSC /l 0x409 /d "_DEBUG"
   13.79 +BSC32=bscmake.exe
   13.80 +# ADD BASE BSC32 /nologo
   13.81 +# ADD BSC32 /nologo
   13.82 +LINK32=link.exe
   13.83 +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
   13.84 +# ADD LINK32 SDL.lib SDLmain.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
   13.85 +
   13.86 +!ENDIF 
   13.87 +
   13.88 +# Begin Target
   13.89 +
   13.90 +# Name "playmus - Win32 Release"
   13.91 +# Name "playmus - Win32 Debug"
   13.92 +# Begin Source File
   13.93 +
   13.94 +SOURCE=..\..\playmus.c
   13.95 +# End Source File
   13.96 +# Begin Source File
   13.97 +
   13.98 +SOURCE=..\Release\SDL_mixer.lib
   13.99 +# End Source File
  13.100 +# End Target
  13.101 +# End Project
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/VisualC/playmus/playmus.vcproj	Tue Jan 18 11:11:21 2011 -0800
    14.3 @@ -0,0 +1,229 @@
    14.4 +<?xml version="1.0" encoding="Windows-1252"?>
    14.5 +<VisualStudioProject
    14.6 +	ProjectType="Visual C++"
    14.7 +	Version="8.00"
    14.8 +	Name="playmus"
    14.9 +	ProjectGUID="{72CB0DD4-051D-486C-9CB3-75FE16F7D87A}"
   14.10 +	>
   14.11 +	<Platforms>
   14.12 +		<Platform
   14.13 +			Name="Win32"
   14.14 +		/>
   14.15 +	</Platforms>
   14.16 +	<ToolFiles>
   14.17 +	</ToolFiles>
   14.18 +	<Configurations>
   14.19 +		<Configuration
   14.20 +			Name="Debug|Win32"
   14.21 +			OutputDirectory=".\Debug"
   14.22 +			IntermediateDirectory=".\Debug"
   14.23 +			ConfigurationType="1"
   14.24 +			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
   14.25 +			UseOfMFC="0"
   14.26 +			ATLMinimizesCRunTimeLibraryUsage="false"
   14.27 +			>
   14.28 +			<Tool
   14.29 +				Name="VCPreBuildEventTool"
   14.30 +			/>
   14.31 +			<Tool
   14.32 +				Name="VCCustomBuildTool"
   14.33 +			/>
   14.34 +			<Tool
   14.35 +				Name="VCXMLDataGeneratorTool"
   14.36 +			/>
   14.37 +			<Tool
   14.38 +				Name="VCWebServiceProxyGeneratorTool"
   14.39 +			/>
   14.40 +			<Tool
   14.41 +				Name="VCMIDLTool"
   14.42 +				PreprocessorDefinitions="_DEBUG"
   14.43 +				MkTypLibCompatible="true"
   14.44 +				SuppressStartupBanner="true"
   14.45 +				TargetEnvironment="1"
   14.46 +				TypeLibraryName=".\Debug/playmus.tlb"
   14.47 +				HeaderFileName=""
   14.48 +			/>
   14.49 +			<Tool
   14.50 +				Name="VCCLCompilerTool"
   14.51 +				Optimization="0"
   14.52 +				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
   14.53 +				MinimalRebuild="true"
   14.54 +				RuntimeLibrary="2"
   14.55 +				PrecompiledHeaderFile=".\Debug/playmus.pch"
   14.56 +				AssemblerListingLocation=".\Debug/"
   14.57 +				ObjectFile=".\Debug/"
   14.58 +				ProgramDataBaseFileName=".\Debug/"
   14.59 +				WarningLevel="3"
   14.60 +				SuppressStartupBanner="true"
   14.61 +				DebugInformationFormat="4"
   14.62 +			/>
   14.63 +			<Tool
   14.64 +				Name="VCManagedResourceCompilerTool"
   14.65 +			/>
   14.66 +			<Tool
   14.67 +				Name="VCResourceCompilerTool"
   14.68 +				PreprocessorDefinitions="_DEBUG"
   14.69 +				Culture="1033"
   14.70 +			/>
   14.71 +			<Tool
   14.72 +				Name="VCPreLinkEventTool"
   14.73 +			/>
   14.74 +			<Tool
   14.75 +				Name="VCLinkerTool"
   14.76 +				AdditionalDependencies="SDL.lib SDLmain.lib"
   14.77 +				OutputFile=".\Debug/playmus.exe"
   14.78 +				LinkIncremental="2"
   14.79 +				SuppressStartupBanner="true"
   14.80 +				GenerateDebugInformation="true"
   14.81 +				ProgramDatabaseFile=".\Debug/playmus.pdb"
   14.82 +				SubSystem="2"
   14.83 +				TargetMachine="1"
   14.84 +			/>
   14.85 +			<Tool
   14.86 +				Name="VCALinkTool"
   14.87 +			/>
   14.88 +			<Tool
   14.89 +				Name="VCManifestTool"
   14.90 +			/>
   14.91 +			<Tool
   14.92 +				Name="VCXDCMakeTool"
   14.93 +			/>
   14.94 +			<Tool
   14.95 +				Name="VCBscMakeTool"
   14.96 +				SuppressStartupBanner="true"
   14.97 +				OutputFile=".\Debug/playmus.bsc"
   14.98 +			/>
   14.99 +			<Tool
  14.100 +				Name="VCFxCopTool"
  14.101 +			/>
  14.102 +			<Tool
  14.103 +				Name="VCAppVerifierTool"
  14.104 +			/>
  14.105 +			<Tool
  14.106 +				Name="VCWebDeploymentTool"
  14.107 +			/>
  14.108 +			<Tool
  14.109 +				Name="VCPostBuildEventTool"
  14.110 +			/>
  14.111 +		</Configuration>
  14.112 +		<Configuration
  14.113 +			Name="Release|Win32"
  14.114 +			OutputDirectory=".\Release"
  14.115 +			IntermediateDirectory=".\Release"
  14.116 +			ConfigurationType="1"
  14.117 +			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
  14.118 +			UseOfMFC="0"
  14.119 +			ATLMinimizesCRunTimeLibraryUsage="false"
  14.120 +			>
  14.121 +			<Tool
  14.122 +				Name="VCPreBuildEventTool"
  14.123 +			/>
  14.124 +			<Tool
  14.125 +				Name="VCCustomBuildTool"
  14.126 +			/>
  14.127 +			<Tool
  14.128 +				Name="VCXMLDataGeneratorTool"
  14.129 +			/>
  14.130 +			<Tool
  14.131 +				Name="VCWebServiceProxyGeneratorTool"
  14.132 +			/>
  14.133 +			<Tool
  14.134 +				Name="VCMIDLTool"
  14.135 +				PreprocessorDefinitions="NDEBUG"
  14.136 +				MkTypLibCompatible="true"
  14.137 +				SuppressStartupBanner="true"
  14.138 +				TargetEnvironment="1"
  14.139 +				TypeLibraryName=".\Release/playmus.tlb"
  14.140 +				HeaderFileName=""
  14.141 +			/>
  14.142 +			<Tool
  14.143 +				Name="VCCLCompilerTool"
  14.144 +				Optimization="2"
  14.145 +				InlineFunctionExpansion="1"
  14.146 +				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
  14.147 +				StringPooling="true"
  14.148 +				RuntimeLibrary="2"
  14.149 +				EnableFunctionLevelLinking="true"
  14.150 +				PrecompiledHeaderFile=".\Release/playmus.pch"
  14.151 +				AssemblerListingLocation=".\Release/"
  14.152 +				ObjectFile=".\Release/"
  14.153 +				ProgramDataBaseFileName=".\Release/"
  14.154 +				WarningLevel="3"
  14.155 +				SuppressStartupBanner="true"
  14.156 +			/>
  14.157 +			<Tool
  14.158 +				Name="VCManagedResourceCompilerTool"
  14.159 +			/>
  14.160 +			<Tool
  14.161 +				Name="VCResourceCompilerTool"
  14.162 +				PreprocessorDefinitions="NDEBUG"
  14.163 +				Culture="1033"
  14.164 +			/>
  14.165 +			<Tool
  14.166 +				Name="VCPreLinkEventTool"
  14.167 +			/>
  14.168 +			<Tool
  14.169 +				Name="VCLinkerTool"
  14.170 +				AdditionalDependencies="SDL.lib SDLmain.lib"
  14.171 +				OutputFile=".\Release/playmus.exe"
  14.172 +				LinkIncremental="1"
  14.173 +				SuppressStartupBanner="true"
  14.174 +				ProgramDatabaseFile=".\Release/playmus.pdb"
  14.175 +				SubSystem="2"
  14.176 +				TargetMachine="1"
  14.177 +			/>
  14.178 +			<Tool
  14.179 +				Name="VCALinkTool"
  14.180 +			/>
  14.181 +			<Tool
  14.182 +				Name="VCManifestTool"
  14.183 +			/>
  14.184 +			<Tool
  14.185 +				Name="VCXDCMakeTool"
  14.186 +			/>
  14.187 +			<Tool
  14.188 +				Name="VCBscMakeTool"
  14.189 +				SuppressStartupBanner="true"
  14.190 +				OutputFile=".\Release/playmus.bsc"
  14.191 +			/>
  14.192 +			<Tool
  14.193 +				Name="VCFxCopTool"
  14.194 +			/>
  14.195 +			<Tool
  14.196 +				Name="VCAppVerifierTool"
  14.197 +			/>
  14.198 +			<Tool
  14.199 +				Name="VCWebDeploymentTool"
  14.200 +			/>
  14.201 +			<Tool
  14.202 +				Name="VCPostBuildEventTool"
  14.203 +			/>
  14.204 +		</Configuration>
  14.205 +	</Configurations>
  14.206 +	<References>
  14.207 +	</References>
  14.208 +	<Files>
  14.209 +		<File
  14.210 +			RelativePath="..\..\playmus.c"
  14.211 +			>
  14.212 +			<FileConfiguration
  14.213 +				Name="Debug|Win32"
  14.214 +				>
  14.215 +				<Tool
  14.216 +					Name="VCCLCompilerTool"
  14.217 +					PreprocessorDefinitions=""
  14.218 +				/>
  14.219 +			</FileConfiguration>
  14.220 +			<FileConfiguration
  14.221 +				Name="Release|Win32"
  14.222 +				>
  14.223 +				<Tool
  14.224 +					Name="VCCLCompilerTool"
  14.225 +					PreprocessorDefinitions=""
  14.226 +				/>
  14.227 +			</FileConfiguration>
  14.228 +		</File>
  14.229 +	</Files>
  14.230 +	<Globals>
  14.231 +	</Globals>
  14.232 +</VisualStudioProject>
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/VisualC/playwave/playwave.dsp	Tue Jan 18 11:11:21 2011 -0800
    15.3 @@ -0,0 +1,98 @@
    15.4 +# Microsoft Developer Studio Project File - Name="playwave" - Package Owner=<4>
    15.5 +# Microsoft Developer Studio Generated Build File, Format Version 5.00
    15.6 +# ** DO NOT EDIT **
    15.7 +
    15.8 +# TARGTYPE "Win32 (x86) Application" 0x0101
    15.9 +
   15.10 +CFG=playwave - Win32 Debug
   15.11 +!MESSAGE This is not a valid makefile. To build this project using NMAKE,
   15.12 +!MESSAGE use the Export Makefile command and run
   15.13 +!MESSAGE 
   15.14 +!MESSAGE NMAKE /f "playwave.mak".
   15.15 +!MESSAGE 
   15.16 +!MESSAGE You can specify a configuration when running NMAKE
   15.17 +!MESSAGE by defining the macro CFG on the command line. For example:
   15.18 +!MESSAGE 
   15.19 +!MESSAGE NMAKE /f "playwave.mak" CFG="playwave - Win32 Debug"
   15.20 +!MESSAGE 
   15.21 +!MESSAGE Possible choices for configuration are:
   15.22 +!MESSAGE 
   15.23 +!MESSAGE "playwave - Win32 Release" (based on "Win32 (x86) Application")
   15.24 +!MESSAGE "playwave - Win32 Debug" (based on "Win32 (x86) Application")
   15.25 +!MESSAGE 
   15.26 +
   15.27 +# Begin Project
   15.28 +# PROP Scc_ProjName ""
   15.29 +# PROP Scc_LocalPath ""
   15.30 +CPP=cl.exe
   15.31 +MTL=midl.exe
   15.32 +RSC=rc.exe
   15.33 +
   15.34 +!IF  "$(CFG)" == "playwave - Win32 Release"
   15.35 +
   15.36 +# PROP BASE Use_MFC 0
   15.37 +# PROP BASE Use_Debug_Libraries 0
   15.38 +# PROP BASE Output_Dir "Release"
   15.39 +# PROP BASE Intermediate_Dir "Release"
   15.40 +# PROP BASE Target_Dir ""
   15.41 +# PROP Use_MFC 0
   15.42 +# PROP Use_Debug_Libraries 0
   15.43 +# PROP Output_Dir "Release"
   15.44 +# PROP Intermediate_Dir "Release"
   15.45 +# PROP Ignore_Export_Lib 0
   15.46 +# PROP Target_Dir ""
   15.47 +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
   15.48 +# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
   15.49 +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
   15.50 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
   15.51 +# ADD BASE RSC /l 0x409 /d "NDEBUG"
   15.52 +# ADD RSC /l 0x409 /d "NDEBUG"
   15.53 +BSC32=bscmake.exe
   15.54 +# ADD BASE BSC32 /nologo
   15.55 +# ADD BSC32 /nologo
   15.56 +LINK32=link.exe
   15.57 +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386
   15.58 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib SDL.lib SDLmain.lib /nologo /subsystem:windows /machine:I386
   15.59 +
   15.60 +!ELSEIF  "$(CFG)" == "playwave - Win32 Debug"
   15.61 +
   15.62 +# PROP BASE Use_MFC 0
   15.63 +# PROP BASE Use_Debug_Libraries 1
   15.64 +# PROP BASE Output_Dir "Debug"
   15.65 +# PROP BASE Intermediate_Dir "Debug"
   15.66 +# PROP BASE Target_Dir ""
   15.67 +# PROP Use_MFC 0
   15.68 +# PROP Use_Debug_Libraries 1
   15.69 +# PROP Output_Dir "Debug"
   15.70 +# PROP Intermediate_Dir "Debug"
   15.71 +# PROP Ignore_Export_Lib 0
   15.72 +# PROP Target_Dir ""
   15.73 +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
   15.74 +# ADD CPP /nologo /MD /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
   15.75 +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
   15.76 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
   15.77 +# ADD BASE RSC /l 0x409 /d "_DEBUG"
   15.78 +# ADD RSC /l 0x409 /d "_DEBUG"
   15.79 +BSC32=bscmake.exe
   15.80 +# ADD BASE BSC32 /nologo
   15.81 +# ADD BSC32 /nologo
   15.82 +LINK32=link.exe
   15.83 +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
   15.84 +# ADD LINK32 SDL.lib SDLmain.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
   15.85 +
   15.86 +!ENDIF 
   15.87 +
   15.88 +# Begin Target
   15.89 +
   15.90 +# Name "playwave - Win32 Release"
   15.91 +# Name "playwave - Win32 Debug"
   15.92 +# Begin Source File
   15.93 +
   15.94 +SOURCE=..\..\playwave.c
   15.95 +# End Source File
   15.96 +# Begin Source File
   15.97 +
   15.98 +SOURCE=..\Release\SDL_mixer.lib
   15.99 +# End Source File
  15.100 +# End Target
  15.101 +# End Project
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/VisualC/playwave/playwave.vcproj	Tue Jan 18 11:11:21 2011 -0800
    16.3 @@ -0,0 +1,229 @@
    16.4 +<?xml version="1.0" encoding="Windows-1252"?>
    16.5 +<VisualStudioProject
    16.6 +	ProjectType="Visual C++"
    16.7 +	Version="8.00"
    16.8 +	Name="playwave"
    16.9 +	ProjectGUID="{AC86CEAA-9908-476F-B15F-C7193CEF81BD}"
   16.10 +	>
   16.11 +	<Platforms>
   16.12 +		<Platform
   16.13 +			Name="Win32"
   16.14 +		/>
   16.15 +	</Platforms>
   16.16 +	<ToolFiles>
   16.17 +	</ToolFiles>
   16.18 +	<Configurations>
   16.19 +		<Configuration
   16.20 +			Name="Release|Win32"
   16.21 +			OutputDirectory=".\Release"
   16.22 +			IntermediateDirectory=".\Release"
   16.23 +			ConfigurationType="1"
   16.24 +			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
   16.25 +			UseOfMFC="0"
   16.26 +			ATLMinimizesCRunTimeLibraryUsage="false"
   16.27 +			>
   16.28 +			<Tool
   16.29 +				Name="VCPreBuildEventTool"
   16.30 +			/>
   16.31 +			<Tool
   16.32 +				Name="VCCustomBuildTool"
   16.33 +			/>
   16.34 +			<Tool
   16.35 +				Name="VCXMLDataGeneratorTool"
   16.36 +			/>
   16.37 +			<Tool
   16.38 +				Name="VCWebServiceProxyGeneratorTool"
   16.39 +			/>
   16.40 +			<Tool
   16.41 +				Name="VCMIDLTool"
   16.42 +				PreprocessorDefinitions="NDEBUG"
   16.43 +				MkTypLibCompatible="true"
   16.44 +				SuppressStartupBanner="true"
   16.45 +				TargetEnvironment="1"
   16.46 +				TypeLibraryName=".\Release/playwave.tlb"
   16.47 +				HeaderFileName=""
   16.48 +			/>
   16.49 +			<Tool
   16.50 +				Name="VCCLCompilerTool"
   16.51 +				Optimization="2"
   16.52 +				InlineFunctionExpansion="1"
   16.53 +				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
   16.54 +				StringPooling="true"
   16.55 +				RuntimeLibrary="2"
   16.56 +				EnableFunctionLevelLinking="true"
   16.57 +				PrecompiledHeaderFile=".\Release/playwave.pch"
   16.58 +				AssemblerListingLocation=".\Release/"
   16.59 +				ObjectFile=".\Release/"
   16.60 +				ProgramDataBaseFileName=".\Release/"
   16.61 +				WarningLevel="3"
   16.62 +				SuppressStartupBanner="true"
   16.63 +			/>
   16.64 +			<Tool
   16.65 +				Name="VCManagedResourceCompilerTool"
   16.66 +			/>
   16.67 +			<Tool
   16.68 +				Name="VCResourceCompilerTool"
   16.69 +				PreprocessorDefinitions="NDEBUG"
   16.70 +				Culture="1033"
   16.71 +			/>
   16.72 +			<Tool
   16.73 +				Name="VCPreLinkEventTool"
   16.74 +			/>
   16.75 +			<Tool
   16.76 +				Name="VCLinkerTool"
   16.77 +				AdditionalDependencies="SDL.lib SDLmain.lib"
   16.78 +				OutputFile=".\Release/playwave.exe"
   16.79 +				LinkIncremental="1"
   16.80 +				SuppressStartupBanner="true"
   16.81 +				ProgramDatabaseFile=".\Release/playwave.pdb"
   16.82 +				SubSystem="2"
   16.83 +				TargetMachine="1"
   16.84 +			/>
   16.85 +			<Tool
   16.86 +				Name="VCALinkTool"
   16.87 +			/>
   16.88 +			<Tool
   16.89 +				Name="VCManifestTool"
   16.90 +			/>
   16.91 +			<Tool
   16.92 +				Name="VCXDCMakeTool"
   16.93 +			/>
   16.94 +			<Tool
   16.95 +				Name="VCBscMakeTool"
   16.96 +				SuppressStartupBanner="true"
   16.97 +				OutputFile=".\Release/playwave.bsc"
   16.98 +			/>
   16.99 +			<Tool
  16.100 +				Name="VCFxCopTool"
  16.101 +			/>
  16.102 +			<Tool
  16.103 +				Name="VCAppVerifierTool"
  16.104 +			/>
  16.105 +			<Tool
  16.106 +				Name="VCWebDeploymentTool"
  16.107 +			/>
  16.108 +			<Tool
  16.109 +				Name="VCPostBuildEventTool"
  16.110 +			/>
  16.111 +		</Configuration>
  16.112 +		<Configuration
  16.113 +			Name="Debug|Win32"
  16.114 +			OutputDirectory=".\Debug"
  16.115 +			IntermediateDirectory=".\Debug"
  16.116 +			ConfigurationType="1"
  16.117 +			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
  16.118 +			UseOfMFC="0"
  16.119 +			ATLMinimizesCRunTimeLibraryUsage="false"
  16.120 +			>
  16.121 +			<Tool
  16.122 +				Name="VCPreBuildEventTool"
  16.123 +			/>
  16.124 +			<Tool
  16.125 +				Name="VCCustomBuildTool"
  16.126 +			/>
  16.127 +			<Tool
  16.128 +				Name="VCXMLDataGeneratorTool"
  16.129 +			/>
  16.130 +			<Tool
  16.131 +				Name="VCWebServiceProxyGeneratorTool"
  16.132 +			/>
  16.133 +			<Tool
  16.134 +				Name="VCMIDLTool"
  16.135 +				PreprocessorDefinitions="_DEBUG"
  16.136 +				MkTypLibCompatible="true"
  16.137 +				SuppressStartupBanner="true"
  16.138 +				TargetEnvironment="1"
  16.139 +				TypeLibraryName=".\Debug/playwave.tlb"
  16.140 +				HeaderFileName=""
  16.141 +			/>
  16.142 +			<Tool
  16.143 +				Name="VCCLCompilerTool"
  16.144 +				Optimization="0"
  16.145 +				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
  16.146 +				MinimalRebuild="true"
  16.147 +				RuntimeLibrary="2"
  16.148 +				PrecompiledHeaderFile=".\Debug/playwave.pch"
  16.149 +				AssemblerListingLocation=".\Debug/"
  16.150 +				ObjectFile=".\Debug/"
  16.151 +				ProgramDataBaseFileName=".\Debug/"
  16.152 +				WarningLevel="3"
  16.153 +				SuppressStartupBanner="true"
  16.154 +				DebugInformationFormat="4"
  16.155 +			/>
  16.156 +			<Tool
  16.157 +				Name="VCManagedResourceCompilerTool"
  16.158 +			/>
  16.159 +			<Tool
  16.160 +				Name="VCResourceCompilerTool"
  16.161 +				PreprocessorDefinitions="_DEBUG"
  16.162 +				Culture="1033"
  16.163 +			/>
  16.164 +			<Tool
  16.165 +				Name="VCPreLinkEventTool"
  16.166 +			/>
  16.167 +			<Tool
  16.168 +				Name="VCLinkerTool"
  16.169 +				AdditionalDependencies="SDL.lib SDLmain.lib"
  16.170 +				OutputFile=".\Debug/playwave.exe"
  16.171 +				LinkIncremental="2"
  16.172 +				SuppressStartupBanner="true"
  16.173 +				GenerateDebugInformation="true"
  16.174 +				ProgramDatabaseFile=".\Debug/playwave.pdb"
  16.175 +				SubSystem="2"
  16.176 +				TargetMachine="1"
  16.177 +			/>
  16.178 +			<Tool
  16.179 +				Name="VCALinkTool"
  16.180 +			/>
  16.181 +			<Tool
  16.182 +				Name="VCManifestTool"
  16.183 +			/>
  16.184 +			<Tool
  16.185 +				Name="VCXDCMakeTool"
  16.186 +			/>
  16.187 +			<Tool
  16.188 +				Name="VCBscMakeTool"
  16.189 +				SuppressStartupBanner="true"
  16.190 +				OutputFile=".\Debug/playwave.bsc"
  16.191 +			/>
  16.192 +			<Tool
  16.193 +				Name="VCFxCopTool"
  16.194 +			/>
  16.195 +			<Tool
  16.196 +				Name="VCAppVerifierTool"
  16.197 +			/>
  16.198 +			<Tool
  16.199 +				Name="VCWebDeploymentTool"
  16.200 +			/>
  16.201 +			<Tool
  16.202 +				Name="VCPostBuildEventTool"
  16.203 +			/>
  16.204 +		</Configuration>
  16.205 +	</Configurations>
  16.206 +	<References>
  16.207 +	</References>
  16.208 +	<Files>
  16.209 +		<File
  16.210 +			RelativePath="..\..\playwave.c"
  16.211 +			>
  16.212 +			<FileConfiguration
  16.213 +				Name="Release|Win32"
  16.214 +				>
  16.215 +				<Tool
  16.216 +					Name="VCCLCompilerTool"
  16.217 +					PreprocessorDefinitions=""
  16.218 +				/>
  16.219 +			</FileConfiguration>
  16.220 +			<FileConfiguration
  16.221 +				Name="Debug|Win32"
  16.222 +				>
  16.223 +				<Tool
  16.224 +					Name="VCCLCompilerTool"
  16.225 +					PreprocessorDefinitions=""
  16.226 +				/>
  16.227 +			</FileConfiguration>
  16.228 +		</File>
  16.229 +	</Files>
  16.230 +	<Globals>
  16.231 +	</Globals>
  16.232 +</VisualStudioProject>
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/VisualC/resource.h	Tue Jan 18 11:11:21 2011 -0800
    17.3 @@ -0,0 +1,15 @@
    17.4 +//{{NO_DEPENDENCIES}}
    17.5 +// Microsoft Developer Studio generated include file.
    17.6 +// Used by Version.rc
    17.7 +//
    17.8 +
    17.9 +// Next default values for new objects
   17.10 +// 
   17.11 +#ifdef APSTUDIO_INVOKED
   17.12 +#ifndef APSTUDIO_READONLY_SYMBOLS
   17.13 +#define _APS_NEXT_RESOURCE_VALUE        101
   17.14 +#define _APS_NEXT_COMMAND_VALUE         40001
   17.15 +#define _APS_NEXT_CONTROL_VALUE         1000
   17.16 +#define _APS_NEXT_SYMED_VALUE           101
   17.17 +#endif
   17.18 +#endif
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/VisualC/smpeg/include/MPEGfilter.h	Tue Jan 18 11:11:21 2011 -0800
    18.3 @@ -0,0 +1,67 @@
    18.4 +/*
    18.5 +    SMPEG - SDL MPEG Player Library
    18.6 +    Copyright (C) 1999  Loki Entertainment Software
    18.7 +
    18.8 +    This library is free software; you can redistribute it and/or
    18.9 +    modify it under the terms of the GNU Library General Public
   18.10 +    License as published by the Free Software Foundation; either
   18.11 +    version 2 of the License, or (at your option) any later version.
   18.12 +
   18.13 +    This library is distributed in the hope that it will be useful,
   18.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
   18.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   18.16 +    Library General Public License for more details.
   18.17 +
   18.18 +    You should have received a copy of the GNU Library General Public
   18.19 +    License along with this library; if not, write to the Free
   18.20 +    Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
   18.21 +*/
   18.22 +
   18.23 +/* MPEG filters */
   18.24 +
   18.25 +#ifndef _MPEGFILTER_H_
   18.26 +#define _MPEGFILTER_H_
   18.27 +
   18.28 +/* SMPEG filter info flags */
   18.29 +#define SMPEG_FILTER_INFO_MB_ERROR    1
   18.30 +#define SMPEG_FILTER_INFO_PIXEL_ERROR 2
   18.31 +
   18.32 +/* Filter info from SMPEG */
   18.33 +typedef struct SMPEG_FilterInfo {
   18.34 +  Uint16* yuv_mb_square_error;
   18.35 +  Uint16* yuv_pixel_square_error;
   18.36 +} SMPEG_FilterInfo;
   18.37 +
   18.38 +/* MPEG filter definition */
   18.39 +struct SMPEG_Filter;
   18.40 +
   18.41 +/* Callback functions for the filter */
   18.42 +typedef void (* SMPEG_FilterCallback)( SDL_Overlay * dest, SDL_Overlay * source, SDL_Rect * region, SMPEG_FilterInfo * filter_info, void * data );
   18.43 +typedef void (* SMPEG_FilterDestroy)( struct SMPEG_Filter * filter );
   18.44 +
   18.45 +/* The filter definition itself */
   18.46 +typedef struct SMPEG_Filter {
   18.47 +  Uint32 flags;
   18.48 +  void * data;
   18.49 +  SMPEG_FilterCallback callback;
   18.50 +  SMPEG_FilterDestroy destroy;
   18.51 +} SMPEG_Filter;
   18.52 +
   18.53 +/* SMPEG built-in filters. */
   18.54 +#ifdef __cplusplus
   18.55 +extern "C" {
   18.56 +#endif
   18.57 +
   18.58 +/* The null filter (default). It simply copies the source rectangle to the video overlay. */ 
   18.59 +extern DECLSPEC SMPEG_Filter * SMPEGfilter_null(void);
   18.60 +
   18.61 +/* The bilinear filter. A basic low-pass filter that will produce a smoother image. */ 
   18.62 +extern DECLSPEC SMPEG_Filter * SMPEGfilter_bilinear(void);
   18.63 +
   18.64 +/* The deblocking filter. It filters block borders and non-intra coded blocks to reduce blockiness */ 
   18.65 +extern DECLSPEC SMPEG_Filter * SMPEGfilter_deblocking(void);
   18.66 +
   18.67 +#ifdef __cplusplus
   18.68 +};
   18.69 +#endif
   18.70 +#endif /* _MPEGFILTER_H_ */
    19.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.2 +++ b/VisualC/smpeg/include/smpeg.h	Tue Jan 18 11:11:21 2011 -0800
    19.3 @@ -0,0 +1,207 @@
    19.4 +/*
    19.5 +    SMPEG - SDL MPEG Player Library
    19.6 +    Copyright (C) 1999  Loki Entertainment Software
    19.7 +
    19.8 +    This library is free software; you can redistribute it and/or
    19.9 +    modify it under the terms of the GNU Library General Public
   19.10 +    License as published by the Free Software Foundation; either
   19.11 +    version 2 of the License, or (at your option) any later version.
   19.12 +
   19.13 +    This library is distributed in the hope that it will be useful,
   19.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
   19.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   19.16 +    Library General Public License for more details.
   19.17 +
   19.18 +    You should have received a copy of the GNU Library General Public
   19.19 +    License along with this library; if not, write to the Free
   19.20 +    Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
   19.21 +*/
   19.22 +
   19.23 +/* This is the C interface to the SMPEG library */
   19.24 +
   19.25 +#ifndef _SMPEG_H_
   19.26 +#define _SMPEG_H_
   19.27 +
   19.28 +#include "SDL.h"
   19.29 +#include "SDL_mutex.h"
   19.30 +#include "SDL_audio.h"
   19.31 +
   19.32 +#include "MPEGfilter.h"
   19.33 +
   19.34 +#ifdef __cplusplus
   19.35 +extern "C" {
   19.36 +#endif
   19.37 +
   19.38 +#define SMPEG_MAJOR_VERSION      0
   19.39 +#define SMPEG_MINOR_VERSION      4
   19.40 +#define SMPEG_PATCHLEVEL         5
   19.41 +
   19.42 +typedef struct {
   19.43 +        Uint8 major;
   19.44 +        Uint8 minor;
   19.45 +        Uint8 patch;
   19.46 +} SMPEG_version;
   19.47 +
   19.48 +/* This macro can be used to fill a version structure with the compile-time
   19.49 + * version of the SDL library.
   19.50 + */
   19.51 +#define SMPEG_VERSION(X)                                                \
   19.52 +{                                                                       \
   19.53 +        (X)->major = SMPEG_MAJOR_VERSION;                               \
   19.54 +        (X)->minor = SMPEG_MINOR_VERSION;                               \
   19.55 +        (X)->patch = SMPEG_PATCHLEVEL;                                  \
   19.56 +}
   19.57 +
   19.58 +/* This is the actual SMPEG object */
   19.59 +typedef struct _SMPEG SMPEG;
   19.60 +
   19.61 +/* Used to get information about the SMPEG object */
   19.62 +typedef struct _SMPEG_Info {
   19.63 +    int has_audio;
   19.64 +    int has_video;
   19.65 +    int width;
   19.66 +    int height;
   19.67 +    int current_frame;
   19.68 +    double current_fps;
   19.69 +    char audio_string[80];
   19.70 +    int  audio_current_frame;
   19.71 +    Uint32 current_offset;
   19.72 +    Uint32 total_size;
   19.73 +    double current_time;
   19.74 +    double total_time;
   19.75 +} SMPEG_Info;
   19.76 +
   19.77 +/* Possible MPEG status codes */
   19.78 +typedef enum {
   19.79 +    SMPEG_ERROR = -1,
   19.80 +    SMPEG_STOPPED,
   19.81 +    SMPEG_PLAYING
   19.82 +} SMPEGstatus;
   19.83 +
   19.84 +
   19.85 +/* Matches the declaration of SDL_UpdateRect() */
   19.86 +typedef void(*SMPEG_DisplayCallback)(SDL_Surface* dst, int x, int y,
   19.87 +                                     unsigned int w, unsigned int h);
   19.88 +
   19.89 +/* Create a new SMPEG object from an MPEG file.
   19.90 +   On return, if 'info' is not NULL, it will be filled with information 
   19.91 +   about the MPEG object.
   19.92 +   This function returns a new SMPEG object.  Use SMPEG_error() to find out
   19.93 +   whether or not there was a problem building the MPEG stream.
   19.94 +   The sdl_audio parameter indicates if SMPEG should initialize the SDL audio
   19.95 +   subsystem. If not, you will have to use the SMPEG_playaudio() function below
   19.96 +   to extract the decoded data.
   19.97 + */
   19.98 +extern DECLSPEC SMPEG* SMPEG_new(const char *file, SMPEG_Info* info, int sdl_audio);
   19.99 +
  19.100 +/* The same as above for a file descriptor */
  19.101 +extern DECLSPEC SMPEG* SMPEG_new_descr(int file, SMPEG_Info* info, int sdl_audio);
  19.102 +
  19.103 +/*
  19.104 +   The same as above but for a raw chunk of data.  SMPEG makes a copy of the
  19.105 +   data, so the application is free to delete after a successful call to this
  19.106 +   function.
  19.107 + */
  19.108 +extern DECLSPEC SMPEG* SMPEG_new_data(void *data, int size, SMPEG_Info* info, int sdl_audio);
  19.109 +
  19.110 +/* The same for a generic SDL_RWops structure. */
  19.111 +extern DECLSPEC SMPEG* SMPEG_new_rwops(SDL_RWops *src, SMPEG_Info* info, int sdl_audio);
  19.112 +
  19.113 +/* Get current information about an SMPEG object */
  19.114 +extern DECLSPEC void SMPEG_getinfo( SMPEG* mpeg, SMPEG_Info* info );
  19.115 +
  19.116 +/* Enable or disable audio playback in MPEG stream */
  19.117 +extern DECLSPEC void SMPEG_enableaudio( SMPEG* mpeg, int enable );
  19.118 +
  19.119 +/* Enable or disable video playback in MPEG stream */
  19.120 +extern DECLSPEC void SMPEG_enablevideo( SMPEG* mpeg, int enable );
  19.121 +
  19.122 +/* Delete an SMPEG object */
  19.123 +extern DECLSPEC void SMPEG_delete( SMPEG* mpeg );
  19.124 +
  19.125 +/* Get the current status of an SMPEG object */
  19.126 +extern DECLSPEC SMPEGstatus SMPEG_status( SMPEG* mpeg );
  19.127 +
  19.128 +/* Set the audio volume of an MPEG stream, in the range 0-100 */
  19.129 +extern DECLSPEC void SMPEG_setvolume( SMPEG* mpeg, int volume );
  19.130 +
  19.131 +/* Set the destination surface for MPEG video playback
  19.132 +   'surfLock' is a mutex used to synchronize access to 'dst', and can be NULL.
  19.133 +   'callback' is a function called when an area of 'dst' needs to be updated.
  19.134 +   If 'callback' is NULL, the default function (SDL_UpdateRect) will be used.
  19.135 +*/
  19.136 +extern DECLSPEC void SMPEG_setdisplay(SMPEG* mpeg, SDL_Surface* dst, SDL_mutex* surfLock,
  19.137 +                                            SMPEG_DisplayCallback callback);
  19.138 +
  19.139 +/* Set or clear looping play on an SMPEG object */
  19.140 +extern DECLSPEC void SMPEG_loop( SMPEG* mpeg, int repeat );
  19.141 +
  19.142 +/* Scale pixel display on an SMPEG object */
  19.143 +extern DECLSPEC void SMPEG_scaleXY( SMPEG* mpeg, int width, int height );
  19.144 +extern DECLSPEC void SMPEG_scale( SMPEG* mpeg, int scale );
  19.145 +/* */
  19.146 +#define SMPEG_double(mpeg, on) \
  19.147 +	SMPEG_scale(mpeg, (on) ? 2 : 1)
  19.148 +
  19.149 +/* Move the video display area within the destination surface */
  19.150 +extern DECLSPEC void SMPEG_move( SMPEG* mpeg, int x, int y );
  19.151 +
  19.152 +/* Set the region of the video to be shown */
  19.153 +extern DECLSPEC void SMPEG_setdisplayregion(SMPEG* mpeg, int x, int y, int w, int h);
  19.154 +
  19.155 +/* Play an SMPEG object */
  19.156 +extern DECLSPEC void SMPEG_play( SMPEG* mpeg );
  19.157 +
  19.158 +/* Pause/Resume playback of an SMPEG object */
  19.159 +extern DECLSPEC void SMPEG_pause( SMPEG* mpeg );
  19.160 +
  19.161 +/* Stop playback of an SMPEG object */
  19.162 +extern DECLSPEC void SMPEG_stop( SMPEG* mpeg );
  19.163 +
  19.164 +/* Rewind the play position of an SMPEG object to the beginning of the MPEG */
  19.165 +extern DECLSPEC void SMPEG_rewind( SMPEG* mpeg );
  19.166 +
  19.167 +/* Seek 'bytes' bytes in the MPEG stream */
  19.168 +extern DECLSPEC void SMPEG_seek( SMPEG* mpeg, int bytes);
  19.169 +
  19.170 +/* Skip 'seconds' seconds in the MPEG stream */
  19.171 +extern DECLSPEC void SMPEG_skip( SMPEG* mpeg, float seconds );
  19.172 +
  19.173 +/* Render a particular frame in the MPEG video
  19.174 +   API CHANGE: This function no longer takes a target surface and position.
  19.175 +               Use SMPEG_setdisplay() and SMPEG_move() to set this information.
  19.176 +*/
  19.177 +extern DECLSPEC void SMPEG_renderFrame( SMPEG* mpeg, int framenum );
  19.178 +
  19.179 +/* Render the last frame of an MPEG video */
  19.180 +extern DECLSPEC void SMPEG_renderFinal( SMPEG* mpeg, SDL_Surface* dst, int x, int y );
  19.181 +
  19.182 +/* Set video filter */
  19.183 +extern DECLSPEC SMPEG_Filter * SMPEG_filter( SMPEG* mpeg, SMPEG_Filter * filter );
  19.184 +
  19.185 +/* Return NULL if there is no error in the MPEG stream, or an error message
  19.186 +   if there was a fatal error in the MPEG stream for the SMPEG object.
  19.187 +*/
  19.188 +extern DECLSPEC char *SMPEG_error( SMPEG* mpeg );
  19.189 +
  19.190 +/* Exported callback function for audio playback.
  19.191 +   The function takes a buffer and the amount of data to fill, and returns
  19.192 +   the amount of data in bytes that was actually written.  This will be the
  19.193 +   amount requested unless the MPEG audio has finished.
  19.194 +*/
  19.195 +extern DECLSPEC int SMPEG_playAudio( SMPEG *mpeg, Uint8 *stream, int len );
  19.196 +
  19.197 +/* Wrapper for SMPEG_playAudio() that can be passed to SDL and SDL_mixer
  19.198 +*/
  19.199 +extern DECLSPEC void SMPEG_playAudioSDL( void *mpeg, Uint8 *stream, int len );
  19.200 +
  19.201 +/* Get the best SDL audio spec for the audio stream */
  19.202 +extern DECLSPEC int SMPEG_wantedSpec( SMPEG *mpeg, SDL_AudioSpec *wanted );
  19.203 +
  19.204 +/* Inform SMPEG of the actual SDL audio spec used for sound playback */
  19.205 +extern DECLSPEC void SMPEG_actualSpec( SMPEG *mpeg, SDL_AudioSpec *spec );
  19.206 +
  19.207 +#ifdef __cplusplus
  19.208 +}
  19.209 +#endif
  19.210 +#endif /* _SMPEG_H_ */
    20.1 Binary file VisualC/smpeg/lib/smpeg.dll has changed
    21.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.2 +++ b/VisualC/timidity/timidity.dsp	Tue Jan 18 11:11:21 2011 -0800
    21.3 @@ -0,0 +1,178 @@
    21.4 +# Microsoft Developer Studio Project File - Name="timidity" - Package Owner=<4>
    21.5 +# Microsoft Developer Studio Generated Build File, Format Version 5.00
    21.6 +# ** DO NOT EDIT **
    21.7 +
    21.8 +# TARGTYPE "Win32 (x86) Static Library" 0x0104
    21.9 +
   21.10 +CFG=timidity - Win32 Debug
   21.11 +!MESSAGE This is not a valid makefile. To build this project using NMAKE,
   21.12 +!MESSAGE use the Export Makefile command and run
   21.13 +!MESSAGE 
   21.14 +!MESSAGE NMAKE /f "timidity.mak".
   21.15 +!MESSAGE 
   21.16 +!MESSAGE You can specify a configuration when running NMAKE
   21.17 +!MESSAGE by defining the macro CFG on the command line. For example:
   21.18 +!MESSAGE 
   21.19 +!MESSAGE NMAKE /f "timidity.mak" CFG="timidity - Win32 Debug"
   21.20 +!MESSAGE 
   21.21 +!MESSAGE Possible choices for configuration are:
   21.22 +!MESSAGE 
   21.23 +!MESSAGE "timidity - Win32 Release" (based on "Win32 (x86) Static Library")
   21.24 +!MESSAGE "timidity - Win32 Debug" (based on "Win32 (x86) Static Library")
   21.25 +!MESSAGE 
   21.26 +
   21.27 +# Begin Project
   21.28 +# PROP Scc_ProjName ""
   21.29 +# PROP Scc_LocalPath ""
   21.30 +CPP=cl.exe
   21.31 +
   21.32 +!IF  "$(CFG)" == "timidity - Win32 Release"
   21.33 +
   21.34 +# PROP BASE Use_MFC 0
   21.35 +# PROP BASE Use_Debug_Libraries 0
   21.36 +# PROP BASE Output_Dir "Release"
   21.37 +# PROP BASE Intermediate_Dir "Release"
   21.38 +# PROP BASE Target_Dir ""
   21.39 +# PROP Use_MFC 0
   21.40 +# PROP Use_Debug_Libraries 0
   21.41 +# PROP Output_Dir "Release"
   21.42 +# PROP Intermediate_Dir "Release"
   21.43 +# PROP Target_Dir ""
   21.44 +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
   21.45 +# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
   21.46 +BSC32=bscmake.exe
   21.47 +# ADD BASE BSC32 /nologo
   21.48 +# ADD BSC32 /nologo
   21.49 +LIB32=link.exe -lib
   21.50 +# ADD BASE LIB32 /nologo
   21.51 +# ADD LIB32 /nologo
   21.52 +
   21.53 +!ELSEIF  "$(CFG)" == "timidity - Win32 Debug"
   21.54 +
   21.55 +# PROP BASE Use_MFC 0
   21.56 +# PROP BASE Use_Debug_Libraries 1
   21.57 +# PROP BASE Output_Dir "Debug"
   21.58 +# PROP BASE Intermediate_Dir "Debug"
   21.59 +# PROP BASE Target_Dir ""
   21.60 +# PROP Use_MFC 0
   21.61 +# PROP Use_Debug_Libraries 1
   21.62 +# PROP Output_Dir "Debug"
   21.63 +# PROP Intermediate_Dir "Debug"
   21.64 +# PROP Target_Dir ""
   21.65 +# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
   21.66 +# ADD CPP /nologo /MD /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
   21.67 +BSC32=bscmake.exe
   21.68 +# ADD BASE BSC32 /nologo
   21.69 +# ADD BSC32 /nologo
   21.70 +LIB32=link.exe -lib
   21.71 +# ADD BASE LIB32 /nologo
   21.72 +# ADD LIB32 /nologo
   21.73 +
   21.74 +!ENDIF 
   21.75 +
   21.76 +# Begin Target
   21.77 +
   21.78 +# Name "timidity - Win32 Release"
   21.79 +# Name "timidity - Win32 Debug"
   21.80 +# Begin Source File
   21.81 +
   21.82 +SOURCE=..\..\timidity\common.c
   21.83 +# End Source File
   21.84 +# Begin Source File
   21.85 +
   21.86 +SOURCE=..\..\timidity\common.h
   21.87 +# End Source File
   21.88 +# Begin Source File
   21.89 +
   21.90 +SOURCE=..\..\timidity\config.h
   21.91 +# End Source File
   21.92 +# Begin Source File
   21.93 +
   21.94 +SOURCE=..\..\timidity\ctrlmode.c
   21.95 +# End Source File
   21.96 +# Begin Source File
   21.97 +
   21.98 +SOURCE=..\..\timidity\ctrlmode.h
   21.99 +# End Source File
  21.100 +# Begin Source File
  21.101 +
  21.102 +SOURCE=..\..\timidity\filter.c
  21.103 +# End Source File
  21.104 +# Begin Source File
  21.105 +
  21.106 +SOURCE=..\..\timidity\filter.h
  21.107 +# End Source File
  21.108 +# Begin Source File
  21.109 +
  21.110 +SOURCE=..\..\timidity\instrum.c
  21.111 +# End Source File
  21.112 +# Begin Source File
  21.113 +
  21.114 +SOURCE=..\..\timidity\instrum.h
  21.115 +# End Source File
  21.116 +# Begin Source File
  21.117 +
  21.118 +SOURCE=..\..\timidity\mix.c
  21.119 +# End Source File
  21.120 +# Begin Source File
  21.121 +
  21.122 +SOURCE=..\..\timidity\mix.h
  21.123 +# End Source File
  21.124 +# Begin Source File
  21.125 +
  21.126 +SOURCE=..\..\timidity\output.c
  21.127 +# End Source File
  21.128 +# Begin Source File
  21.129 +
  21.130 +SOURCE=..\..\timidity\output.h
  21.131 +# End Source File
  21.132 +# Begin Source File
  21.133 +
  21.134 +SOURCE=..\..\timidity\playmidi.c
  21.135 +# End Source File
  21.136 +# Begin Source File
  21.137 +
  21.138 +SOURCE=..\..\timidity\playmidi.h
  21.139 +# End Source File
  21.140 +# Begin Source File
  21.141 +
  21.142 +SOURCE=..\..\timidity\readmidi.c
  21.143 +# End Source File
  21.144 +# Begin Source File
  21.145 +
  21.146 +SOURCE=..\..\timidity\readmidi.h
  21.147 +# End Source File
  21.148 +# Begin Source File
  21.149 +
  21.150 +SOURCE=..\..\timidity\resample.c
  21.151 +# End Source File
  21.152 +# Begin Source File
  21.153 +
  21.154 +SOURCE=..\..\timidity\resample.h
  21.155 +# End Source File
  21.156 +# Begin Source File
  21.157 +
  21.158 +SOURCE=..\..\timidity\sdl_a.c
  21.159 +# End Source File
  21.160 +# Begin Source File
  21.161 +
  21.162 +SOURCE=..\..\timidity\sdl_c.c
  21.163 +# End Source File
  21.164 +# Begin Source File
  21.165 +
  21.166 +SOURCE=..\..\timidity\tables.c
  21.167 +# End Source File
  21.168 +# Begin Source File
  21.169 +
  21.170 +SOURCE=..\..\timidity\tables.h
  21.171 +# End Source File
  21.172 +# Begin Source File
  21.173 +
  21.174 +SOURCE=..\..\timidity\timidity.c
  21.175 +# End Source File
  21.176 +# Begin Source File
  21.177 +
  21.178 +SOURCE=..\..\timidity\timidity.h
  21.179 +# End Source File
  21.180 +# End Target
  21.181 +# End Project
    22.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    22.2 +++ b/VisualC/timidity/timidity.vcproj	Tue Jan 18 11:11:21 2011 -0800
    22.3 @@ -0,0 +1,474 @@
    22.4 +<?xml version="1.0" encoding="Windows-1252"?>
    22.5 +<VisualStudioProject
    22.6 +	ProjectType="Visual C++"
    22.7 +	Version="8.00"
    22.8 +	Name="timidity"
    22.9 +	ProjectGUID="{B162B6F1-E876-4D5F-A1F6-E3A6DC2F4A2C}"
   22.10 +	RootNamespace="timidity"
   22.11 +	>
   22.12 +	<Platforms>
   22.13 +		<Platform
   22.14 +			Name="Win32"
   22.15 +		/>
   22.16 +	</Platforms>
   22.17 +	<ToolFiles>
   22.18 +	</ToolFiles>
   22.19 +	<Configurations>
   22.20 +		<Configuration
   22.21 +			Name="Release|Win32"
   22.22 +			OutputDirectory=".\Release"
   22.23 +			IntermediateDirectory=".\Release"
   22.24 +			ConfigurationType="4"
   22.25 +			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
   22.26 +			UseOfMFC="0"
   22.27 +			ATLMinimizesCRunTimeLibraryUsage="false"
   22.28 +			>
   22.29 +			<Tool
   22.30 +				Name="VCPreBuildEventTool"
   22.31 +			/>
   22.32 +			<Tool
   22.33 +				Name="VCCustomBuildTool"
   22.34 +			/>
   22.35 +			<Tool
   22.36 +				Name="VCXMLDataGeneratorTool"
   22.37 +			/>
   22.38 +			<Tool
   22.39 +				Name="VCWebServiceProxyGeneratorTool"
   22.40 +			/>
   22.41 +			<Tool
   22.42 +				Name="VCMIDLTool"
   22.43 +			/>
   22.44 +			<Tool
   22.45 +				Name="VCCLCompilerTool"
   22.46 +				Optimization="2"
   22.47 +				InlineFunctionExpansion="1"
   22.48 +				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS"
   22.49 +				StringPooling="true"
   22.50 +				RuntimeLibrary="2"
   22.51 +				EnableFunctionLevelLinking="true"
   22.52 +				PrecompiledHeaderFile=".\Release/timidity.pch"
   22.53 +				AssemblerListingLocation=".\Release/"
   22.54 +				ObjectFile=".\Release/"
   22.55 +				ProgramDataBaseFileName=".\Release/"
   22.56 +				WarningLevel="3"
   22.57 +				SuppressStartupBanner="true"
   22.58 +			/>
   22.59 +			<Tool
   22.60 +				Name="VCManagedResourceCompilerTool"
   22.61 +			/>
   22.62 +			<Tool
   22.63 +				Name="VCResourceCompilerTool"
   22.64 +				Culture="1033"
   22.65 +			/>
   22.66 +			<Tool
   22.67 +				Name="VCPreLinkEventTool"
   22.68 +			/>
   22.69 +			<Tool
   22.70 +				Name="VCLibrarianTool"
   22.71 +				OutputFile=".\Release\timidity.lib"
   22.72 +				SuppressStartupBanner="true"
   22.73 +			/>
   22.74 +			<Tool
   22.75 +				Name="VCALinkTool"
   22.76 +			/>
   22.77 +			<Tool
   22.78 +				Name="VCXDCMakeTool"
   22.79 +			/>
   22.80 +			<Tool
   22.81 +				Name="VCBscMakeTool"
   22.82 +				SuppressStartupBanner="true"
   22.83 +				OutputFile=".\Release/timidity.bsc"
   22.84 +			/>
   22.85 +			<Tool
   22.86 +				Name="VCFxCopTool"
   22.87 +			/>
   22.88 +			<Tool
   22.89 +				Name="VCPostBuildEventTool"
   22.90 +			/>
   22.91 +		</Configuration>
   22.92 +		<Configuration
   22.93 +			Name="Debug|Win32"
   22.94 +			OutputDirectory=".\Debug"
   22.95 +			IntermediateDirectory=".\Debug"
   22.96 +			ConfigurationType="4"
   22.97 +			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
   22.98 +			UseOfMFC="0"
   22.99 +			ATLMinimizesCRunTimeLibraryUsage="false"
  22.100 +			>
  22.101 +			<Tool
  22.102 +				Name="VCPreBuildEventTool"
  22.103 +			/>
  22.104 +			<Tool
  22.105 +				Name="VCCustomBuildTool"
  22.106 +			/>
  22.107 +			<Tool
  22.108 +				Name="VCXMLDataGeneratorTool"
  22.109 +			/>
  22.110 +			<Tool
  22.111 +				Name="VCWebServiceProxyGeneratorTool"
  22.112 +			/>
  22.113 +			<Tool
  22.114 +				Name="VCMIDLTool"
  22.115 +			/>
  22.116 +			<Tool
  22.117 +				Name="VCCLCompilerTool"
  22.118 +				Optimization="0"
  22.119 +				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS"
  22.120 +				RuntimeLibrary="2"
  22.121 +				PrecompiledHeaderFile=".\Debug/timidity.pch"
  22.122 +				AssemblerListingLocation=".\Debug/"
  22.123 +				ObjectFile=".\Debug/"
  22.124 +				ProgramDataBaseFileName=".\Debug/"
  22.125 +				WarningLevel="3"
  22.126 +				SuppressStartupBanner="true"
  22.127 +				DebugInformationFormat="1"
  22.128 +			/>
  22.129 +			<Tool
  22.130 +				Name="VCManagedResourceCompilerTool"
  22.131 +			/>
  22.132 +			<Tool
  22.133 +				Name="VCResourceCompilerTool"
  22.134 +				Culture="1033"
  22.135 +			/>
  22.136 +			<Tool
  22.137 +				Name="VCPreLinkEventTool"
  22.138 +			/>
  22.139 +			<Tool
  22.140 +				Name="VCLibrarianTool"
  22.141 +				OutputFile=".\Debug\timidity.lib"
  22.142 +				SuppressStartupBanner="true"
  22.143 +			/>
  22.144 +			<Tool
  22.145 +				Name="VCALinkTool"
  22.146 +			/>
  22.147 +			<Tool
  22.148 +				Name="VCXDCMakeTool"
  22.149 +			/>
  22.150 +			<Tool
  22.151 +				Name="VCBscMakeTool"
  22.152 +				SuppressStartupBanner="true"
  22.153 +				OutputFile=".\Debug/timidity.bsc"
  22.154 +			/>
  22.155 +			<Tool
  22.156 +				Name="VCFxCopTool"
  22.157 +			/>
  22.158 +			<Tool
  22.159 +				Name="VCPostBuildEventTool"
  22.160 +			/>
  22.161 +		</Configuration>
  22.162 +	</Configurations>
  22.163 +	<References>
  22.164 +	</References>
  22.165 +	<Files>
  22.166 +		<File
  22.167 +			RelativePath="..\..\timidity\common.c"
  22.168 +			>
  22.169 +			<FileConfiguration
  22.170 +				Name="Release|Win32"
  22.171 +				>
  22.172 +				<Tool
  22.173 +					Name="VCCLCompilerTool"
  22.174 +					PreprocessorDefinitions=""
  22.175 +				/>
  22.176 +			</FileConfiguration>
  22.177 +			<FileConfiguration
  22.178 +				Name="Debug|Win32"
  22.179 +				>
  22.180 +				<Tool
  22.181 +					Name="VCCLCompilerTool"
  22.182 +					PreprocessorDefinitions=""
  22.183 +				/>
  22.184 +			</FileConfiguration>
  22.185 +		</File>
  22.186 +		<File
  22.187 +			RelativePath="..\..\timidity\common.h"
  22.188 +			>
  22.189 +		</File>
  22.190 +		<File
  22.191 +			RelativePath="..\..\timidity\config.h"
  22.192 +			>
  22.193 +		</File>
  22.194 +		<File
  22.195 +			RelativePath="..\..\timidity\ctrlmode.c"
  22.196 +			>
  22.197 +			<FileConfiguration
  22.198 +				Name="Release|Win32"
  22.199 +				>
  22.200 +				<Tool
  22.201 +					Name="VCCLCompilerTool"
  22.202 +					PreprocessorDefinitions=""
  22.203 +				/>
  22.204 +			</FileConfiguration>
  22.205 +			<FileConfiguration
  22.206 +				Name="Debug|Win32"
  22.207 +				>
  22.208 +				<Tool
  22.209 +					Name="VCCLCompilerTool"
  22.210 +					PreprocessorDefinitions=""
  22.211 +				/>
  22.212 +			</FileConfiguration>
  22.213 +		</File>
  22.214 +		<File
  22.215 +			RelativePath="..\..\timidity\ctrlmode.h"
  22.216 +			>
  22.217 +		</File>
  22.218 +		<File
  22.219 +			RelativePath="..\..\timidity\filter.c"
  22.220 +			>
  22.221 +			<FileConfiguration
  22.222 +				Name="Release|Win32"
  22.223 +				>
  22.224 +				<Tool
  22.225 +					Name="VCCLCompilerTool"
  22.226 +					PreprocessorDefinitions=""
  22.227 +				/>
  22.228 +			</FileConfiguration>
  22.229 +			<FileConfiguration
  22.230 +				Name="Debug|Win32"
  22.231 +				>
  22.232 +				<Tool
  22.233 +					Name="VCCLCompilerTool"
  22.234 +					PreprocessorDefinitions=""
  22.235 +				/>
  22.236 +			</FileConfiguration>
  22.237 +		</File>
  22.238 +		<File
  22.239 +			RelativePath="..\..\timidity\filter.h"
  22.240 +			>
  22.241 +		</File>
  22.242 +		<File
  22.243 +			RelativePath="..\..\timidity\instrum.c"
  22.244 +			>
  22.245 +			<FileConfiguration
  22.246 +				Name="Release|Win32"
  22.247 +				>
  22.248 +				<Tool
  22.249 +					Name="VCCLCompilerTool"
  22.250 +					PreprocessorDefinitions=""
  22.251 +				/>
  22.252 +			</FileConfiguration>
  22.253 +			<FileConfiguration
  22.254 +				Name="Debug|Win32"
  22.255 +				>
  22.256 +				<Tool
  22.257 +					Name="VCCLCompilerTool"
  22.258 +					PreprocessorDefinitions=""
  22.259 +				/>
  22.260 +			</FileConfiguration>
  22.261 +		</File>
  22.262 +		<File
  22.263 +			RelativePath="..\..\timidity\instrum.h"
  22.264 +			>
  22.265 +		</File>
  22.266 +		<File
  22.267 +			RelativePath="..\..\timidity\mix.c"
  22.268 +			>
  22.269 +			<FileConfiguration
  22.270 +				Name="Release|Win32"
  22.271 +				>
  22.272 +				<Tool
  22.273 +					Name="VCCLCompilerTool"
  22.274 +					PreprocessorDefinitions=""
  22.275 +				/>
  22.276 +			</FileConfiguration>
  22.277 +			<FileConfiguration
  22.278 +				Name="Debug|Win32"
  22.279 +				>
  22.280 +				<Tool
  22.281 +					Name="VCCLCompilerTool"
  22.282 +					PreprocessorDefinitions=""
  22.283 +				/>
  22.284 +			</FileConfiguration>
  22.285 +		</File>
  22.286 +		<File
  22.287 +			RelativePath="..\..\timidity\mix.h"
  22.288 +			>
  22.289 +		</File>
  22.290 +		<File
  22.291 +			RelativePath="..\..\timidity\output.c"
  22.292 +			>
  22.293 +			<FileConfiguration
  22.294 +				Name="Release|Win32"
  22.295 +				>
  22.296 +				<Tool
  22.297 +					Name="VCCLCompilerTool"
  22.298 +					PreprocessorDefinitions=""
  22.299 +				/>
  22.300 +			</FileConfiguration>
  22.301 +			<FileConfiguration
  22.302 +				Name="Debug|Win32"
  22.303 +				>
  22.304 +				<Tool
  22.305 +					Name="VCCLCompilerTool"
  22.306 +					PreprocessorDefinitions=""
  22.307 +				/>
  22.308 +			</FileConfiguration>
  22.309 +		</File>
  22.310 +		<File
  22.311 +			RelativePath="..\..\timidity\output.h"
  22.312 +			>
  22.313 +		</File>
  22.314 +		<File
  22.315 +			RelativePath="..\..\timidity\playmidi.c"
  22.316 +			>
  22.317 +			<FileConfiguration
  22.318 +				Name="Release|Win32"
  22.319 +				>
  22.320 +				<Tool
  22.321 +					Name="VCCLCompilerTool"
  22.322 +					PreprocessorDefinitions=""
  22.323 +				/>
  22.324 +			</FileConfiguration>
  22.325 +			<FileConfiguration
  22.326 +				Name="Debug|Win32"
  22.327 +				>
  22.328 +				<Tool
  22.329 +					Name="VCCLCompilerTool"
  22.330 +					PreprocessorDefinitions=""
  22.331 +				/>
  22.332 +			</FileConfiguration>
  22.333 +		</File>
  22.334 +		<File
  22.335 +			RelativePath="..\..\timidity\playmidi.h"
  22.336 +			>
  22.337 +		</File>
  22.338 +		<File
  22.339 +			RelativePath="..\..\timidity\readmidi.c"
  22.340 +			>
  22.341 +			<FileConfiguration
  22.342 +				Name="Release|Win32"
  22.343 +				>
  22.344 +				<Tool
  22.345 +					Name="VCCLCompilerTool"
  22.346 +					PreprocessorDefinitions=""
  22.347 +				/>
  22.348 +			</FileConfiguration>
  22.349 +			<FileConfiguration
  22.350 +				Name="Debug|Win32"
  22.351 +				>
  22.352 +				<Tool
  22.353 +					Name="VCCLCompilerTool"
  22.354 +					PreprocessorDefinitions=""
  22.355 +				/>
  22.356 +			</FileConfiguration>
  22.357 +		</File>
  22.358 +		<File
  22.359 +			RelativePath="..\..\timidity\readmidi.h"
  22.360 +			>
  22.361 +		</File>
  22.362 +		<File
  22.363 +			RelativePath="..\..\timidity\resample.c"
  22.364 +			>
  22.365 +			<FileConfiguration
  22.366 +				Name="Release|Win32"
  22.367 +				>
  22.368 +				<Tool
  22.369 +					Name="VCCLCompilerTool"
  22.370 +					PreprocessorDefinitions=""
  22.371 +				/>
  22.372 +			</FileConfiguration>
  22.373 +			<FileConfiguration
  22.374 +				Name="Debug|Win32"
  22.375 +				>
  22.376 +				<Tool
  22.377 +					Name="VCCLCompilerTool"
  22.378 +					PreprocessorDefinitions=""
  22.379 +				/>
  22.380 +			</FileConfiguration>
  22.381 +		</File>
  22.382 +		<File
  22.383 +			RelativePath="..\..\timidity\resample.h"
  22.384 +			>
  22.385 +		</File>
  22.386 +		<File
  22.387 +			RelativePath="..\..\timidity\sdl_a.c"
  22.388 +			>
  22.389 +			<FileConfiguration
  22.390 +				Name="Release|Win32"
  22.391 +				>
  22.392 +				<Tool
  22.393 +					Name="VCCLCompilerTool"
  22.394 +					PreprocessorDefinitions=""
  22.395 +				/>
  22.396 +			</FileConfiguration>
  22.397 +			<FileConfiguration
  22.398 +				Name="Debug|Win32"
  22.399 +				>
  22.400 +				<Tool
  22.401 +					Name="VCCLCompilerTool"
  22.402 +					PreprocessorDefinitions=""
  22.403 +				/>
  22.404 +			</FileConfiguration>
  22.405 +		</File>
  22.406 +		<File
  22.407 +			RelativePath="..\..\timidity\sdl_c.c"
  22.408 +			>
  22.409 +			<FileConfiguration
  22.410 +				Name="Release|Win32"
  22.411 +				>
  22.412 +				<Tool
  22.413 +					Name="VCCLCompilerTool"
  22.414 +					PreprocessorDefinitions=""
  22.415 +				/>
  22.416 +			</FileConfiguration>
  22.417 +			<FileConfiguration
  22.418 +				Name="Debug|Win32"
  22.419 +				>
  22.420 +				<Tool
  22.421 +					Name="VCCLCompilerTool"
  22.422 +					PreprocessorDefinitions=""
  22.423 +				/>
  22.424 +			</FileConfiguration>
  22.425 +		</File>
  22.426 +		<File
  22.427 +			RelativePath="..\..\timidity\tables.c"
  22.428 +			>
  22.429 +			<FileConfiguration
  22.430 +				Name="Release|Win32"
  22.431 +				>
  22.432 +				<Tool
  22.433 +					Name="VCCLCompilerTool"
  22.434 +					PreprocessorDefinitions=""
  22.435 +				/>
  22.436 +			</FileConfiguration>
  22.437 +			<FileConfiguration
  22.438 +				Name="Debug|Win32"
  22.439 +				>
  22.440 +				<Tool
  22.441 +					Name="VCCLCompilerTool"
  22.442 +					PreprocessorDefinitions=""
  22.443 +				/>
  22.444 +			</FileConfiguration>
  22.445 +		</File>
  22.446 +		<File
  22.447 +			RelativePath="..\..\timidity\tables.h"
  22.448 +			>
  22.449 +		</File>
  22.450 +		<File
  22.451 +			RelativePath="..\..\timidity\timidity.c"
  22.452 +			>
  22.453 +			<FileConfiguration
  22.454 +				Name="Release|Win32"
  22.455 +				>
  22.456 +				<Tool
  22.457 +					Name="VCCLCompilerTool"
  22.458 +					PreprocessorDefinitions=""
  22.459 +				/>
  22.460 +			</FileConfiguration>
  22.461 +			<FileConfiguration
  22.462 +				Name="Debug|Win32"
  22.463 +				>
  22.464 +				<Tool
  22.465 +					Name="VCCLCompilerTool"
  22.466 +					PreprocessorDefinitions=""
  22.467 +				/>
  22.468 +			</FileConfiguration>
  22.469 +		</File>
  22.470 +		<File
  22.471 +			RelativePath="..\..\timidity\timidity.h"
  22.472 +			>
  22.473 +		</File>
  22.474 +	</Files>
  22.475 +	<Globals>
  22.476 +	</Globals>
  22.477 +</VisualStudioProject>
    23.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.2 +++ b/VisualC/vorbis/include/codec.h	Tue Jan 18 11:11:21 2011 -0800
    23.3 @@ -0,0 +1,243 @@
    23.4 +/********************************************************************
    23.5 + *                                                                  *
    23.6 + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
    23.7 + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
    23.8 + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
    23.9 + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
   23.10 + *                                                                  *
   23.11 + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001             *
   23.12 + * by the Xiph.Org Foundation http://www.xiph.org/                  *
   23.13 +
   23.14 + ********************************************************************
   23.15 +
   23.16 + function: libvorbis codec headers
   23.17 + last mod: $Id: codec.h 16037 2009-05-26 21:10:58Z xiphmont $
   23.18 +
   23.19 + ********************************************************************/
   23.20 +
   23.21 +#ifndef _vorbis_codec_h_
   23.22 +#define _vorbis_codec_h_
   23.23 +
   23.24 +#ifdef __cplusplus
   23.25 +extern "C"
   23.26 +{
   23.27 +#endif /* __cplusplus */
   23.28 +
   23.29 +#include <ogg/ogg.h>
   23.30 +
   23.31 +typedef struct vorbis_info{
   23.32 +  int version;
   23.33 +  int channels;
   23.34 +  long rate;
   23.35 +
   23.36 +  /* The below bitrate declarations are *hints*.
   23.37 +     Combinations of the three values carry the following implications:
   23.38 +
   23.39 +     all three set to the same value:
   23.40 +       implies a fixed rate bitstream
   23.41 +     only nominal set:
   23.42 +       implies a VBR stream that averages the nominal bitrate.  No hard
   23.43 +       upper/lower limit
   23.44 +     upper and or lower set:
   23.45 +       implies a VBR bitstream that obeys the bitrate limits. nominal
   23.46 +       may also be set to give a nominal rate.
   23.47 +     none set:
   23.48 +       the coder does not care to speculate.
   23.49 +  */
   23.50 +
   23.51 +  long bitrate_upper;
   23.52 +  long bitrate_nominal;
   23.53 +  long bitrate_lower;
   23.54 +  long bitrate_window;
   23.55 +
   23.56 +  void *codec_setup;
   23.57 +} vorbis_info;
   23.58 +
   23.59 +/* vorbis_dsp_state buffers the current vorbis audio
   23.60 +   analysis/synthesis state.  The DSP state belongs to a specific
   23.61 +   logical bitstream ****************************************************/
   23.62 +typedef struct vorbis_dsp_state{
   23.63 +  int analysisp;
   23.64 +  vorbis_info *vi;
   23.65 +
   23.66 +  float **pcm;
   23.67 +  float **pcmret;
   23.68 +  int      pcm_storage;
   23.69 +  int      pcm_current;
   23.70 +  int      pcm_returned;
   23.71 +
   23.72 +  int  preextrapolate;
   23.73 +  int  eofflag;
   23.74 +
   23.75 +  long lW;
   23.76 +  long W;
   23.77 +  long nW;
   23.78 +  long centerW;
   23.79 +
   23.80 +  ogg_int64_t granulepos;
   23.81 +  ogg_int64_t sequence;
   23.82 +
   23.83 +  ogg_int64_t glue_bits;
   23.84 +  ogg_int64_t time_bits;
   23.85 +  ogg_int64_t floor_bits;
   23.86 +  ogg_int64_t res_bits;
   23.87 +
   23.88 +  void       *backend_state;
   23.89 +} vorbis_dsp_state;
   23.90 +
   23.91 +typedef struct vorbis_block{
   23.92 +  /* necessary stream state for linking to the framing abstraction */
   23.93 +  float  **pcm;       /* this is a pointer into local storage */
   23.94 +  oggpack_buffer opb;
   23.95 +
   23.96 +  long  lW;
   23.97 +  long  W;
   23.98 +  long  nW;
   23.99 +  int   pcmend;
  23.100 +  int   mode;
  23.101 +
  23.102 +  int         eofflag;
  23.103 +  ogg_int64_t granulepos;
  23.104 +  ogg_int64_t sequence;
  23.105 +  vorbis_dsp_state *vd; /* For read-only access of configuration */
  23.106 +
  23.107 +  /* local storage to avoid remallocing; it's up to the mapping to
  23.108 +     structure it */
  23.109 +  void               *localstore;
  23.110 +  long                localtop;
  23.111 +  long                localalloc;
  23.112 +  long                totaluse;
  23.113 +  struct alloc_chain *reap;
  23.114 +
  23.115 +  /* bitmetrics for the frame */
  23.116 +  long glue_bits;
  23.117 +  long time_bits;
  23.118 +  long floor_bits;
  23.119 +  long res_bits;
  23.120 +
  23.121 +  void *internal;
  23.122 +
  23.123 +} vorbis_block;
  23.124 +
  23.125 +/* vorbis_block is a single block of data to be processed as part of
  23.126 +the analysis/synthesis stream; it belongs to a specific logical
  23.127 +bitstream, but is independant from other vorbis_blocks belonging to
  23.128 +that logical bitstream. *************************************************/
  23.129 +
  23.130 +struct alloc_chain{
  23.131 +  void *ptr;
  23.132 +  struct alloc_chain *next;
  23.133 +};
  23.134 +
  23.135 +/* vorbis_info contains all the setup information specific to the
  23.136 +   specific compression/decompression mode in progress (eg,
  23.137 +   psychoacoustic settings, channel setup, options, codebook
  23.138 +   etc). vorbis_info and substructures are in backends.h.
  23.139 +*********************************************************************/
  23.140 +
  23.141 +/* the comments are not part of vorbis_info so that vorbis_info can be
  23.142 +   static storage */
  23.143 +typedef struct vorbis_comment{
  23.144 +  /* unlimited user comment fields.  libvorbis writes 'libvorbis'
  23.145 +     whatever vendor is set to in encode */
  23.146 +  char **user_comments;
  23.147 +  int   *comment_lengths;
  23.148 +  int    comments;
  23.149 +  char  *vendor;
  23.150 +
  23.151 +} vorbis_comment;
  23.152 +
  23.153 +
  23.154 +/* libvorbis encodes in two abstraction layers; first we perform DSP
  23.155 +   and produce a packet (see docs/analysis.txt).  The packet is then
  23.156 +   coded into a framed OggSquish bitstream by the second layer (see
  23.157 +   docs/framing.txt).  Decode is the reverse process; we sync/frame
  23.158 +   the bitstream and extract individual packets, then decode the
  23.159 +   packet back into PCM audio.
  23.160 +
  23.161 +   The extra framing/packetizing is used in streaming formats, such as
  23.162 +   files.  Over the net (such as with UDP), the framing and
  23.163 +   packetization aren't necessary as they're provided by the transport
  23.164 +   and the streaming layer is not used */
  23.165 +
  23.166 +/* Vorbis PRIMITIVES: general ***************************************/
  23.167 +
  23.168 +extern void     vorbis_info_init(vorbis_info *vi);
  23.169 +extern void     vorbis_info_clear(vorbis_info *vi);
  23.170 +extern int      vorbis_info_blocksize(vorbis_info *vi,int zo);
  23.171 +extern void     vorbis_comment_init(vorbis_comment *vc);
  23.172 +extern void     vorbis_comment_add(vorbis_comment *vc, const char *comment);
  23.173 +extern void     vorbis_comment_add_tag(vorbis_comment *vc,
  23.174 +                                       const char *tag, const char *contents);
  23.175 +extern char    *vorbis_comment_query(vorbis_comment *vc, const char *tag, int count);
  23.176 +extern int      vorbis_comment_query_count(vorbis_comment *vc, const char *tag);
  23.177 +extern void     vorbis_comment_clear(vorbis_comment *vc);
  23.178 +
  23.179 +extern int      vorbis_block_init(vorbis_dsp_state *v, vorbis_block *vb);
  23.180 +extern int      vorbis_block_clear(vorbis_block *vb);
  23.181 +extern void     vorbis_dsp_clear(vorbis_dsp_state *v);
  23.182 +extern double   vorbis_granule_time(vorbis_dsp_state *v,
  23.183 +                                    ogg_int64_t granulepos);
  23.184 +
  23.185 +extern const char *vorbis_version_string(void);
  23.186 +
  23.187 +/* Vorbis PRIMITIVES: analysis/DSP layer ****************************/
  23.188 +
  23.189 +extern int      vorbis_analysis_init(vorbis_dsp_state *v,vorbis_info *vi);
  23.190 +extern int      vorbis_commentheader_out(vorbis_comment *vc, ogg_packet *op);
  23.191 +extern int      vorbis_analysis_headerout(vorbis_dsp_state *v,
  23.192 +                                          vorbis_comment *vc,
  23.193 +                                          ogg_packet *op,
  23.194 +                                          ogg_packet *op_comm,
  23.195 +                                          ogg_packet *op_code);
  23.196 +extern float  **vorbis_analysis_buffer(vorbis_dsp_state *v,int vals);
  23.197 +extern int      vorbis_analysis_wrote(vorbis_dsp_state *v,int vals);
  23.198 +extern int      vorbis_analysis_blockout(vorbis_dsp_state *v,vorbis_block *vb);
  23.199 +extern int      vorbis_analysis(vorbis_block *vb,ogg_packet *op);
  23.200 +
  23.201 +extern int      vorbis_bitrate_addblock(vorbis_block *vb);
  23.202 +extern int      vorbis_bitrate_flushpacket(vorbis_dsp_state *vd,
  23.203 +                                           ogg_packet *op);
  23.204 +
  23.205 +/* Vorbis PRIMITIVES: synthesis layer *******************************/
  23.206 +extern int      vorbis_synthesis_idheader(ogg_packet *op);
  23.207 +extern int      vorbis_synthesis_headerin(vorbis_info *vi,vorbis_comment *vc,
  23.208 +                                          ogg_packet *op);
  23.209 +
  23.210 +extern int      vorbis_synthesis_init(vorbis_dsp_state *v,vorbis_info *vi);
  23.211 +extern int      vorbis_synthesis_restart(vorbis_dsp_state *v);
  23.212 +extern int      vorbis_synthesis(vorbis_block *vb,ogg_packet *op);
  23.213 +extern int      vorbis_synthesis_trackonly(vorbis_block *vb,ogg_packet *op);
  23.214 +extern int      vorbis_synthesis_blockin(vorbis_dsp_state *v,vorbis_block *vb);
  23.215 +extern int      vorbis_synthesis_pcmout(vorbis_dsp_state *v,float ***pcm);
  23.216 +extern int      vorbis_synthesis_lapout(vorbis_dsp_state *v,float ***pcm);
  23.217 +extern int      vorbis_synthesis_read(vorbis_dsp_state *v,int samples);
  23.218 +extern long     vorbis_packet_blocksize(vorbis_info *vi,ogg_packet *op);
  23.219 +
  23.220 +extern int      vorbis_synthesis_halfrate(vorbis_info *v,int flag);
  23.221 +extern int      vorbis_synthesis_halfrate_p(vorbis_info *v);
  23.222 +
  23.223 +/* Vorbis ERRORS and return codes ***********************************/
  23.224 +
  23.225 +#define OV_FALSE      -1
  23.226 +#define OV_EOF        -2
  23.227 +#define OV_HOLE       -3
  23.228 +
  23.229 +#define OV_EREAD      -128
  23.230 +#define OV_EFAULT     -129
  23.231 +#define OV_EIMPL      -130
  23.232 +#define OV_EINVAL     -131
  23.233 +#define OV_ENOTVORBIS -132
  23.234 +#define OV_EBADHEADER -133
  23.235 +#define OV_EVERSION   -134
  23.236 +#define OV_ENOTAUDIO  -135
  23.237 +#define OV_EBADPACKET -136
  23.238 +#define OV_EBADLINK   -137
  23.239 +#define OV_ENOSEEK    -138
  23.240 +
  23.241 +#ifdef __cplusplus
  23.242 +}
  23.243 +#endif /* __cplusplus */
  23.244 +
  23.245 +#endif
  23.246 +
    24.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.2 +++ b/VisualC/vorbis/include/ogg/config_types.h	Tue Jan 18 11:11:21 2011 -0800
    24.3 @@ -0,0 +1,11 @@
    24.4 +#ifndef __CONFIG_TYPES_H__
    24.5 +#define __CONFIG_TYPES_H__
    24.6 +
    24.7 +/* these are filled in by configure */
    24.8 +typedef short ogg_int16_t;
    24.9 +typedef unsigned short ogg_uint16_t;
   24.10 +typedef int ogg_int32_t;
   24.11 +typedef unsigned int ogg_uint32_t;
   24.12 +typedef long long ogg_int64_t;
   24.13 +
   24.14 +#endif
    25.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    25.2 +++ b/VisualC/vorbis/include/ogg/ogg.h	Tue Jan 18 11:11:21 2011 -0800
    25.3 @@ -0,0 +1,208 @@
    25.4 +/********************************************************************
    25.5 + *                                                                  *
    25.6 + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
    25.7 + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
    25.8 + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
    25.9 + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
   25.10 + *                                                                  *
   25.11 + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007             *
   25.12 + * by the Xiph.Org Foundation http://www.xiph.org/                  *
   25.13 + *                                                                  *
   25.14 + ********************************************************************
   25.15 +
   25.16 + function: toplevel libogg include
   25.17 + last mod: $Id: ogg.h 16051 2009-05-27 05:00:06Z xiphmont $
   25.18 +
   25.19 + ********************************************************************/
   25.20 +#ifndef _OGG_H
   25.21 +#define _OGG_H
   25.22 +
   25.23 +#ifdef __cplusplus
   25.24 +extern "C" {
   25.25 +#endif
   25.26 +
   25.27 +#include <stddef.h>
   25.28 +#include <ogg/os_types.h>
   25.29 +
   25.30 +typedef struct {
   25.31 +  void *iov_base;
   25.32 +  size_t iov_len;
   25.33 +} ogg_iovec_t;
   25.34 +
   25.35 +typedef struct {
   25.36 +  long endbyte;
   25.37 +  int  endbit;
   25.38 +
   25.39 +  unsigned char *buffer;
   25.40 +  unsigned char *ptr;
   25.41 +  long storage;
   25.42 +} oggpack_buffer;
   25.43 +
   25.44 +/* ogg_page is used to encapsulate the data in one Ogg bitstream page *****/
   25.45 +
   25.46 +typedef struct {
   25.47 +  unsigned char *header;
   25.48 +  long header_len;
   25.49 +  unsigned char *body;
   25.50 +  long body_len;
   25.51 +} ogg_page;
   25.52 +
   25.53 +/* ogg_stream_state contains the current encode/decode state of a logical
   25.54 +   Ogg bitstream **********************************************************/
   25.55 +
   25.56 +typedef struct {
   25.57 +  unsigned char   *body_data;    /* bytes from packet bodies */
   25.58 +  long    body_storage;          /* storage elements allocated */
   25.59 +  long    body_fill;             /* elements stored; fill mark */
   25.60 +  long    body_returned;         /* elements of fill returned */
   25.61 +
   25.62 +
   25.63 +  int     *lacing_vals;      /* The values that will go to the segment table */
   25.64 +  ogg_int64_t *granule_vals; /* granulepos values for headers. Not compact
   25.65 +                                this way, but it is simple coupled to the
   25.66 +                                lacing fifo */
   25.67 +  long    lacing_storage;
   25.68 +  long    lacing_fill;
   25.69 +  long    lacing_packet;
   25.70 +  long    lacing_returned;
   25.71 +
   25.72 +  unsigned char    header[282];      /* working space for header encode */
   25.73 +  int              header_fill;
   25.74 +
   25.75 +  int     e_o_s;          /* set when we have buffered the last packet in the
   25.76 +                             logical bitstream */
   25.77 +  int     b_o_s;          /* set after we've written the initial page
   25.78 +                             of a logical bitstream */
   25.79 +  long    serialno;
   25.80 +  long    pageno;
   25.81 +  ogg_int64_t  packetno;  /* sequence number for decode; the framing
   25.82 +                             knows where there's a hole in the data,
   25.83 +                             but we need coupling so that the codec
   25.84 +                             (which is in a seperate abstraction
   25.85 +                             layer) also knows about the gap */
   25.86 +  ogg_int64_t   granulepos;
   25.87 +
   25.88 +} ogg_stream_state;
   25.89 +
   25.90 +/* ogg_packet is used to encapsulate the data and metadata belonging
   25.91 +   to a single raw Ogg/Vorbis packet *************************************/
   25.92 +
   25.93 +typedef struct {
   25.94 +  unsigned char *packet;
   25.95 +  long  bytes;
   25.96 +  long  b_o_s;
   25.97 +  long  e_o_s;
   25.98 +
   25.99 +  ogg_int64_t  granulepos;
  25.100 +
  25.101 +  ogg_int64_t  packetno;     /* sequence number for decode; the framing
  25.102 +                                knows where there's a hole in the data,
  25.103 +                                but we need coupling so that the codec
  25.104 +                                (which is in a seperate abstraction
  25.105 +                                layer) also knows about the gap */
  25.106 +} ogg_packet;
  25.107 +
  25.108 +typedef struct {
  25.109 +  unsigned char *data;
  25.110 +  int storage;
  25.111 +  int fill;
  25.112 +  int returned;
  25.113 +
  25.114 +  int unsynced;
  25.115 +  int headerbytes;
  25.116 +  int bodybytes;
  25.117 +} ogg_sync_state;
  25.118 +
  25.119 +/* Ogg BITSTREAM PRIMITIVES: bitstream ************************/
  25.120 +
  25.121 +extern void  oggpack_writeinit(oggpack_buffer *b);
  25.122 +extern int   oggpack_writecheck(oggpack_buffer *b);
  25.123 +extern void  oggpack_writetrunc(oggpack_buffer *b,long bits);
  25.124 +extern void  oggpack_writealign(oggpack_buffer *b);
  25.125 +extern void  oggpack_writecopy(oggpack_buffer *b,void *source,long bits);
  25.126 +extern void  oggpack_reset(oggpack_buffer *b);
  25.127 +extern void  oggpack_writeclear(oggpack_buffer *b);
  25.128 +extern void  oggpack_readinit(oggpack_buffer *b,unsigned char *buf,int bytes);
  25.129 +extern void  oggpack_write(oggpack_buffer *b,unsigned long value,int bits);
  25.130 +extern long  oggpack_look(oggpack_buffer *b,int bits);
  25.131 +extern long  oggpack_look1(oggpack_buffer *b);
  25.132 +extern void  oggpack_adv(oggpack_buffer *b,int bits);
  25.133 +extern void  oggpack_adv1(oggpack_buffer *b);
  25.134 +extern long  oggpack_read(oggpack_buffer *b,int bits);
  25.135 +extern long  oggpack_read1(oggpack_buffer *b);
  25.136 +extern long  oggpack_bytes(oggpack_buffer *b);
  25.137 +extern long  oggpack_bits(oggpack_buffer *b);
  25.138 +extern unsigned char *oggpack_get_buffer(oggpack_buffer *b);
  25.139 +
  25.140 +extern void  oggpackB_writeinit(oggpack_buffer *b);
  25.141 +extern int   oggpackB_writecheck(oggpack_buffer *b);
  25.142 +extern void  oggpackB_writetrunc(oggpack_buffer *b,long bits);
  25.143 +extern void  oggpackB_writealign(oggpack_buffer *b);
  25.144 +extern void  oggpackB_writecopy(oggpack_buffer *b,void *source,long bits);
  25.145 +extern void  oggpackB_reset(oggpack_buffer *b);
  25.146 +extern void  oggpackB_writeclear(oggpack_buffer *b);
  25.147 +extern void  oggpackB_readinit(oggpack_buffer *b,unsigned char *buf,int bytes);
  25.148 +extern void  oggpackB_write(oggpack_buffer *b,unsigned long value,int bits);
  25.149 +extern long  oggpackB_look(oggpack_buffer *b,int bits);
  25.150 +extern long  oggpackB_look1(oggpack_buffer *b);
  25.151 +extern void  oggpackB_adv(oggpack_buffer *b,int bits);
  25.152 +extern void  oggpackB_adv1(oggpack_buffer *b);
  25.153 +extern long  oggpackB_read(oggpack_buffer *b,int bits);
  25.154 +extern long  oggpackB_read1(oggpack_buffer *b);
  25.155 +extern long  oggpackB_bytes(oggpack_buffer *b);
  25.156 +extern long  oggpackB_bits(oggpack_buffer *b);
  25.157 +extern unsigned char *oggpackB_get_buffer(oggpack_buffer *b);
  25.158 +
  25.159 +/* Ogg BITSTREAM PRIMITIVES: encoding **************************/
  25.160 +
  25.161 +extern int      ogg_stream_packetin(ogg_stream_state *os, ogg_packet *op);
  25.162 +extern int      ogg_stream_iovecin(ogg_stream_state *os, ogg_iovec_t *iov,
  25.163 +                                   int count, long e_o_s, ogg_int64_t granulepos);
  25.164 +extern int      ogg_stream_pageout(ogg_stream_state *os, ogg_page *og);
  25.165 +extern int      ogg_stream_flush(ogg_stream_state *os, ogg_page *og);
  25.166 +
  25.167 +/* Ogg BITSTREAM PRIMITIVES: decoding **************************/
  25.168 +
  25.169 +extern int      ogg_sync_init(ogg_sync_state *oy);
  25.170 +extern int      ogg_sync_clear(ogg_sync_state *oy);
  25.171 +extern int      ogg_sync_reset(ogg_sync_state *oy);
  25.172 +extern int      ogg_sync_destroy(ogg_sync_state *oy);
  25.173 +extern int      ogg_sync_check(ogg_sync_state *oy);
  25.174 +
  25.175 +extern char    *ogg_sync_buffer(ogg_sync_state *oy, long size);
  25.176 +extern int      ogg_sync_wrote(ogg_sync_state *oy, long bytes);
  25.177 +extern long     ogg_sync_pageseek(ogg_sync_state *oy,ogg_page *og);
  25.178 +extern int      ogg_sync_pageout(ogg_sync_state *oy, ogg_page *og);
  25.179 +extern int      ogg_stream_pagein(ogg_stream_state *os, ogg_page *og);
  25.180 +extern int      ogg_stream_packetout(ogg_stream_state *os,ogg_packet *op);
  25.181 +extern int      ogg_stream_packetpeek(ogg_stream_state *os,ogg_packet *op);
  25.182 +
  25.183 +/* Ogg BITSTREAM PRIMITIVES: general ***************************/
  25.184 +
  25.185 +extern int      ogg_stream_init(ogg_stream_state *os,int serialno);
  25.186 +extern int      ogg_stream_clear(ogg_stream_state *os);
  25.187 +extern int      ogg_stream_reset(ogg_stream_state *os);
  25.188 +extern int      ogg_stream_reset_serialno(ogg_stream_state *os,int serialno);
  25.189 +extern int      ogg_stream_destroy(ogg_stream_state *os);
  25.190 +extern int      ogg_stream_check(ogg_stream_state *os);
  25.191 +extern int      ogg_stream_eos(ogg_stream_state *os);
  25.192 +
  25.193 +extern void     ogg_page_checksum_set(ogg_page *og);
  25.194 +
  25.195 +extern int      ogg_page_version(const ogg_page *og);
  25.196 +extern int      ogg_page_continued(const ogg_page *og);
  25.197 +extern int      ogg_page_bos(const ogg_page *og);
  25.198 +extern int      ogg_page_eos(const ogg_page *og);
  25.199 +extern ogg_int64_t  ogg_page_granulepos(const ogg_page *og);
  25.200 +extern int      ogg_page_serialno(const ogg_page *og);
  25.201 +extern long     ogg_page_pageno(const ogg_page *og);
  25.202 +extern int      ogg_page_packets(const ogg_page *og);
  25.203 +
  25.204 +extern void     ogg_packet_clear(ogg_packet *op);
  25.205 +
  25.206 +
  25.207 +#ifdef __cplusplus
  25.208 +}
  25.209 +#endif
  25.210 +
  25.211 +#endif  /* _OGG_H */
    26.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    26.2 +++ b/VisualC/vorbis/include/ogg/os_types.h	Tue Jan 18 11:11:21 2011 -0800
    26.3 @@ -0,0 +1,139 @@
    26.4 +/********************************************************************
    26.5 + *                                                                  *
    26.6 + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
    26.7 + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
    26.8 + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
    26.9 + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
   26.10 + *                                                                  *
   26.11 + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002             *
   26.12 + * by the Xiph.Org Foundation http://www.xiph.org/                  *
   26.13 + *                                                                  *
   26.14 + ********************************************************************
   26.15 +
   26.16 + function: #ifdef jail to whip a few platforms into the UNIX ideal.
   26.17 + last mod: $Id: os_types.h 14997 2008-06-04 03:27:18Z ivo $
   26.18 +
   26.19 + ********************************************************************/
   26.20 +#ifndef _OS_TYPES_H
   26.21 +#define _OS_TYPES_H
   26.22 +
   26.23 +/* make it easy on the folks that want to compile the libs with a
   26.24 +   different malloc than stdlib */
   26.25 +#define _ogg_malloc  malloc
   26.26 +#define _ogg_calloc  calloc
   26.27 +#define _ogg_realloc realloc
   26.28 +#define _ogg_free    free
   26.29 +
   26.30 +#if defined(_WIN32) 
   26.31 +
   26.32 +#  if defined(__CYGWIN__)
   26.33 +#    include <stdint.h>
   26.34 +     typedef int16_t ogg_int16_t;
   26.35 +     typedef uint16_t ogg_uint16_t;
   26.36 +     typedef int32_t ogg_int32_t;
   26.37 +     typedef uint32_t ogg_uint32_t;
   26.38 +     typedef int64_t ogg_int64_t;
   26.39 +     typedef uint64_t ogg_uint64_t;
   26.40 +#  elif defined(__MINGW32__)
   26.41 +#    include <sys/types.h>
   26.42 +     typedef short ogg_int16_t;
   26.43 +     typedef unsigned short ogg_uint16_t;
   26.44 +     typedef int ogg_int32_t;
   26.45 +     typedef unsigned int ogg_uint32_t;
   26.46 +     typedef long long ogg_int64_t;
   26.47 +     typedef unsigned long long ogg_uint64_t;
   26.48 +#  elif defined(__MWERKS__)
   26.49 +     typedef long long ogg_int64_t;
   26.50 +     typedef int ogg_int32_t;
   26.51 +     typedef unsigned int ogg_uint32_t;
   26.52 +     typedef short ogg_int16_t;
   26.53 +     typedef unsigned short ogg_uint16_t;
   26.54 +#  else
   26.55 +     /* MSVC/Borland */
   26.56 +     typedef __int64 ogg_int64_t;
   26.57 +     typedef __int32 ogg_int32_t;
   26.58 +     typedef unsigned __int32 ogg_uint32_t;
   26.59 +     typedef __int16 ogg_int16_t;
   26.60 +     typedef unsigned __int16 ogg_uint16_t;
   26.61 +#  endif
   26.62 +
   26.63 +#elif defined(__MACOS__)
   26.64 +
   26.65 +#  include <sys/types.h>
   26.66 +   typedef SInt16 ogg_int16_t;
   26.67 +   typedef UInt16 ogg_uint16_t;
   26.68 +   typedef SInt32 ogg_int32_t;
   26.69 +   typedef UInt32 ogg_uint32_t;
   26.70 +   typedef SInt64 ogg_int64_t;
   26.71 +
   26.72 +#elif (defined(__APPLE__) && defined(__MACH__)) /* MacOS X Framework build */
   26.73 +
   26.74 +#  include <sys/types.h>
   26.75 +   typedef int16_t ogg_int16_t;
   26.76 +   typedef u_int16_t ogg_uint16_t;
   26.77 +   typedef int32_t ogg_int32_t;
   26.78 +   typedef u_int32_t ogg_uint32_t;
   26.79 +   typedef int64_t ogg_int64_t;
   26.80 +
   26.81 +#elif defined(__HAIKU__)
   26.82 +
   26.83 +  /* Haiku */
   26.84 +#  include <sys/types.h>
   26.85 +   typedef short ogg_int16_t;
   26.86 +   typedef unsigned short ogg_uint16_t;
   26.87 +   typedef int ogg_int32_t;
   26.88 +   typedef unsigned int ogg_uint32_t;
   26.89 +   typedef long long ogg_int64_t;
   26.90 +
   26.91 +#elif defined(__BEOS__)
   26.92 +
   26.93 +   /* Be */
   26.94 +#  include <inttypes.h>
   26.95 +   typedef int16_t ogg_int16_t;
   26.96 +   typedef u_int16_t ogg_uint16_t;
   26.97 +   typedef int32_t ogg_int32_t;
   26.98 +   typedef u_int32_t ogg_uint32_t;
   26.99 +   typedef int64_t ogg_int64_t;
  26.100 +
  26.101 +#elif defined (__EMX__)
  26.102 +
  26.103 +   /* OS/2 GCC */
  26.104 +   typedef short ogg_int16_t;
  26.105 +   typedef unsigned short ogg_uint16_t;
  26.106 +   typedef int ogg_int32_t;
  26.107 +   typedef unsigned int ogg_uint32_t;
  26.108 +   typedef long long ogg_int64_t;
  26.109 +
  26.110 +#elif defined (DJGPP)
  26.111 +
  26.112 +   /* DJGPP */
  26.113 +   typedef short ogg_int16_t;
  26.114 +   typedef int ogg_int32_t;
  26.115 +   typedef unsigned int ogg_uint32_t;
  26.116 +   typedef long long ogg_int64_t;
  26.117 +
  26.118 +#elif defined(R5900)
  26.119 +
  26.120 +   /* PS2 EE */
  26.121 +   typedef long ogg_int64_t;
  26.122 +   typedef int ogg_int32_t;
  26.123 +   typedef unsigned ogg_uint32_t;
  26.124 +   typedef short ogg_int16_t;
  26.125 +
  26.126 +#elif defined(__SYMBIAN32__)
  26.127 +
  26.128 +   /* Symbian GCC */
  26.129 +   typedef signed short ogg_int16_t;
  26.130 +   typedef unsigned short ogg_uint16_t;
  26.131 +   typedef signed int ogg_int32_t;
  26.132 +   typedef unsigned int ogg_uint32_t;
  26.133 +   typedef long long int ogg_int64_t;
  26.134 +
  26.135 +#else
  26.136 +
  26.137 +#  include <sys/types.h>
  26.138 +#  include <ogg/config_types.h>
  26.139 +
  26.140 +#endif
  26.141 +
  26.142 +#endif  /* _OS_TYPES_H */
    27.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    27.2 +++ b/VisualC/vorbis/include/vorbis/codec.h	Tue Jan 18 11:11:21 2011 -0800
    27.3 @@ -0,0 +1,243 @@
    27.4 +/********************************************************************
    27.5 + *                                                                  *
    27.6 + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
    27.7 + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
    27.8 + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
    27.9 + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
   27.10 + *                                                                  *
   27.11 + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001             *
   27.12 + * by the Xiph.Org Foundation http://www.xiph.org/                  *
   27.13 +
   27.14 + ********************************************************************
   27.15 +
   27.16 + function: libvorbis codec headers
   27.17 + last mod: $Id: codec.h 16037 2009-05-26 21:10:58Z xiphmont $
   27.18 +
   27.19 + ********************************************************************/
   27.20 +
   27.21 +#ifndef _vorbis_codec_h_
   27.22 +#define _vorbis_codec_h_
   27.23 +
   27.24 +#ifdef __cplusplus
   27.25 +extern "C"
   27.26 +{
   27.27 +#endif /* __cplusplus */
   27.28 +
   27.29 +#include <ogg/ogg.h>
   27.30 +
   27.31 +typedef struct vorbis_info{
   27.32 +  int version;
   27.33 +  int channels;
   27.34 +  long rate;
   27.35 +
   27.36 +  /* The below bitrate declarations are *hints*.
   27.37 +     Combinations of the three values carry the following implications:
   27.38 +
   27.39 +     all three set to the same value:
   27.40 +       implies a fixed rate bitstream
   27.41 +     only nominal set:
   27.42 +       implies a VBR stream that averages the nominal bitrate.  No hard
   27.43 +       upper/lower limit
   27.44 +     upper and or lower set:
   27.45 +       implies a VBR bitstream that obeys the bitrate limits. nominal
   27.46 +       may also be set to give a nominal rate.
   27.47 +     none set:
   27.48 +       the coder does not care to speculate.
   27.49 +  */
   27.50 +
   27.51 +  long bitrate_upper;
   27.52 +  long bitrate_nominal;
   27.53 +  long bitrate_lower;
   27.54 +  long bitrate_window;
   27.55 +
   27.56 +  void *codec_setup;
   27.57 +} vorbis_info;
   27.58 +
   27.59 +/* vorbis_dsp_state buffers the current vorbis audio
   27.60 +   analysis/synthesis state.  The DSP state belongs to a specific
   27.61 +   logical bitstream ****************************************************/
   27.62 +typedef struct vorbis_dsp_state{
   27.63 +  int analysisp;
   27.64 +  vorbis_info *vi;
   27.65 +
   27.66 +  float **pcm;
   27.67 +  float **pcmret;
   27.68 +  int      pcm_storage;
   27.69 +  int      pcm_current;
   27.70 +  int      pcm_returned;
   27.71 +
   27.72 +  int  preextrapolate;
   27.73 +  int  eofflag;
   27.74 +
   27.75 +  long lW;
   27.76 +  long W;
   27.77 +  long nW;
   27.78 +  long centerW;
   27.79 +
   27.80 +  ogg_int64_t granulepos;
   27.81 +  ogg_int64_t sequence;
   27.82 +
   27.83 +  ogg_int64_t glue_bits;
   27.84 +  ogg_int64_t time_bits;
   27.85 +  ogg_int64_t floor_bits;
   27.86 +  ogg_int64_t res_bits;
   27.87 +
   27.88 +  void       *backend_state;
   27.89 +} vorbis_dsp_state;
   27.90 +
   27.91 +typedef struct vorbis_block{
   27.92 +  /* necessary stream state for linking to the framing abstraction */
   27.93 +  float  **pcm;       /* this is a pointer into local storage */
   27.94 +  oggpack_buffer opb;
   27.95 +
   27.96 +  long  lW;
   27.97 +  long  W;
   27.98 +  long  nW;
   27.99 +  int   pcmend;
  27.100 +  int   mode;
  27.101 +
  27.102 +  int         eofflag;
  27.103 +  ogg_int64_t granulepos;
  27.104 +  ogg_int64_t sequence;
  27.105 +  vorbis_dsp_state *vd; /* For read-only access of configuration */
  27.106 +
  27.107 +  /* local storage to avoid remallocing; it's up to the mapping to
  27.108 +     structure it */
  27.109 +  void               *localstore;
  27.110 +  long                localtop;
  27.111 +  long                localalloc;
  27.112 +  long                totaluse;
  27.113 +  struct alloc_chain *reap;
  27.114 +
  27.115 +  /* bitmetrics for the frame */
  27.116 +  long glue_bits;
  27.117 +  long time_bits;
  27.118 +  long floor_bits;
  27.119 +  long res_bits;
  27.120 +
  27.121 +  void *internal;
  27.122 +
  27.123 +} vorbis_block;
  27.124 +
  27.125 +/* vorbis_block is a single block of data to be processed as part of
  27.126 +the analysis/synthesis stream; it belongs to a specific logical
  27.127 +bitstream, but is independant from other vorbis_blocks belonging to
  27.128 +that logical bitstream. *************************************************/
  27.129 +
  27.130 +struct alloc_chain{
  27.131 +  void *ptr;
  27.132 +  struct alloc_chain *next;
  27.133 +};
  27.134 +
  27.135 +/* vorbis_info contains all the setup information specific to the
  27.136 +   specific compression/decompression mode in progress (eg,
  27.137 +   psychoacoustic settings, channel setup, options, codebook
  27.138 +   etc). vorbis_info and substructures are in backends.h.
  27.139 +*********************************************************************/
  27.140 +
  27.141 +/* the comments are not part of vorbis_info so that vorbis_info can be
  27.142 +   static storage */
  27.143 +typedef struct vorbis_comment{
  27.144 +  /* unlimited user comment fields.  libvorbis writes 'libvorbis'
  27.145 +     whatever vendor is set to in encode */
  27.146 +  char **user_comments;
  27.147 +  int   *comment_lengths;
  27.148 +  int    comments;
  27.149 +  char  *vendor;
  27.150 +
  27.151 +} vorbis_comment;
  27.152 +
  27.153 +
  27.154 +/* libvorbis encodes in two abstraction layers; first we perform DSP
  27.155 +   and produce a packet (see docs/analysis.txt).  The packet is then
  27.156 +   coded into a framed OggSquish bitstream by the second layer (see
  27.157 +   docs/framing.txt).  Decode is the reverse process; we sync/frame
  27.158 +   the bitstream and extract individual packets, then decode the
  27.159 +   packet back into PCM audio.
  27.160 +
  27.161 +   The extra framing/packetizing is used in streaming formats, such as
  27.162 +   files.  Over the net (such as with UDP), the framing and
  27.163 +   packetization aren't necessary as they're provided by the transport
  27.164 +   and the streaming layer is not used */
  27.165 +
  27.166 +/* Vorbis PRIMITIVES: general ***************************************/
  27.167 +
  27.168 +extern void     vorbis_info_init(vorbis_info *vi);
  27.169 +extern void     vorbis_info_clear(vorbis_info *vi);
  27.170 +extern int      vorbis_info_blocksize(vorbis_info *vi,int zo);
  27.171 +extern void     vorbis_comment_init(vorbis_comment *vc);
  27.172 +extern void     vorbis_comment_add(vorbis_comment *vc, const char *comment);
  27.173 +extern void     vorbis_comment_add_tag(vorbis_comment *vc,
  27.174 +                                       const char *tag, const char *contents);
  27.175 +extern char    *vorbis_comment_query(vorbis_comment *vc, const char *tag, int count);
  27.176 +extern int      vorbis_comment_query_count(vorbis_comment *vc, const char *tag);
  27.177 +extern void     vorbis_comment_clear(vorbis_comment *vc);
  27.178 +
  27.179 +extern int      vorbis_block_init(vorbis_dsp_state *v, vorbis_block *vb);
  27.180 +extern int      vorbis_block_clear(vorbis_block *vb);
  27.181 +extern void     vorbis_dsp_clear(vorbis_dsp_state *v);
  27.182 +extern double   vorbis_granule_time(vorbis_dsp_state *v,
  27.183 +                                    ogg_int64_t granulepos);
  27.184 +
  27.185 +extern const char *vorbis_version_string(void);
  27.186 +
  27.187 +/* Vorbis PRIMITIVES: analysis/DSP layer ****************************/
  27.188 +
  27.189 +extern int      vorbis_analysis_init(vorbis_dsp_state *v,vorbis_info *vi);
  27.190 +extern int      vorbis_commentheader_out(vorbis_comment *vc, ogg_packet *op);
  27.191 +extern int      vorbis_analysis_headerout(vorbis_dsp_state *v,
  27.192 +                                          vorbis_comment *vc,
  27.193 +                                          ogg_packet *op,
  27.194 +                                          ogg_packet *op_comm,
  27.195 +                                          ogg_packet *op_code);
  27.196 +extern float  **vorbis_analysis_buffer(vorbis_dsp_state *v,int vals);
  27.197 +extern int      vorbis_analysis_wrote(vorbis_dsp_state *v,int vals);
  27.198 +extern int      vorbis_analysis_blockout(vorbis_dsp_state *v,vorbis_block *vb);
  27.199 +extern int      vorbis_analysis(vorbis_block *vb,ogg_packet *op);
  27.200 +
  27.201 +extern int      vorbis_bitrate_addblock(vorbis_block *vb);
  27.202 +extern int      vorbis_bitrate_flushpacket(vorbis_dsp_state *vd,
  27.203 +                                           ogg_packet *op);
  27.204 +
  27.205 +/* Vorbis PRIMITIVES: synthesis layer *******************************/
  27.206 +extern int      vorbis_synthesis_idheader(ogg_packet *op);
  27.207 +extern int      vorbis_synthesis_headerin(vorbis_info *vi,vorbis_comment *vc,
  27.208 +                                          ogg_packet *op);
  27.209 +
  27.210 +extern int      vorbis_synthesis_init(vorbis_dsp_state *v,vorbis_info *vi);
  27.211 +extern int      vorbis_synthesis_restart(vorbis_dsp_state *v);
  27.212 +extern int      vorbis_synthesis(vorbis_block *vb,ogg_packet *op);
  27.213 +extern int      vorbis_synthesis_trackonly(vorbis_block *vb,ogg_packet *op);
  27.214 +extern int      vorbis_synthesis_blockin(vorbis_dsp_state *v,vorbis_block *vb);
  27.215 +extern int      vorbis_synthesis_pcmout(vorbis_dsp_state *v,float ***pcm);
  27.216 +extern int      vorbis_synthesis_lapout(vorbis_dsp_state *v,float ***pcm);
  27.217 +extern int      vorbis_synthesis_read(vorbis_dsp_state *v,int samples);
  27.218 +extern long     vorbis_packet_blocksize(vorbis_info *vi,ogg_packet *op);
  27.219 +
  27.220 +extern int      vorbis_synthesis_halfrate(vorbis_info *v,int flag);
  27.221 +extern int      vorbis_synthesis_halfrate_p(vorbis_info *v);
  27.222 +
  27.223 +/* Vorbis ERRORS and return codes ***********************************/
  27.224 +
  27.225 +#define OV_FALSE      -1
  27.226 +#define OV_EOF        -2
  27.227 +#define OV_HOLE       -3
  27.228 +
  27.229 +#define OV_EREAD      -128
  27.230 +#define OV_EFAULT     -129
  27.231 +#define OV_EIMPL      -130
  27.232 +#define OV_EINVAL     -131
  27.233 +#define OV_ENOTVORBIS -132
  27.234 +#define OV_EBADHEADER -133
  27.235 +#define OV_EVERSION   -134
  27.236 +#define OV_ENOTAUDIO  -135
  27.237 +#define OV_EBADPACKET -136
  27.238 +#define OV_EBADLINK   -137
  27.239 +#define OV_ENOSEEK    -138
  27.240 +
  27.241 +#ifdef __cplusplus
  27.242 +}
  27.243 +#endif /* __cplusplus */
  27.244 +
  27.245 +#endif
  27.246 +
    28.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    28.2 +++ b/VisualC/vorbis/include/vorbis/vorbisfile.h	Tue Jan 18 11:11:21 2011 -0800
    28.3 @@ -0,0 +1,206 @@
    28.4 +/********************************************************************
    28.5 + *                                                                  *
    28.6 + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
    28.7 + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
    28.8 + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
    28.9 + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
   28.10 + *                                                                  *
   28.11 + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007             *
   28.12 + * by the Xiph.Org Foundation http://www.xiph.org/                  *
   28.13 + *                                                                  *
   28.14 + ********************************************************************
   28.15 +
   28.16 + function: stdio-based convenience library for opening/seeking/decoding
   28.17 + last mod: $Id: vorbisfile.h 16243 2009-07-10 02:49:31Z xiphmont $
   28.18 +
   28.19 + ********************************************************************/
   28.20 +
   28.21 +#ifndef _OV_FILE_H_
   28.22 +#define _OV_FILE_H_
   28.23 +
   28.24 +#ifdef __cplusplus
   28.25 +extern "C"
   28.26 +{
   28.27 +#endif /* __cplusplus */
   28.28 +
   28.29 +#include <stdio.h>
   28.30 +#include "codec.h"
   28.31 +
   28.32 +/* The function prototypes for the callbacks are basically the same as for
   28.33 + * the stdio functions fread, fseek, fclose, ftell.
   28.34 + * The one difference is that the FILE * arguments have been replaced with
   28.35 + * a void * - this is to be used as a pointer to whatever internal data these
   28.36 + * functions might need. In the stdio case, it's just a FILE * cast to a void *
   28.37 + *
   28.38 + * If you use other functions, check the docs for these functions and return
   28.39 + * the right values. For seek_func(), you *MUST* return -1 if the stream is
   28.40 + * unseekable
   28.41 + */
   28.42 +typedef struct {
   28.43 +  size_t (*read_func)  (void *ptr, size_t size, size_t nmemb, void *datasource);
   28.44 +  int    (*seek_func)  (void *datasource, ogg_int64_t offset, int whence);
   28.45 +  int    (*close_func) (void *datasource);
   28.46 +  long   (*tell_func)  (void *datasource);
   28.47 +} ov_callbacks;
   28.48 +
   28.49 +#ifndef OV_EXCLUDE_STATIC_CALLBACKS
   28.50 +
   28.51 +/* a few sets of convenient callbacks, especially for use under
   28.52 + * Windows where ov_open_callbacks() should always be used instead of
   28.53 + * ov_open() to avoid problems with incompatable crt.o version linking
   28.54 + * issues. */
   28.55 +
   28.56 +static int _ov_header_fseek_wrap(FILE *f,ogg_int64_t off,int whence){
   28.57 +  if(f==NULL)return(-1);
   28.58 +
   28.59 +#ifdef __MINGW32__
   28.60 +  return fseeko64(f,off,whence);
   28.61 +#elif defined (_WIN32)
   28.62 +  return _fseeki64(f,off,whence);
   28.63 +#else
   28.64 +  return fseek(f,off,whence);
   28.65 +#endif
   28.66 +}
   28.67 +
   28.68 +/* These structs below (OV_CALLBACKS_DEFAULT etc) are defined here as
   28.69 + * static data. That means that every file which includes this header
   28.70 + * will get its own copy of these structs whether it uses them or
   28.71 + * not unless it #defines OV_EXCLUDE_STATIC_CALLBACKS.
   28.72 + * These static symbols are essential on platforms such as Windows on
   28.73 + * which several different versions of stdio support may be linked to
   28.74 + * by different DLLs, and we need to be certain we know which one
   28.75 + * we're using (the same one as the main application).
   28.76 + */
   28.77 +
   28.78 +static ov_callbacks OV_CALLBACKS_DEFAULT = {
   28.79 +  (size_t (*)(void *, size_t, size_t, void *))  fread,
   28.80 +  (int (*)(void *, ogg_int64_t, int))           _ov_header_fseek_wrap,
   28.81 +  (int (*)(void *))                             fclose,
   28.82 +  (long (*)(void *))                            ftell
   28.83 +};
   28.84 +
   28.85 +static ov_callbacks OV_CALLBACKS_NOCLOSE = {
   28.86 +  (size_t (*)(void *, size_t, size_t, void *))  fread,
   28.87 +  (int (*)(void *, ogg_int64_t, int))           _ov_header_fseek_wrap,
   28.88 +  (int (*)(void *))                             NULL,
   28.89 +  (long (*)(void *))                            ftell
   28.90 +};
   28.91 +
   28.92 +static ov_callbacks OV_CALLBACKS_STREAMONLY = {
   28.93 +  (size_t (*)(void *, size_t, size_t, void *))  fread,
   28.94 +  (int (*)(void *, ogg_int64_t, int))           NULL,
   28.95 +  (int (*)(void *))                             fclose,
   28.96 +  (long (*)(void *))                            NULL
   28.97 +};
   28.98 +
   28.99 +static ov_callbacks OV_CALLBACKS_STREAMONLY_NOCLOSE = {
  28.100 +  (size_t (*)(void *, size_t, size_t, void *))  fread,
  28.101 +  (int (*)(void *, ogg_int64_t, int))           NULL,
  28.102 +  (int (*)(void *))                             NULL,
  28.103 +  (long (*)(void *))                            NULL
  28.104 +};
  28.105 +
  28.106 +#endif
  28.107 +
  28.108 +#define  NOTOPEN   0
  28.109 +#define  PARTOPEN  1
  28.110 +#define  OPENED    2
  28.111 +#define  STREAMSET 3
  28.112 +#define  INITSET   4
  28.113 +
  28.114 +typedef struct OggVorbis_File {
  28.115 +  void            *datasource; /* Pointer to a FILE *, etc. */
  28.116 +  int              seekable;
  28.117 +  ogg_int64_t      offset;
  28.118 +  ogg_int64_t      end;
  28.119 +  ogg_sync_state   oy;
  28.120 +
  28.121 +  /* If the FILE handle isn't seekable (eg, a pipe), only the current
  28.122 +     stream appears */
  28.123 +  int              links;
  28.124 +  ogg_int64_t     *offsets;
  28.125 +  ogg_int64_t     *dataoffsets;
  28.126 +  long            *serialnos;
  28.127 +  ogg_int64_t     *pcmlengths; /* overloaded to maintain binary
  28.128 +                                  compatability; x2 size, stores both
  28.129 +                                  beginning and end values */
  28.130 +  vorbis_info     *vi;
  28.131 +  vorbis_comment  *vc;
  28.132 +
  28.133 +  /* Decoding working state local storage */
  28.134 +  ogg_int64_t      pcm_offset;
  28.135 +  int              ready_state;
  28.136 +  long             current_serialno;
  28.137 +  int              current_link;
  28.138 +
  28.139 +  double           bittrack;
  28.140 +  double           samptrack;
  28.141 +
  28.142 +  ogg_stream_state os; /* take physical pages, weld into a logical
  28.143 +                          stream of packets */
  28.144 +  vorbis_dsp_state vd; /* central working state for the packet->PCM decoder */
  28.145 +  vorbis_block     vb; /* local working space for packet->PCM decode */
  28.146 +
  28.147 +  ov_callbacks callbacks;
  28.148 +
  28.149 +} OggVorbis_File;
  28.150 +
  28.151 +
  28.152 +extern int ov_clear(OggVorbis_File *vf);
  28.153 +extern int ov_fopen(char *path,OggVorbis_File *vf);
  28.154 +extern int ov_open(FILE *f,OggVorbis_File *vf,char *initial,long ibytes);
  28.155 +extern int ov_open_callbacks(void *datasource, OggVorbis_File *vf,
  28.156 +                char *initial, long ibytes, ov_callbacks callbacks);
  28.157 +
  28.158 +extern int ov_test(FILE *f,OggVorbis_File *vf,char *initial,long ibytes);
  28.159 +extern int ov_test_callbacks(void *datasource, OggVorbis_File *vf,
  28.160 +                char *initial, long ibytes, ov_callbacks callbacks);
  28.161 +extern int ov_test_open(OggVorbis_File *vf);
  28.162 +
  28.163 +extern long ov_bitrate(OggVorbis_File *vf,int i);
  28.164 +extern long ov_bitrate_instant(OggVorbis_File *vf);
  28.165 +extern long ov_streams(OggVorbis_File *vf);
  28.166 +extern long ov_seekable(OggVorbis_File *vf);
  28.167 +extern long ov_serialnumber(OggVorbis_File *vf,int i);
  28.168 +
  28.169 +extern ogg_int64_t ov_raw_total(OggVorbis_File *vf,int i);
  28.170 +extern ogg_int64_t ov_pcm_total(OggVorbis_File *vf,int i);
  28.171 +extern double ov_time_total(OggVorbis_File *vf,int i);
  28.172 +
  28.173 +extern int ov_raw_seek(OggVorbis_File *vf,ogg_int64_t pos);
  28.174 +extern int ov_pcm_seek(OggVorbis_File *vf,ogg_int64_t pos);
  28.175 +extern int ov_pcm_seek_page(OggVorbis_File *vf,ogg_int64_t pos);
  28.176 +extern int ov_time_seek(OggVorbis_File *vf,double pos);
  28.177 +extern int ov_time_seek_page(OggVorbis_File *vf,double pos);
  28.178 +
  28.179 +extern int ov_raw_seek_lap(OggVorbis_File *vf,ogg_int64_t pos);
  28.180 +extern int ov_pcm_seek_lap(OggVorbis_File *vf,ogg_int64_t pos);
  28.181 +extern int ov_pcm_seek_page_lap(OggVorbis_File *vf,ogg_int64_t pos);
  28.182 +extern int ov_time_seek_lap(OggVorbis_File *vf,double pos);
  28.183 +extern int ov_time_seek_page_lap(OggVorbis_File *vf,double pos);
  28.184 +
  28.185 +extern ogg_int64_t ov_raw_tell(OggVorbis_File *vf);
  28.186 +extern ogg_int64_t ov_pcm_tell(OggVorbis_File *vf);
  28.187 +extern double ov_time_tell(OggVorbis_File *vf);
  28.188 +
  28.189 +extern vorbis_info *ov_info(OggVorbis_File *vf,int link);
  28.190 +extern vorbis_comment *ov_comment(OggVorbis_File *vf,int link);
  28.191 +
  28.192 +extern long ov_read_float(OggVorbis_File *vf,float ***pcm_channels,int samples,
  28.193 +                          int *bitstream);
  28.194 +extern long ov_read_filter(OggVorbis_File *vf,char *buffer,int length,
  28.195 +                          int bigendianp,int word,int sgned,int *bitstream,
  28.196 +                          void (*filter)(float **pcm,long channels,long samples,void *filter_param),void *filter_param);
  28.197 +extern long ov_read(OggVorbis_File *vf,char *buffer,int length,
  28.198 +                    int bigendianp,int word,int sgned,int *bitstream);
  28.199 +extern int ov_crosslap(OggVorbis_File *vf1,OggVorbis_File *vf2);
  28.200 +
  28.201 +extern int ov_halfrate(OggVorbis_File *vf,int flag);
  28.202 +extern int ov_halfrate_p(OggVorbis_File *vf);
  28.203 +
  28.204 +#ifdef __cplusplus
  28.205 +}
  28.206 +#endif /* __cplusplus */
  28.207 +
  28.208 +#endif
  28.209 +
    29.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    29.2 +++ b/VisualC/vorbis/include/vorbisfile.h	Tue Jan 18 11:11:21 2011 -0800
    29.3 @@ -0,0 +1,206 @@
    29.4 +/********************************************************************
    29.5 + *                                                                  *
    29.6 + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
    29.7 + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
    29.8 + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
    29.9 + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
   29.10 + *                                                                  *
   29.11 + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007             *
   29.12 + * by the Xiph.Org Foundation http://www.xiph.org/                  *
   29.13 + *                                                                  *
   29.14 + ********************************************************************
   29.15 +
   29.16 + function: stdio-based convenience library for opening/seeking/decoding
   29.17 + last mod: $Id: vorbisfile.h 16243 2009-07-10 02:49:31Z xiphmont $
   29.18 +
   29.19 + ********************************************************************/
   29.20 +
   29.21 +#ifndef _OV_FILE_H_
   29.22 +#define _OV_FILE_H_
   29.23 +
   29.24 +#ifdef __cplusplus
   29.25 +extern "C"
   29.26 +{
   29.27 +#endif /* __cplusplus */
   29.28 +
   29.29 +#include <stdio.h>
   29.30 +#include "codec.h"
   29.31 +
   29.32 +/* The function prototypes for the callbacks are basically the same as for
   29.33 + * the stdio functions fread, fseek, fclose, ftell.
   29.34 + * The one difference is that the FILE * arguments have been replaced with
   29.35 + * a void * - this is to be used as a pointer to whatever internal data these
   29.36 + * functions might need. In the stdio case, it's just a FILE * cast to a void *
   29.37 + *
   29.38 + * If you use other functions, check the docs for these functions and return
   29.39 + * the right values. For seek_func(), you *MUST* return -1 if the stream is
   29.40 + * unseekable
   29.41 + */
   29.42 +typedef struct {
   29.43 +  size_t (*read_func)  (void *ptr, size_t size, size_t nmemb, void *datasource);
   29.44 +  int    (*seek_func)  (void *datasource, ogg_int64_t offset, int whence);
   29.45 +  int    (*close_func) (void *datasource);
   29.46 +  long   (*tell_func)  (void *datasource);
   29.47 +} ov_callbacks;
   29.48 +
   29.49 +#ifndef OV_EXCLUDE_STATIC_CALLBACKS
   29.50 +
   29.51 +/* a few sets of convenient callbacks, especially for use under
   29.52 + * Windows where ov_open_callbacks() should always be used instead of
   29.53 + * ov_open() to avoid problems with incompatable crt.o version linking
   29.54 + * issues. */
   29.55 +
   29.56 +static int _ov_header_fseek_wrap(FILE *f,ogg_int64_t off,int whence){
   29.57 +  if(f==NULL)return(-1);
   29.58 +
   29.59 +#ifdef __MINGW32__
   29.60 +  return fseeko64(f,off,whence);
   29.61 +#elif defined (_WIN32)
   29.62 +  return _fseeki64(f,off,whence);
   29.63 +#else
   29.64 +  return fseek(f,off,whence);
   29.65 +#endif
   29.66 +}
   29.67 +
   29.68 +/* These structs below (OV_CALLBACKS_DEFAULT etc) are defined here as
   29.69 + * static data. That means that every file which includes this header
   29.70 + * will get its own copy of these structs whether it uses them or
   29.71 + * not unless it #defines OV_EXCLUDE_STATIC_CALLBACKS.
   29.72 + * These static symbols are essential on platforms such as Windows on
   29.73 + * which several different versions of stdio support may be linked to
   29.74 + * by different DLLs, and we need to be certain we know which one
   29.75 + * we're using (the same one as the main application).
   29.76 + */
   29.77 +
   29.78 +static ov_callbacks OV_CALLBACKS_DEFAULT = {
   29.79 +  (size_t (*)(void *, size_t, size_t, void *))  fread,
   29.80 +  (int (*)(void *, ogg_int64_t, int))           _ov_header_fseek_wrap,
   29.81 +  (int (*)(void *))                             fclose,
   29.82 +  (long (*)(void *))                            ftell
   29.83 +};
   29.84 +
   29.85 +static ov_callbacks OV_CALLBACKS_NOCLOSE = {
   29.86 +  (size_t (*)(void *, size_t, size_t, void *))  fread,
   29.87 +  (int (*)(void *, ogg_int64_t, int))           _ov_header_fseek_wrap,
   29.88 +  (int (*)(void *))                             NULL,
   29.89 +  (long (*)(void *))                            ftell
   29.90 +};
   29.91 +
   29.92 +static ov_callbacks OV_CALLBACKS_STREAMONLY = {
   29.93 +  (size_t (*)(void *, size_t, size_t, void *))  fread,
   29.94 +  (int (*)(void *, ogg_int64_t, int))           NULL,
   29.95 +  (int (*)(void *))                             fclose,
   29.96 +  (long (*)(void *))                            NULL
   29.97 +};
   29.98 +
   29.99 +static ov_callbacks OV_CALLBACKS_STREAMONLY_NOCLOSE = {
  29.100 +  (size_t (*)(void *, size_t, size_t, void *))  fread,
  29.101 +  (int (*)(void *, ogg_int64_t, int))           NULL,
  29.102 +  (int (*)(void *))                             NULL,
  29.103 +  (long (*)(void *))                            NULL
  29.104 +};
  29.105 +
  29.106 +#endif
  29.107 +
  29.108 +#define  NOTOPEN   0
  29.109 +#define  PARTOPEN  1
  29.110 +#define  OPENED    2
  29.111 +#define  STREAMSET 3
  29.112 +#define  INITSET   4
  29.113 +
  29.114 +typedef struct OggVorbis_File {
  29.115 +  void            *datasource; /* Pointer to a FILE *, etc. */
  29.116 +  int              seekable;
  29.117 +  ogg_int64_t      offset;
  29.118 +  ogg_int64_t      end;
  29.119 +  ogg_sync_state   oy;
  29.120 +
  29.121 +  /* If the FILE handle isn't seekable (eg, a pipe), only the current
  29.122 +     stream appears */
  29.123 +  int              links;
  29.124 +  ogg_int64_t     *offsets;
  29.125 +  ogg_int64_t     *dataoffsets;
  29.126 +  long            *serialnos;
  29.127 +  ogg_int64_t     *pcmlengths; /* overloaded to maintain binary
  29.128 +                                  compatability; x2 size, stores both
  29.129 +                                  beginning and end values */
  29.130 +  vorbis_info     *vi;
  29.131 +  vorbis_comment  *vc;
  29.132 +
  29.133 +  /* Decoding working state local storage */
  29.134 +  ogg_int64_t      pcm_offset;
  29.135 +  int              ready_state;
  29.136 +  long             current_serialno;
  29.137 +  int              current_link;
  29.138 +
  29.139 +  double           bittrack;
  29.140 +  double           samptrack;
  29.141 +
  29.142 +  ogg_stream_state os; /* take physical pages, weld into a logical
  29.143 +                          stream of packets */
  29.144 +  vorbis_dsp_state vd; /* central working state for the packet->PCM decoder */
  29.145 +  vorbis_block     vb; /* local working space for packet->PCM decode */
  29.146 +
  29.147 +  ov_callbacks callbacks;
  29.148 +
  29.149 +} OggVorbis_File;
  29.150 +
  29.151 +
  29.152 +extern int ov_clear(OggVorbis_File *vf);
  29.153 +extern int ov_fopen(char *path,OggVorbis_File *vf);
  29.154 +extern int ov_open(FILE *f,OggVorbis_File *vf,char *initial,long ibytes);
  29.155 +extern int ov_open_callbacks(void *datasource, OggVorbis_File *vf,
  29.156 +                char *initial, long ibytes, ov_callbacks callbacks);
  29.157 +
  29.158 +extern int ov_test(FILE *f,OggVorbis_File *vf,char *initial,long ibytes);
  29.159 +extern int ov_test_callbacks(void *datasource, OggVorbis_File *vf,
  29.160 +                char *initial, long ibytes, ov_callbacks callbacks);
  29.161 +extern int ov_test_open(OggVorbis_File *vf);
  29.162 +
  29.163 +extern long ov_bitrate(OggVorbis_File *vf,int i);
  29.164 +extern long ov_bitrate_instant(OggVorbis_File *vf);
  29.165 +extern long ov_streams(OggVorbis_File *vf);
  29.166 +extern long ov_seekable(OggVorbis_File *vf);
  29.167 +extern long ov_serialnumber(OggVorbis_File *vf,int i);
  29.168 +
  29.169 +extern ogg_int64_t ov_raw_total(OggVorbis_File *vf,int i);
  29.170 +extern ogg_int64_t ov_pcm_total(OggVorbis_File *vf,int i);
  29.171 +extern double ov_time_total(OggVorbis_File *vf,int i);
  29.172 +
  29.173 +extern int ov_raw_seek(OggVorbis_File *vf,ogg_int64_t pos);
  29.174 +extern int ov_pcm_seek(OggVorbis_File *vf,ogg_int64_t pos);
  29.175 +extern int ov_pcm_seek_page(OggVorbis_File *vf,ogg_int64_t pos);
  29.176 +extern int ov_time_seek(OggVorbis_File *vf,double pos);
  29.177 +extern int ov_time_seek_page(OggVorbis_File *vf,double pos);
  29.178 +
  29.179 +extern int ov_raw_seek_lap(OggVorbis_File *vf,ogg_int64_t pos);
  29.180 +extern int ov_pcm_seek_lap(OggVorbis_File *vf,ogg_int64_t pos);
  29.181 +extern int ov_pcm_seek_page_lap(OggVorbis_File *vf,ogg_int64_t pos);
  29.182 +extern int ov_time_seek_lap(OggVorbis_File *vf,double pos);
  29.183 +extern int ov_time_seek_page_lap(OggVorbis_File *vf,double pos);
  29.184 +
  29.185 +extern ogg_int64_t ov_raw_tell(OggVorbis_File *vf);
  29.186 +extern ogg_int64_t ov_pcm_tell(OggVorbis_File *vf);
  29.187 +extern double ov_time_tell(OggVorbis_File *vf);
  29.188 +
  29.189 +extern vorbis_info *ov_info(OggVorbis_File *vf,int link);
  29.190 +extern vorbis_comment *ov_comment(OggVorbis_File *vf,int link);
  29.191 +
  29.192 +extern long ov_read_float(OggVorbis_File *vf,float ***pcm_channels,int samples,
  29.193 +                          int *bitstream);
  29.194 +extern long ov_read_filter(OggVorbis_File *vf,char *buffer,int length,
  29.195 +                          int bigendianp,int word,int sgned,int *bitstream,
  29.196 +                          void (*filter)(float **pcm,long channels,long samples,void *filter_param),void *filter_param);
  29.197 +extern long ov_read(OggVorbis_File *vf,char *buffer,int length,
  29.198 +                    int bigendianp,int word,int sgned,int *bitstream);
  29.199 +extern int ov_crosslap(OggVorbis_File *vf1,OggVorbis_File *vf2);
  29.200 +
  29.201 +extern int ov_halfrate(OggVorbis_File *vf,int flag);
  29.202 +extern int ov_halfrate_p(OggVorbis_File *vf);
  29.203 +
  29.204 +#ifdef __cplusplus
  29.205 +}
  29.206 +#endif /* __cplusplus */
  29.207 +
  29.208 +#endif
  29.209 +
    30.1 Binary file VisualC/vorbis/lib/libogg-0.dll has changed
    31.1 Binary file VisualC/vorbis/lib/libvorbis-0.dll has changed
    32.1 Binary file VisualC/vorbis/lib/libvorbisfile-3.dll has changed
    33.1 --- a/configure.in	Tue Jan 18 11:07:36 2011 -0800
    33.2 +++ b/configure.in	Tue Jan 18 11:11:21 2011 -0800
    33.3 @@ -14,9 +14,9 @@
    33.4  #
    33.5  MAJOR_VERSION=1
    33.6  MINOR_VERSION=2
    33.7 -MICRO_VERSION=11
    33.8 -INTERFACE_AGE=1
    33.9 -BINARY_AGE=11
   33.10 +MICRO_VERSION=12
   33.11 +INTERFACE_AGE=2
   33.12 +BINARY_AGE=12
   33.13  VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION
   33.14  
   33.15  AC_SUBST(MAJOR_VERSION)
    34.1 --- a/version.rc	Tue Jan 18 11:07:36 2011 -0800
    34.2 +++ b/version.rc	Tue Jan 18 11:11:21 2011 -0800
    34.3 @@ -9,8 +9,8 @@
    34.4  //
    34.5  
    34.6  VS_VERSION_INFO VERSIONINFO
    34.7 - FILEVERSION 1,2,11,0
    34.8 - PRODUCTVERSION 1,2,11,0
    34.9 + FILEVERSION 1,2,12,0
   34.10 + PRODUCTVERSION 1,2,12,0
   34.11   FILEFLAGSMASK 0x3fL
   34.12   FILEFLAGS 0x0L
   34.13   FILEOS 0x40004L
   34.14 @@ -23,12 +23,12 @@
   34.15          BEGIN
   34.16              VALUE "CompanyName", "\0"
   34.17              VALUE "FileDescription", "SDL_mixer\0"
   34.18 -            VALUE "FileVersion", "1, 2, 11, 0\0"
   34.19 +            VALUE "FileVersion", "1, 2, 12, 0\0"
   34.20              VALUE "InternalName", "SDL_mixer\0"
   34.21              VALUE "LegalCopyright", "Copyright  2009 Sam Lantinga\0"
   34.22              VALUE "OriginalFilename", "SDL_mixer.dll\0"
   34.23              VALUE "ProductName", "Simple DirectMedia Layer\0"
   34.24 -            VALUE "ProductVersion", "1, 2, 11, 0\0"
   34.25 +            VALUE "ProductVersion", "1, 2, 12, 0\0"
   34.26          END
   34.27      END
   34.28      BLOCK "VarFileInfo"