We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27413b3 commit 0044cc0Copy full SHA for 0044cc0
src/TagLibSharp2/Ape/MonkeysAudioFile.cs
@@ -408,7 +408,7 @@ private static int FindAudioEnd (ReadOnlySpan<byte> data)
408
return data.Length - (int)totalTagSize;
409
}
410
411
- #region File I/O
+ // ===== File I/O =====
412
413
/// <summary>
414
/// Read a Monkey's Audio file from disk.
@@ -496,8 +496,6 @@ public async Task<FileWriteResult> SaveToFileAsync (
496
return await SaveToFileAsync (_sourcePath!, fileSystem, cancellationToken).ConfigureAwait (false);
497
498
499
- #endregion
500
-
501
502
/// Releases resources held by this instance.
503
/// </summary>
src/TagLibSharp2/Musepack/MusepackFile.cs
@@ -437,7 +437,7 @@ private static int FindAudioEnd (ReadOnlySpan<byte> data)
437
438
439
440
441
442
443
/// Read a Musepack file from disk.
@@ -525,8 +525,6 @@ public async Task<FileWriteResult> SaveToFileAsync (
525
526
527
528
529
530
531
532
src/TagLibSharp2/Ogg/OggFlacFile.cs
@@ -513,7 +513,7 @@ public static OggFlacHeaderInfo Failure (string error)
513
=> new (false, null, 0, 0, error);
514
515
516
517
518
519
/// Read an Ogg FLAC file from disk.
@@ -601,8 +601,6 @@ public async Task<FileWriteResult> SaveToFileAsync (
601
602
603
604
605
606
private readonly struct ExtractPacketResult
607
{
608
public bool IsSuccess { get; }
src/TagLibSharp2/WavPack/WavPackFile.cs
@@ -428,7 +428,7 @@ private static int FindAudioEnd (ReadOnlySpan<byte> data)
428
429
430
431
432
433
434
/// Read a WavPack file from disk.
@@ -516,8 +516,6 @@ public async Task<FileWriteResult> SaveToFileAsync (
520
521
522
523
tests/TagLibSharp2.Tests/Riff/HighResolutionAudioTests.cs
@@ -160,12 +160,12 @@ static BinaryData CreateWaveFormatExtensible (
160
if (subFormat == WavSubFormat.Pcm) {
161
// KSDATAFORMAT_SUBTYPE_PCM: 00000001-0000-0010-8000-00aa00389b71
162
ReadOnlySpan<byte> pcmGuid = [0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
163
- 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71];
+ 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71];
164
builder.Add (pcmGuid);
165
} else if (subFormat == WavSubFormat.IeeeFloat) {
166
// KSDATAFORMAT_SUBTYPE_IEEE_FLOAT: 00000003-0000-0010-8000-00aa00389b71
167
ReadOnlySpan<byte> floatGuid = [0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
168
169
builder.Add (floatGuid);
170
} else {
171
builder.AddZeros (16);
0 commit comments