Package com.io7m.jsamplebuffer.api
Interface SampleBufferFactoryType
public interface SampleBufferFactoryType
A provider of sample buffers.
-
Method Summary
Modifier and TypeMethodDescriptioncreateBuffer(int channels, long frames, double sample_rate) Construct a sample buffer.
-
Method Details
-
createBuffer
Construct a sample buffer.- Parameters:
channels- The number of channelsframes- The number of framessample_rate- The sample rate- Returns:
- A new sample buffer
-