delete mixed tabs & spaces & use void for methods

This commit is contained in:
greggameplayer 2018-06-15 17:54:18 +02:00 committed by GitHub
parent e40db09bed
commit 5a3449f5d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,7 +57,7 @@ namespace Ryujinx.HLE.OsHle.Services.Aud
return 0;
}
public long ListAudioOutsMethod(ServiceCtx Context, long Position, long Size)
public void ListAudioOutsMethod(ServiceCtx Context, long Position, long Size)
{
int NameCount = 0;
@ -75,11 +75,9 @@ namespace Ryujinx.HLE.OsHle.Services.Aud
}
Context.ResponseData.Write(NameCount);
return 0;
}
public long OpenAudioOutMethod(ServiceCtx Context, long SendPosition, long SendSize, long ReceivePosition, long ReceiveSize)
public void OpenAudioOutMethod(ServiceCtx Context, long SendPosition, long SendSize, long ReceivePosition, long ReceiveSize)
{
IAalOutput AudioOut = Context.Ns.AudioOut;
@ -105,7 +103,6 @@ namespace Ryujinx.HLE.OsHle.Services.Aud
Context.Ns.Log.PrintError(LogClass.ServiceAudio, $"Output buffer size {ReceiveSize} too small!");
}
int SampleRate = Context.RequestData.ReadInt32();
int Channels = Context.RequestData.ReadInt32();
@ -136,8 +133,6 @@ namespace Ryujinx.HLE.OsHle.Services.Aud
Context.ResponseData.Write(Channels);
Context.ResponseData.Write((int)Format);
Context.ResponseData.Write((int)PlaybackState.Stopped);
return 0;
}
}
}