Format the project with 'dotnet format' (#2551)
* Sync and Re-Format * Fix Title string. * Fix indentation.
This commit is contained in:
@@ -6,4 +6,4 @@ namespace Discord.Audio
|
||||
Music,
|
||||
Mixed
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Discord.Audio
|
||||
public abstract int AvailableFrames { get; }
|
||||
|
||||
public override bool CanRead => true;
|
||||
public override bool CanWrite => true;
|
||||
public override bool CanWrite => true;
|
||||
|
||||
public abstract Task<RTPFrame> ReadFrameAsync(CancellationToken cancelToken);
|
||||
public abstract bool TryReadFrame(CancellationToken cancelToken, out RTPFrame frame);
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Discord.Audio
|
||||
public override bool CanWrite => false;
|
||||
|
||||
/// <exception cref="InvalidOperationException">This stream does not accept headers.</exception>
|
||||
public virtual void WriteHeader(ushort seq, uint timestamp, bool missed) =>
|
||||
public virtual void WriteHeader(ushort seq, uint timestamp, bool missed) =>
|
||||
throw new InvalidOperationException("This stream does not accept headers.");
|
||||
public override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
@@ -31,7 +31,7 @@ namespace Discord.Audio
|
||||
|
||||
/// <inheritdoc />
|
||||
/// <exception cref="NotSupportedException">Reading stream length is not supported.</exception>
|
||||
public override long Length =>
|
||||
public override long Length =>
|
||||
throw new NotSupportedException();
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
@@ -15,4 +15,4 @@ namespace Discord.Audio
|
||||
Missed = missed;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user