Rename VideoWriter IVideoWriter per zeromus

This commit is contained in:
goyuken 2012-05-06 22:18:16 +00:00
parent 02ca0e82e9
commit cdd82cbb06
4 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@ using BizHawk;
namespace BizHawk.MultiClient namespace BizHawk.MultiClient
{ {
class AviWriter : VideoWriter class AviWriter : IVideoWriter
{ {
CodecToken currVideoCodecToken = null; CodecToken currVideoCodecToken = null;
AviWriterSegment currSegment; AviWriterSegment currSegment;

View File

@ -292,7 +292,7 @@
</Compile> </Compile>
<Compile Include="Program.cs" /> <Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="VideoWriter.cs" /> <Compile Include="IVideoWriter.cs" />
<EmbeddedResource Include="config\GifAnimator.resx"> <EmbeddedResource Include="config\GifAnimator.resx">
<DependentUpon>GifAnimator.cs</DependentUpon> <DependentUpon>GifAnimator.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>

View File

@ -4,7 +4,7 @@ using System.Collections.Generic;
namespace BizHawk namespace BizHawk
{ {
public interface VideoWriter : IDisposable public interface IVideoWriter : IDisposable
{ {
/// <summary> /// <summary>
/// sets the codec token to be used for video compression /// sets the codec token to be used for video compression

View File

@ -32,7 +32,7 @@ namespace BizHawk.MultiClient
public bool PressRewind = false; public bool PressRewind = false;
//avi/wav state //avi/wav state
VideoWriter CurrAviWriter = null; IVideoWriter CurrAviWriter = null;
//runloop control //runloop control
bool exit; bool exit;
@ -2666,7 +2666,7 @@ namespace BizHawk.MultiClient
//TODO - cores should be able to specify exact values for these instead of relying on this to calculate them //TODO - cores should be able to specify exact values for these instead of relying on this to calculate them
int fps = (int)(Global.Emulator.CoreOutputComm.VsyncRate * 0x01000000); int fps = (int)(Global.Emulator.CoreOutputComm.VsyncRate * 0x01000000);
VideoWriter aw = new AviWriter(); IVideoWriter aw = new AviWriter();
try try
{ {
aw.SetMovieParameters(fps, 0x01000000); aw.SetMovieParameters(fps, 0x01000000);