|
Pepper_47_C_interfaces
|
#include <ppb_audio_buffer.h>

Public Attributes | |
| PP_Bool(* | IsAudioBuffer )(PP_Resource resource) |
| PP_TimeDelta(* | GetTimestamp )(PP_Resource buffer) |
| void(* | SetTimestamp )(PP_Resource buffer, PP_TimeDelta timestamp) |
| PP_AudioBuffer_SampleRate(* | GetSampleRate )(PP_Resource buffer) |
| PP_AudioBuffer_SampleSize(* | GetSampleSize )(PP_Resource buffer) |
| uint32_t(* | GetNumberOfChannels )(PP_Resource buffer) |
| uint32_t(* | GetNumberOfSamples )(PP_Resource buffer) |
| void *(* | GetDataBuffer )(PP_Resource buffer) |
| uint32_t(* | GetDataBufferSize )(PP_Resource buffer) |
Definition at line 62 of file ppb_audio_buffer.h.
| void*(* PPB_AudioBuffer_0_1::GetDataBuffer)(PP_Resource buffer) |
Gets the data buffer containing the audio samples.
| [in] | buffer | A PP_Resource corresponding to an audio buffer resource. |
Definition at line 138 of file ppb_audio_buffer.h.
| uint32_t(* PPB_AudioBuffer_0_1::GetDataBufferSize)(PP_Resource buffer) |
Gets the size of the data buffer in bytes.
| [in] | buffer | A PP_Resource corresponding to an audio buffer resource. |
Definition at line 147 of file ppb_audio_buffer.h.
| uint32_t(* PPB_AudioBuffer_0_1::GetNumberOfChannels)(PP_Resource buffer) |
Gets the number of channels in the audio buffer.
| [in] | buffer | A PP_Resource corresponding to an audio buffer resource. |
Definition at line 118 of file ppb_audio_buffer.h.
| uint32_t(* PPB_AudioBuffer_0_1::GetNumberOfSamples)(PP_Resource buffer) |
Gets the number of samples in the audio buffer.
| [in] | buffer | A PP_Resource corresponding to an audio buffer resource. |
Definition at line 129 of file ppb_audio_buffer.h.
| PP_AudioBuffer_SampleRate(* PPB_AudioBuffer_0_1::GetSampleRate)(PP_Resource buffer) |
Gets the sample rate of the audio buffer.
| [in] | buffer | A PP_Resource corresponding to an audio buffer resource. |
Definition at line 100 of file ppb_audio_buffer.h.
| PP_AudioBuffer_SampleSize(* PPB_AudioBuffer_0_1::GetSampleSize)(PP_Resource buffer) |
Gets the sample size of the audio buffer.
| [in] | buffer | A PP_Resource corresponding to an audio buffer resource. |
Definition at line 109 of file ppb_audio_buffer.h.
| PP_TimeDelta(* PPB_AudioBuffer_0_1::GetTimestamp)(PP_Resource buffer) |
Gets the timestamp of the audio buffer.
| [in] | buffer | A PP_Resource corresponding to an audio buffer resource. |
PP_TimeDelta containing the timestamp of the audio buffer. Given in seconds since the start of the containing audio stream. Definition at line 81 of file ppb_audio_buffer.h.
| PP_Bool(* PPB_AudioBuffer_0_1::IsAudioBuffer)(PP_Resource resource) |
Determines if a resource is an AudioBuffer resource.
| [in] | resource | The PP_Resource to test. |
PP_Bool with PP_TRUE if the given resource is an AudioBuffer resource or PP_FALSE otherwise. Definition at line 71 of file ppb_audio_buffer.h.
| void(* PPB_AudioBuffer_0_1::SetTimestamp)(PP_Resource buffer, PP_TimeDelta timestamp) |
Sets the timestamp of the audio buffer.
| [in] | buffer | A PP_Resource corresponding to an audio buffer resource. |
| [in] | timestamp | A PP_TimeDelta containing the timestamp of the audio buffer. Given in seconds since the start of the containing audio stream. |
Definition at line 91 of file ppb_audio_buffer.h.
1.8.6