aboutsummaryrefslogtreecommitdiff
path: root/DvdLib/Ifo/AudioAttributes.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-10-26 15:29:56 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-10-26 15:29:56 -0400
commit3d7f75eea3465a34b443cf90d0affe5a637faf5d (patch)
tree47be26c509373d62c560f65b2721c3185ba0e78d /DvdLib/Ifo/AudioAttributes.cs
parent0189f4c49dc89654e6aa10c5dd0fc50a0984bfec (diff)
more steps to make provider project portable
Diffstat (limited to 'DvdLib/Ifo/AudioAttributes.cs')
-rw-r--r--DvdLib/Ifo/AudioAttributes.cs41
1 files changed, 41 insertions, 0 deletions
diff --git a/DvdLib/Ifo/AudioAttributes.cs b/DvdLib/Ifo/AudioAttributes.cs
new file mode 100644
index 000000000..5b3b9fd9a
--- /dev/null
+++ b/DvdLib/Ifo/AudioAttributes.cs
@@ -0,0 +1,41 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace DvdLib.Ifo
+{
+ public enum AudioCodec
+ {
+ AC3 = 0,
+ MPEG1 = 2,
+ MPEG2ext = 3,
+ LPCM = 4,
+ DTS = 6,
+ }
+
+ public enum ApplicationMode
+ {
+ Unspecified = 0,
+ Karaoke = 1,
+ Surround = 2,
+ }
+
+ public class AudioAttributes
+ {
+ public readonly AudioCodec Codec;
+ public readonly bool MultichannelExtensionPresent;
+ public readonly ApplicationMode Mode;
+ public readonly byte QuantDRC;
+ public readonly byte SampleRate;
+ public readonly byte Channels;
+ public readonly ushort LanguageCode;
+ public readonly byte LanguageExtension;
+ public readonly byte CodeExtension;
+ }
+
+ public class MultiChannelExtension
+ {
+
+ }
+}