Photon Voice
v2.7
|
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
-
buffer Buffer to fill.
- Returns
- True if buffer was filled successfully, false otherwise.
Implemented in AudioUtil.ToneAudioReader< T >.