Photon Voice  v2.8
English | 日本語 | 한국
Public Member Functions | List of all members
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 >.