OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
OpenALAudioDataSource Class Reference

#include <OpenALAudioDataSource.h>

Inheritance diagram for OpenALAudioDataSource:
IAudioDataSource

Public Member Functions

 OpenALAudioDataSource (PAudioDataSource baseDataSource)
 
virtual ~OpenALAudioDataSource () override
 
virtual bool Open () override
 
virtual void Close () override
 
virtual size_t GetSampleRate () override
 
virtual size_t GetChannelCount () override
 
virtual Blob GetNextBuffer () override
 
virtual float GetDuration () override
 
bool linkSource (ALuint al_source)
 
- Public Member Functions inherited from IAudioDataSource
 IAudioDataSource ()
 
virtual ~IAudioDataSource ()
 
virtual bool Open ()=0
 
virtual void Close ()=0
 
virtual size_t GetSampleRate ()=0
 
virtual size_t GetChannelCount ()=0
 
virtual Blob GetNextBuffer ()=0
 
virtual float GetDuration ()=0
 

Protected Attributes

PAudioDataSource _baseDataSource
 
std::vector< ALuint > _buffers
 

Constructor & Destructor Documentation

◆ OpenALAudioDataSource()

OpenALAudioDataSource::OpenALAudioDataSource ( PAudioDataSource  baseDataSource)
inlineexplicit

◆ ~OpenALAudioDataSource()

OpenALAudioDataSource::~OpenALAudioDataSource ( )
overridevirtual

Member Function Documentation

◆ Close()

void OpenALAudioDataSource::Close ( )
overridevirtual

Implements IAudioDataSource.

◆ GetChannelCount()

virtual size_t OpenALAudioDataSource::GetChannelCount ( )
inlineoverridevirtual

Implements IAudioDataSource.

◆ GetDuration()

virtual float OpenALAudioDataSource::GetDuration ( )
inlineoverridevirtual

Implements IAudioDataSource.

◆ GetNextBuffer()

virtual Blob OpenALAudioDataSource::GetNextBuffer ( )
inlineoverridevirtual

Implements IAudioDataSource.

◆ GetSampleRate()

virtual size_t OpenALAudioDataSource::GetSampleRate ( )
inlineoverridevirtual

Implements IAudioDataSource.

◆ linkSource()

bool OpenALAudioDataSource::linkSource ( ALuint  al_source)

◆ Open()

bool OpenALAudioDataSource::Open ( )
overridevirtual

Implements IAudioDataSource.

Member Data Documentation

◆ _baseDataSource

PAudioDataSource OpenALAudioDataSource::_baseDataSource
protected

◆ _buffers

std::vector<ALuint> OpenALAudioDataSource::_buffers
protected

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