Struct ppapi::ffi::Struct_PPB_AudioBuffer_0_1Experimental [-]  [+] [src]

pub struct Struct_PPB_AudioBuffer_0_1 {
    pub IsAudioBuffer: Option< extern "C" fn(resource: PP_Resource) -> PP_Bool>,
    pub GetTimestamp: Option< extern "C" fn(buffer: PP_Resource) -> PP_TimeDelta>,
    pub SetTimestamp: Option< extern "C" fn(buffer: PP_Resource, timestamp: PP_TimeDelta)>,
    pub GetSampleRate: Option< extern "C" fn(buffer: PP_Resource) -> PP_AudioBuffer_SampleRate>,
    pub GetSampleSize: Option< extern "C" fn(buffer: PP_Resource) -> PP_AudioBuffer_SampleSize>,
    pub GetNumberOfChannels: Option< extern "C" fn(buffer: PP_Resource) -> uint32_t>,
    pub GetNumberOfSamples: Option< extern "C" fn(buffer: PP_Resource) -> uint32_t>,
    pub GetDataBuffer: Option< extern "C" fn(buffer: PP_Resource) -> *mut c_void>,
    pub GetDataBufferSize: Option< extern "C" fn(buffer: PP_Resource) -> uint32_t>,
}

Fields

IsAudioBuffer
GetTimestamp
SetTimestamp
GetSampleRate
GetSampleSize
GetNumberOfChannels
GetNumberOfSamples
GetDataBuffer
GetDataBufferSize

Trait Implementations

impl Default for Struct_PPB_AudioBuffer_0_1

fn default() -> Struct_PPB_AudioBuffer_0_1

Derived Implementations

impl Copy for Struct_PPB_AudioBuffer_0_1