Home
last modified time | relevance | path

Searched refs:bytesPerSec (Results 1 – 5 of 5) 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/webrtc/webrtc/modules/audio_device/linux/
Daudio_device_pulse_linux.cc1188 size_t bytesPerSec = LATE(pa_bytes_per_second)(spec); in InitPlayout() local
1189 uint32_t latency = bytesPerSec * in InitPlayout()
1304 size_t bytesPerSec = LATE(pa_bytes_per_second)(spec); in InitRecording() local
1305 uint32_t latency = bytesPerSec in InitRecording()
1312 _recBufferAttr.maxlength = latency + bytesPerSec in InitRecording()
2316 size_t bytesPerSec = LATE(pa_bytes_per_second)(spec); in PaStreamUnderflowCallbackHandler() local
2317 uint32_t newLatency = _configuredLatencyPlay + bytesPerSec * in PaStreamUnderflowCallbackHandler()
/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()