Photon Voice: IDataReader< T > Interface Template Reference

Photon Voice

IDataReader< T > Interface Template Reference

Interface for pulling data, in case this is more appropriate than pushing it. More...

Inherits IDisposable.

Inherited by IAudioReader< T >.

Public Member Functions

bool Read (T[] buffer)
 Fill full given frame buffer with source uncompressed data or return false if not enough such data. More...
 

Detailed Description

Interface for pulling data, in case this is more appropriate than pushing it.

Member Function Documentation

bool Read ( T[]  buffer)

Fill full given frame buffer with source uncompressed data or return false if not enough such data.

Parameters
bufferBuffer to fill.
Returns
True if buffer was filled successfully, false otherwise.

Implemented in AudioUtil.ToneAudioReader< T >.

Online Documentation  -  Dashboard  -  Support Forum Exit Games GmbH