SoundBuffer class
ru.yandex.speechkit
public class SoundBuffer
Class for storing audio data.
Constructors
SoundBuffer(byte[] data, SoundInfo soundInfo) | Creates an object of the SoundBuffer class. |
SoundBuffer(byte[] data, SoundInfo soundInfo) | Creates an object of the SoundBuffer class. |
Methods
byte[] | getData() | Get raw audio data. |
SoundInfo | getSoundInfo() | Get sound attributes. |
void | setSoundInfo(SoundInfo soundInfo) | Set sound attributes. |
byte[] | getData() | Get raw audio data. |
SoundInfo | getSoundInfo() | Get sound attributes. |
void | setSoundInfo(SoundInfo soundInfo) | Set sound attributes. |
Constructor descriptions
SoundBuffer
public SoundBuffer (byte[] data, SoundInfo soundInfo)
Creates an object of the SoundBuffer class.
Parameters:
data | Raw audio data stored as byte[]. |
soundInfo | Sound attributes. |
data | Raw audio data stored as byte[]. |
soundInfo | Sound attributes. |