STRUCTS
AudioFormat
Defined in fuchsia.mediastreams/audio_format.fidl
Describes a format used for audio elementary streams without
reference to compression. Where compression is supported, this
type should be combined with a Compression
struct.
Field | Type | Description | Default |
---|---|---|---|
sample_format |
AudioSampleFormat
|
The type of individual samples. |
No default |
channel_count |
uint32
|
The number of samples per frame. |
No default |
frames_per_second |
uint32
|
The number of frames per second. |
No default |
channel_layout |
AudioChannelLayout
|
The spatial assignment of each channel. |
No default |
Encryption
Defined in fuchsia.mediastreams/encryption.fidl
Field | Type | Description | Default |
---|---|---|---|
scheme |
EncryptionScheme
|
No default | |
default_key_id |
EncryptionKeyId
|
No default | |
default_init_vector |
EncryptionInitVector
|
No default | |
default_pattern |
EncryptionPattern?
|
No default |
EncryptionPattern
Defined in fuchsia.mediastreams/encryption.fidl
Field | Type | Description | Default |
---|---|---|---|
clear_blocks |
uint32
|
No default | |
encrypted_blocks |
uint32
|
No default |
EncryptionSubsampleEntry
Defined in fuchsia.mediastreams/encryption.fidl
Field | Type | Description | Default |
---|---|---|---|
clear_bytes |
uint32
|
No default | |
encrypted_bytes |
uint32
|
No default |
ENUMS
AudioSampleFormat strict
Type: uint32
Defined in fuchsia.mediastreams/audio_format.fidl
Expresses the format of individual audio samples.
Name | Value | Description |
---|---|---|
UNSIGNED_8 |
1 |
|
SIGNED_16 |
2 |
|
SIGNED_24_IN_32 |
3 |
|
SIGNED_32 |
4 |
|
FLOAT |
5 |
UNIONS
AudioChannelLayout strict
Defined in fuchsia.mediastreams/audio_format.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
placeholder |
uint8
|
CONSTANTS
Name | Value | Type | Description |
---|---|---|---|
ENCRYPTION_SCHEME_CBC1 | cbc1 |
String |
|
ENCRYPTION_SCHEME_CBCS | cbcs |
String |
|
ENCRYPTION_SCHEME_CENC | cenc |
String |
|
ENCRYPTION_SCHEME_CENS | cens |
String |
|
MAX_ENCRYPTION_SCHEME_SIZE |
4
|
int64 |
The maximum size of an |
MAX_INIT_VECTOR_SIZE |
16
|
int64 |
The maximum size of a |
MAX_KEY_ID_SIZE |
16
|
int64 |
The maximum size of a |
ALIASES
Name | Value | Description |
---|---|---|
EncryptionInitVector |
vector [MAX_INIT_VECTOR_SIZE ] |
|
EncryptionKeyId |
vector [MAX_KEY_ID_SIZE ] |
|
EncryptionScheme |
string [MAX_ENCRYPTION_SCHEME_SIZE ] |
Identifies an encryption scheme. |