| Index: ppapi/proxy/ppapi_messages.h
|
| diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h
|
| index 8a2aeeaca1cb6c3c1602882e50625ed23e617ae6..ae36977965009fe03f2347730266f105c98b87a1 100644
|
| --- a/ppapi/proxy/ppapi_messages.h
|
| +++ b/ppapi/proxy/ppapi_messages.h
|
| @@ -132,6 +132,7 @@ IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev)
|
| IPC_ENUM_TRAITS(PP_VideoDecoder_Profile)
|
| IPC_ENUM_TRAITS_MAX_VALUE(PP_VideoFrame_Format, PP_VIDEOFRAME_FORMAT_LAST)
|
| IPC_ENUM_TRAITS_MAX_VALUE(PP_HardwareAcceleration, PP_HARDWAREACCELERATION_LAST)
|
| +IPC_ENUM_TRAITS_MAX_VALUE(PP_AudioProfile, PP_AUDIOPROFILE_MAX)
|
| IPC_ENUM_TRAITS_MAX_VALUE(PP_VideoProfile, PP_VIDEOPROFILE_MAX)
|
|
|
| IPC_STRUCT_TRAITS_BEGIN(PP_Point)
|
| @@ -445,6 +446,14 @@ IPC_STRUCT_TRAITS_BEGIN(ppapi::PpapiNaClPluginArgs)
|
| IPC_STRUCT_TRAITS_MEMBER(switch_values)
|
| IPC_STRUCT_TRAITS_END()
|
|
|
| +IPC_STRUCT_TRAITS_BEGIN(PP_AudioProfileDescription)
|
| +IPC_STRUCT_TRAITS_MEMBER(profile)
|
| +IPC_STRUCT_TRAITS_MEMBER(max_channels)
|
| +IPC_STRUCT_TRAITS_MEMBER(sample_size)
|
| +IPC_STRUCT_TRAITS_MEMBER(sample_rate)
|
| +IPC_STRUCT_TRAITS_MEMBER(hardware_accelerated)
|
| +IPC_STRUCT_TRAITS_END()
|
| +
|
| IPC_STRUCT_TRAITS_BEGIN(PP_VideoProfileDescription)
|
| IPC_STRUCT_TRAITS_MEMBER(profile)
|
| IPC_STRUCT_TRAITS_MEMBER(max_resolution)
|
| @@ -453,6 +462,15 @@ IPC_STRUCT_TRAITS_MEMBER(max_framerate_denominator)
|
| IPC_STRUCT_TRAITS_MEMBER(hardware_accelerated)
|
| IPC_STRUCT_TRAITS_END()
|
|
|
| +IPC_STRUCT_TRAITS_BEGIN(ppapi::proxy::PPB_AudioEncodeParameters)
|
| +IPC_STRUCT_TRAITS_MEMBER(channels)
|
| +IPC_STRUCT_TRAITS_MEMBER(input_sample_rate)
|
| +IPC_STRUCT_TRAITS_MEMBER(input_sample_size)
|
| +IPC_STRUCT_TRAITS_MEMBER(output_profile)
|
| +IPC_STRUCT_TRAITS_MEMBER(initial_bitrate)
|
| +IPC_STRUCT_TRAITS_MEMBER(acceleration)
|
| +IPC_STRUCT_TRAITS_END()
|
| +
|
| #if !defined(OS_NACL) && !defined(NACL_WIN64)
|
|
|
| IPC_STRUCT_TRAITS_BEGIN(ppapi::proxy::PPPDecryptor_Buffer)
|
| @@ -893,6 +911,35 @@ IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop,
|
| ppapi::HostResource /* audio_id */,
|
| bool /* play */)
|
|
|
| +// PPB_AudioEncoder
|
| +IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioEncoder_Create)
|
| +IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioEncoder_GetSupportedProfiles)
|
| +IPC_MESSAGE_CONTROL1(PpapiPluginMsg_AudioEncoder_GetSupportedProfilesReply,
|
| + std::vector<PP_AudioProfileDescription> /* results */)
|
| +IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioEncoder_Initialize,
|
| + ppapi::proxy::PPB_AudioEncodeParameters /* parameters */)
|
| +IPC_MESSAGE_CONTROL3(PpapiPluginMsg_AudioEncoder_InitializeReply,
|
| + uint32_t /* number_of_samples */,
|
| + uint32_t /* buffer_count */,
|
| + uint32_t /* buffer_size */)
|
| +IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioEncoder_GetAudioFrames)
|
| +IPC_MESSAGE_CONTROL2(PpapiPluginMsg_AudioEncoder_GetAudioFramesReply,
|
| + uint32_t /* frame_count */,
|
| + uint32_t /* frame_length */)
|
| +IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioEncoder_Encode, uint32_t /* buffer_id */)
|
| +IPC_MESSAGE_CONTROL1(PpapiPluginMsg_AudioEncoder_EncodeReply,
|
| + uint32_t /* buffer_id */)
|
| +IPC_MESSAGE_CONTROL2(PpapiPluginMsg_AudioEncoder_BitstreamBufferReady,
|
| + uint32_t /* buffer_id */,
|
| + uint32_t /* buffer_size */)
|
| +IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioEncoder_RecycleBitstreamBuffer,
|
| + uint32_t /* buffer_id */)
|
| +IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioEncoder_RequestBitrateChange,
|
| + uint32_t /* bitrate */)
|
| +IPC_MESSAGE_CONTROL1(PpapiPluginMsg_AudioEncoder_NotifyError,
|
| + int32_t /* error */)
|
| +IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioEncoder_Close)
|
| +
|
| // PPB_Core.
|
| IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource,
|
| ppapi::HostResource)
|
|
|