Class: shaka.codec.Ac3
Constructor
new Ac3()
- Source:
Members
AC3_SAMPLES_PER_FRAME :number
Type:
- Source:
Methods
parseFrame(datanon-null, offsetnon-null, framenon-null) → {boolean}
Parameters:
- Source:
Returns:
-
Type
-
boolean
probe(datanon-null, offsetnon-null) → {boolean}
Parameters:
| Name |
Type |
Description |
data |
Uint8Array
|
|
offset |
number
|
|
- Source:
Returns:
-
Type
-
boolean
Type Definitions
Ac3Frame
Type:
-
{sampleRate: number, channelCount: number, audioConfig: !Uint8Array, frameLength: number}
Properties:
| Name |
Type |
Description |
sampleRate |
number
|
|
channelCount |
number
|
|
audioConfig |
Uint8Array
|
|
frameLength |
number
|
|
- Source: