Home
last modified time | relevance | path

Searched refs:bytesPerSec (Results 1 – 4 of 4) sorted by relevance

/external/jmonkeyengine/engine/src/core-plugins/com/jme3/audio/plugins/
DWAVLoader.java64 private int bytesPerSec; field in WAVLoader
82 bytesPerSec = in.readInt(); // used to calculate duration in readFormatChunk()
88 if (expectedBytesPerSec != bytesPerSec){ in readFormatChunk()
90 new Object[]{expectedBytesPerSec, bytesPerSec}); in readFormatChunk()
99 if (bytesPerSample * sampleRate != bytesPerSec) in readFormatChunk()
157 duration = len / bytesPerSec; in load()
/external/jmonkeyengine/engine/src/core/com/jme3/audio/
DAudioBuffer.java71 int bytesPerSec = (bitsPerSample / 8) * channels * sampleRate; in getDuration() local
73 return (float) audioData.capacity() / bytesPerSec; in getDuration()
/external/jmonkeyengine/engine/src/jogg/com/jme3/audio/plugins/
DOGGLoader.java195 int bytesPerSec = 2 * streamHdr.getChannels() * streamHdr.getSampleRate(); in computeStreamDuration() local
200 return (float)totalBytes / bytesPerSec; in computeStreamDuration()
/external/svox/pico/lib/
Dpicoos.c1442 picoos_uint32 bytesPerSec; in picoos_readWavHeader() local
1463 done = done && (PICO_OK == picoos_read_le_uint32(f, &bytesPerSec)); in picoos_readWavHeader()
1668 picoos_uint32 bytesPerSec; in picoos_writeWavHeader() local
1698 bytesPerSec = (sf * bytesPerSample); in picoos_writeWavHeader()
1710 done = done && picoos_write_le_uint32(f,bytesPerSec); in picoos_writeWavHeader()