From 716d9193ad87638dcb50166f62f9fef609019414 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 31 Aug 2022 14:59:33 -0600 Subject: [PATCH] Add hearing impaired audio type --- psi/pmtdescriptor.go | 11 ++++++----- v2/psi/pmtdescriptor.go | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/psi/pmtdescriptor.go b/psi/pmtdescriptor.go index f158d61..a573faa 100644 --- a/psi/pmtdescriptor.go +++ b/psi/pmtdescriptor.go @@ -53,11 +53,12 @@ const ( // ISO_639 Audio service type const ( - AUDIO_UNDEFINED int = 0 // 0000 0000 (0x00) - AUDIO_CLEAN_EFFECTS int = 1 // 0000 0001 (0x01) - AUDIO_DESCRIPTION int = 3 // 0000 0011 (0x03) - AUDIO_PRIMARY int = 128 // 1000 0000 (0x80) - AUDIO_NATIVE int = 129 // 1000 0001 (0x81) + AUDIO_UNDEFINED int = 0 // 0000 0000 (0x00) + AUDIO_CLEAN_EFFECTS int = 1 // 0000 0001 (0x01) + AUDIO_HEARING_IMPAIRED int = 2 // 0000 0010 (0x02) + AUDIO_DESCRIPTION int = 3 // 0000 0011 (0x03) + AUDIO_PRIMARY int = 128 // 1000 0000 (0x80) + AUDIO_NATIVE int = 129 // 1000 0001 (0x81) ) // Descriptor tag extension diff --git a/v2/psi/pmtdescriptor.go b/v2/psi/pmtdescriptor.go index f158d61..a573faa 100644 --- a/v2/psi/pmtdescriptor.go +++ b/v2/psi/pmtdescriptor.go @@ -53,11 +53,12 @@ const ( // ISO_639 Audio service type const ( - AUDIO_UNDEFINED int = 0 // 0000 0000 (0x00) - AUDIO_CLEAN_EFFECTS int = 1 // 0000 0001 (0x01) - AUDIO_DESCRIPTION int = 3 // 0000 0011 (0x03) - AUDIO_PRIMARY int = 128 // 1000 0000 (0x80) - AUDIO_NATIVE int = 129 // 1000 0001 (0x81) + AUDIO_UNDEFINED int = 0 // 0000 0000 (0x00) + AUDIO_CLEAN_EFFECTS int = 1 // 0000 0001 (0x01) + AUDIO_HEARING_IMPAIRED int = 2 // 0000 0010 (0x02) + AUDIO_DESCRIPTION int = 3 // 0000 0011 (0x03) + AUDIO_PRIMARY int = 128 // 1000 0000 (0x80) + AUDIO_NATIVE int = 129 // 1000 0001 (0x81) ) // Descriptor tag extension