DECLARE_MKX_UINTEGER(KaxAudioBitDepth)
};
+DECLARE_MKX_UINTEGER(KaxEmphasis)
+};
+
DECLARE_MKX_MASTER(KaxTrackOperation)
};
MATROSKA_VIDEO_PROJECTIONTYPE_MESH = 3,
} MatroskaVideoProjectionType;
+/**
+ *Audio emphasis applied on audio samples. The player **MUST** apply the inverse emphasis to get the proper audio samples.
+ */
+typedef enum {
+ MATROSKA_EMPHASIS_NO_EMPHASIS = 0,
+ MATROSKA_EMPHASIS_CD_AUDIO = 1, // First order filter with zero point at 50 microseconds and a pole at 15 microseconds. Also found on DVD Audio and MPEG audio.
+ MATROSKA_EMPHASIS_RESERVED = 2,
+ MATROSKA_EMPHASIS_CCIT_J_17 = 3, // Defined in [@!ITU-J.17].
+ MATROSKA_EMPHASIS_FM_50 = 4, // FM Radio in Europe. RC Filter with a time constant of 50 microseconds.
+ MATROSKA_EMPHASIS_FM_75 = 5, // FM Radio in the USA. RC Filter with a time constant of 75 microseconds.
+ MATROSKA_EMPHASIS_PHONO_RIAA = 10, // Phono filter with time constants of t1=3180, t2=318 and t3=75 microseconds. [@!NAB1964]
+ MATROSKA_EMPHASIS_PHONO_IEC_N78 = 11, // Phono filter with time constants of t1=3180, t2=450 and t3=50 microseconds.
+ MATROSKA_EMPHASIS_PHONO_TELDEC = 12, // Phono filter with time constants of t1=3180, t2=318 and t3=50 microseconds.
+ MATROSKA_EMPHASIS_PHONO_EMI = 13, // Phono filter with time constants of t1=2500, t2=500 and t3=70 microseconds.
+ MATROSKA_EMPHASIS_PHONO_COLUMBIA_LP = 14, // Phono filter with time constants of t1=1590, t2=318 and t3=100 microseconds.
+ MATROSKA_EMPHASIS_PHONO_LONDON = 15, // Phono filter with time constants of t1=1590, t2=318 and t3=50 microseconds.
+ MATROSKA_EMPHASIS_PHONO_NARTB = 16, // Phono filter with time constants of t1=3180, t2=318 and t3=100 microseconds.
+} MatroskaAudioEmphasis;
+
/**
*The kind of plane this track corresponds to.
*/
DEFINE_SEMANTIC_ITEM(true, true, KaxAudioChannels)
DEFINE_SEMANTIC_ITEM(false, true, KaxAudioPosition) // not supported
DEFINE_SEMANTIC_ITEM(false, true, KaxAudioBitDepth)
+DEFINE_SEMANTIC_ITEM(true, true, KaxEmphasis)
DEFINE_END_SEMANTIC(KaxTrackAudio)
DEFINE_MKX_MASTER(KaxTrackAudio, 0xE1, 1, KaxTrackEntry, "TrackAudio")
DEFINE_MKX_UINTEGER_DEF(KaxAudioChannels, 0x9F, 1, KaxTrackAudio, "AudioChannels", 1)
DEFINE_MKX_BINARY (KaxAudioPosition, 0x7D7B, 2, KaxTrackAudio, "AudioPosition")
DEFINE_MKX_UINTEGER(KaxAudioBitDepth, 0x6264, 2, KaxTrackAudio, "AudioBitDepth")
+DEFINE_MKX_UINTEGER_DEF(KaxEmphasis, 0x92F1, 2, KaxTrackAudio, "Emphasis", 0)
DEFINE_START_SEMANTIC(KaxTrackOperation)
DEFINE_SEMANTIC_ITEM(false, true, KaxTrackCombinePlanes)