Skip to content

Commit

Permalink
added two cases for the Aiff file (".aif" or ".aiff")
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarti856 committed Mar 17, 2022
1 parent 07b0a22 commit 699bd94
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions PS2VagTool/ProgramFunctions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;

namespace PS2VagTool
{
Expand All @@ -16,7 +15,7 @@ internal static class ProgramFunctions
internal static void ExecuteEncoder(string inputFile, string outputFile, bool forceNoLooping, bool forceLooping)
{
string fileExtension = Path.GetExtension(inputFile);
if (fileExtension.Equals(".aif", StringComparison.OrdinalIgnoreCase))
if (fileExtension.Equals(".aif", StringComparison.OrdinalIgnoreCase) || fileExtension.Equals(".aiff", StringComparison.OrdinalIgnoreCase))
{
//Read file data
short[] pcmData;
Expand Down

0 comments on commit 699bd94

Please sign in to comment.