Skip to content

Commit

Permalink
Merge pull request Comcast#172 from LimitlessEarth/add-hearing-impaired
Browse files Browse the repository at this point in the history
Add hearing impaired audio type
  • Loading branch information
nehashanbhag authored Aug 31, 2022
2 parents 30ceb65 + 716d919 commit 30ed7f7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
11 changes: 6 additions & 5 deletions psi/pmtdescriptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 6 additions & 5 deletions v2/psi/pmtdescriptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 30ed7f7

Please sign in to comment.