Resolve code indentation issues

This commit is contained in:
jduncanator 2019-02-11 16:44:25 +11:00
commit 90b546c9e9

View file

@ -77,7 +77,7 @@ namespace SoundIOSharp
} }
static readonly int software_latency_offset = (int)Marshal.OffsetOf<SoundIoOutStream> ("software_latency"); static readonly int software_latency_offset = (int)Marshal.OffsetOf<SoundIoOutStream> ("software_latency");
public float Volume { public float Volume {
get { return MarshalEx.ReadFloat (handle, volume_offset); } get { return MarshalEx.ReadFloat (handle, volume_offset); }
set { MarshalEx.WriteFloat (handle, volume_offset, value); } set { MarshalEx.WriteFloat (handle, volume_offset, value); }
} }
@ -244,7 +244,7 @@ namespace SoundIOSharp
} }
} }
public void SetVolume (double volume) public void SetVolume (double volume)
{ {
var ret = (SoundIoError) Natives.soundio_outstream_set_volume (handle, volume); var ret = (SoundIoError) Natives.soundio_outstream_set_volume (handle, volume);
if (ret != SoundIoError.SoundIoErrorNone) if (ret != SoundIoError.SoundIoErrorNone)