Package com.io7m.jsamplebuffer.api
Interface SampleBufferProviderType
-
public interface SampleBufferProviderTypeA provider of sample buffers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SampleBufferTypecreateBuffer(int channels, long frames, double sample_rate)Construct a sample buffer.
-
-
-
Method Detail
-
createBuffer
SampleBufferType createBuffer(int channels, long frames, double sample_rate)
Construct a sample buffer.- Parameters:
channels- The number of channelsframes- The number of framessample_rate- The sample rate- Returns:
- A new sample buffer
-
-