webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Attributes | List of all members
webrtc::OpenSLESPlayer Class Reference

#include <opensles_player.h>

Public Member Functions

 OpenSLESPlayer (AudioManager *audio_manager)
 
 ~OpenSLESPlayer ()
 
int Init ()
 
int Terminate ()
 
int InitPlayout ()
 
bool PlayoutIsInitialized () const
 
int StartPlayout ()
 
int StopPlayout ()
 
bool Playing () const
 
int SpeakerVolumeIsAvailable (bool &available)
 
int SetSpeakerVolume (uint32_t volume)
 
int SpeakerVolume (uint32_t &volume) const
 
int MaxSpeakerVolume (uint32_t &maxVolume) const
 
int MinSpeakerVolume (uint32_t &minVolume) const
 
void AttachAudioBuffer (AudioDeviceBuffer *audioBuffer)
 
 OpenSLESPlayer (AudioManager *audio_manager)
 
 ~OpenSLESPlayer ()
 
int Init ()
 
int Terminate ()
 
int InitPlayout ()
 
bool PlayoutIsInitialized () const
 
int StartPlayout ()
 
int StopPlayout ()
 
bool Playing () const
 
int SpeakerVolumeIsAvailable (bool &available)
 
int SetSpeakerVolume (uint32_t volume)
 
int SpeakerVolume (uint32_t &volume) const
 
int MaxSpeakerVolume (uint32_t &maxVolume) const
 
int MinSpeakerVolume (uint32_t &minVolume) const
 
void AttachAudioBuffer (AudioDeviceBuffer *audioBuffer)
 

Static Public Attributes

static const int kNumOfOpenSLESBuffers = 2
 

Constructor & Destructor Documentation

◆ OpenSLESPlayer() [1/2]

webrtc::OpenSLESPlayer::OpenSLESPlayer ( AudioManager audio_manager)
explicit

◆ ~OpenSLESPlayer() [1/2]

webrtc::OpenSLESPlayer::~OpenSLESPlayer ( )

◆ OpenSLESPlayer() [2/2]

webrtc::OpenSLESPlayer::OpenSLESPlayer ( AudioManager audio_manager)
explicit

◆ ~OpenSLESPlayer() [2/2]

webrtc::OpenSLESPlayer::~OpenSLESPlayer ( )

Member Function Documentation

◆ AttachAudioBuffer() [1/2]

void webrtc::OpenSLESPlayer::AttachAudioBuffer ( AudioDeviceBuffer audioBuffer)

◆ AttachAudioBuffer() [2/2]

void webrtc::OpenSLESPlayer::AttachAudioBuffer ( AudioDeviceBuffer audioBuffer)

◆ Init() [1/2]

int webrtc::OpenSLESPlayer::Init ( )

◆ Init() [2/2]

int webrtc::OpenSLESPlayer::Init ( )

◆ InitPlayout() [1/2]

int webrtc::OpenSLESPlayer::InitPlayout ( )

◆ InitPlayout() [2/2]

int webrtc::OpenSLESPlayer::InitPlayout ( )

◆ MaxSpeakerVolume() [1/2]

int webrtc::OpenSLESPlayer::MaxSpeakerVolume ( uint32_t maxVolume) const

◆ MaxSpeakerVolume() [2/2]

int webrtc::OpenSLESPlayer::MaxSpeakerVolume ( uint32_t maxVolume) const

◆ MinSpeakerVolume() [1/2]

int webrtc::OpenSLESPlayer::MinSpeakerVolume ( uint32_t minVolume) const

◆ MinSpeakerVolume() [2/2]

int webrtc::OpenSLESPlayer::MinSpeakerVolume ( uint32_t minVolume) const

◆ Playing() [1/2]

bool webrtc::OpenSLESPlayer::Playing ( ) const
inline

◆ Playing() [2/2]

bool webrtc::OpenSLESPlayer::Playing ( ) const
inline

◆ PlayoutIsInitialized() [1/2]

bool webrtc::OpenSLESPlayer::PlayoutIsInitialized ( ) const
inline

◆ PlayoutIsInitialized() [2/2]

bool webrtc::OpenSLESPlayer::PlayoutIsInitialized ( ) const
inline

◆ SetSpeakerVolume() [1/2]

int webrtc::OpenSLESPlayer::SetSpeakerVolume ( uint32_t  volume)

◆ SetSpeakerVolume() [2/2]

int webrtc::OpenSLESPlayer::SetSpeakerVolume ( uint32_t  volume)

◆ SpeakerVolume() [1/2]

int webrtc::OpenSLESPlayer::SpeakerVolume ( uint32_t volume) const

◆ SpeakerVolume() [2/2]

int webrtc::OpenSLESPlayer::SpeakerVolume ( uint32_t volume) const

◆ SpeakerVolumeIsAvailable() [1/2]

int webrtc::OpenSLESPlayer::SpeakerVolumeIsAvailable ( bool &  available)

◆ SpeakerVolumeIsAvailable() [2/2]

int webrtc::OpenSLESPlayer::SpeakerVolumeIsAvailable ( bool &  available)

◆ StartPlayout() [1/2]

int webrtc::OpenSLESPlayer::StartPlayout ( )

◆ StartPlayout() [2/2]

int webrtc::OpenSLESPlayer::StartPlayout ( )

◆ StopPlayout() [1/2]

int webrtc::OpenSLESPlayer::StopPlayout ( )

◆ StopPlayout() [2/2]

int webrtc::OpenSLESPlayer::StopPlayout ( )

◆ Terminate() [1/2]

int webrtc::OpenSLESPlayer::Terminate ( )

◆ Terminate() [2/2]

int webrtc::OpenSLESPlayer::Terminate ( )

Member Data Documentation

◆ kNumOfOpenSLESBuffers

static const int webrtc::OpenSLESPlayer::kNumOfOpenSLESBuffers = 2
static

The documentation for this class was generated from the following files: