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
{
class AviWriter : VideoWriter
class AviWriter : IVideoWriter
{
CodecToken currVideoCodecToken = null;
AviWriterSegment currSegment;

View File

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

View File

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

View File

@ -32,7 +32,7 @@ namespace BizHawk.MultiClient
public bool PressRewind = false;
//avi/wav state
VideoWriter CurrAviWriter = null;
IVideoWriter CurrAviWriter = null;
//runloop control
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
int fps = (int)(Global.Emulator.CoreOutputComm.VsyncRate * 0x01000000);
VideoWriter aw = new AviWriter();
IVideoWriter aw = new AviWriter();
try
{
aw.SetMovieParameters(fps, 0x01000000);