Pepper_47_C_interfaces
Public Attributes | List of all members
PP_AudioDecoderConfig Struct Reference

#include <pp_content_decryptor.h>

Collaboration diagram for PP_AudioDecoderConfig:
Collaboration graph

Public Attributes

PP_AudioCodec codec
 
int32_t channel_count
 
int32_t bits_per_channel
 
int32_t samples_per_second
 
uint32_t request_id
 

Detailed Description

PP_AudioDecoderConfig contains audio decoder configuration information required to initialize audio decoders, and a request ID that allows clients to associate a decoder initialization request with a status response. Note: When codec requires extra data for initialization, the data is sent as a PP_Resource carried alongside PP_AudioDecoderConfig.

Definition at line 330 of file pp_content_decryptor.h.

Member Data Documentation

int32_t PP_AudioDecoderConfig::bits_per_channel

Size of each audio channel.

Definition at line 342 of file pp_content_decryptor.h.

int32_t PP_AudioDecoderConfig::channel_count

Number of audio channels.

Definition at line 338 of file pp_content_decryptor.h.

PP_AudioCodec PP_AudioDecoderConfig::codec

The audio codec to initialize.

Definition at line 334 of file pp_content_decryptor.h.

uint32_t PP_AudioDecoderConfig::request_id

Client-specified identifier for the associated audio decoder initialization request. By using this value, the client can associate a decoder initialization status response with an initialization request.

Definition at line 352 of file pp_content_decryptor.h.

int32_t PP_AudioDecoderConfig::samples_per_second

Audio sampling rate.

Definition at line 346 of file pp_content_decryptor.h.


The documentation for this struct was generated from the following file: