public static int getBufferSizeNeeded(int numSamples, int numChannels, AudioFormat.Type format) {
    return VideoJNI.AudioFormat_getBufferSizeNeeded(numSamples, numChannels, format.swigValue());
  }
public static int getBufferSizeNeeded ( int numSamples , int numChannels , AudioFormat . Type format ) { return VideoJNI . AudioFormat_getBufferSizeNeeded ( numSamples , numChannels , format . swigValue ( ) ) ; }
Get the size of a buffer in bytes that would be required to hold the<br>
number of samples of audio in the given format and with the given number of channels.