MCPcopy Create free account
hub / github.com/zhuker/lamejs / getPCMBufferSize

Method getPCMBufferSize

src/main/java/lowlevel/LameEncoder.java:349–351  ·  view source on GitHub ↗

Returns the buffer needed pcm buffer size. The passed parameter is a wished buffer size. The implementation of the encoder may return a lower or higher buffer size. The encoder must be initalized (i.e. not closed) at this point. A return value of <0 denotes an error.

()

Source from the content-addressed store, hash-verified

347 * at this point. A return value of <0 denotes an error.
348 */
349 public int getPCMBufferSize() {
350 return DEFAULT_PCM_BUFFER_SIZE;
351 }
352
353 public int getMP3BufferSize() {
354 // bad estimate :)

Callers 2

getMP3BufferSizeMethod · 0.95
getInputBufferSizeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected