Home
last modified time | relevance | path

Searched refs:sampleCount (Results 1 – 9 of 9) sorted by relevance

/system/chre/core/tests/
Daudio_request_manager_test.cc43 uint32_t sampleCount = in TEST() local
46 EXPECT_EQ(sampleCount, 1); in TEST()
50 uint32_t sampleCount = in TEST() local
53 EXPECT_EQ(sampleCount, 100); in TEST()
57 uint32_t sampleCount = in TEST() local
60 EXPECT_EQ(sampleCount, 1000); in TEST()
/system/chre/platform/linux/
Dplatform_audio.cc53 dataEvent.sampleCount = audioSource->numSamples; in audioSourceCallback()
68 static_cast<sf_count_t>(dataEvent.sampleCount)); in audioSourceCallback()
69 if (readCount != dataEvent.sampleCount) { in audioSourceCallback()
137 auto sampleCount = AudioRequestManager::getSampleCountFromRateAndDuration( in addAudioSource() local
146 malloc(sizeof(uint8_t) * sampleCount)); in addAudioSource()
150 malloc(sizeof(uint16_t) * sampleCount)); in addAudioSource()
/system/chre/core/include/chre/core/
Daudio_request_manager.h117 uint32_t sampleCount, uint32_t sampleRate) { in getDurationFromSampleCountAndRate() argument
122 return Nanoseconds((sampleCount * kOneSecondInNanoseconds) / sampleRate); in getDurationFromSampleCountAndRate()
/system/chre/chre_api/include/chre_api/chre/
Daudio.h252 uint32_t sampleCount; member
/system/chre/chre_api/legacy/v1_2/chre/
Daudio.h252 uint32_t sampleCount; member
/system/chre/apps/audio_world/
Daudio_world.cc112 fftStr, adjustedTimestamp.getMilliseconds(), event->sampleCount); in handleAudioDataEvent()
/system/chre/platform/android/
Dplatform_audio.cc145 mDataEvent.sampleCount = numSamples; in requestAudioDataEvent()
/system/bt/embdrv/sbc/decoder/include/
Doi_codec_sbc_private.h221 uint32_t sampleCount);
/system/extras/simpleperf/scripts/
Dreport_html.js797 `(Samples: ${thread.sampleCount})`;