-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/neilharvey/FileSignatures
- Loading branch information
Showing
7 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
namespace FileSignatures.Formats | ||
{ | ||
/// <summary> | ||
/// Specifies the format of an Adaptive Multi-Rate ACELP (Algebraic Code Excited Linear Prediction) Codec file | ||
/// Commonly audio format with GSM cell phones. (See RFC 4867.) | ||
/// </summary> | ||
public class Amr : FileFormat | ||
{ | ||
public Amr() : base(new byte[] { 0x23, 0x21, 0x41, 0x4D, 0x52 }, "audio/amr", "amr") { } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace FileSignatures.Formats | ||
{ | ||
/// <summary> | ||
/// Specifies the format of a MPEG-1 Audio Layer 3 (MP3) audio file | ||
/// </summary> | ||
public class Mpeg3 : FileFormat | ||
{ | ||
public Mpeg3() : base(new byte[] { 0x49, 0x44, 0x33 }, "audio/mpeg", "mp3") { } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace FileSignatures.Formats | ||
{ | ||
/// <summary> | ||
/// Specifies the format of an Ogg Vorbis Codec compressed Multimedia file | ||
/// </summary> | ||
public class Ogg : FileFormat | ||
{ | ||
public Ogg() : base(new byte[] { 0x4F, 0x67, 0x67, 0x53, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, "audio/ogg", "ogg") { } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.