Lines Matching refs:mEASConfig
52 mEASConfig(nullptr) {} in SonivoxTest()
115 mEASConfig = EAS_Config(); in SetUp()
116 ASSERT_NE(mEASConfig, nullptr) << "Failed to configure the library"; in SetUp()
118 ASSERT_GT(mEASConfig->mixBufferSize, 0) << "Mix buffer size must be greater than 0"; in SetUp()
120 ASSERT_GT(mEASConfig->numChannels, 0) << "Number of channels must be greater than 0"; in SetUp()
122 mPCMBufferSize = sizeof(EAS_PCM) * mEASConfig->mixBufferSize * mEASConfig->numChannels * in SetUp()
129 new (std::nothrow) EAS_PCM[mEASConfig->mixBufferSize * mEASConfig->numChannels]; in SetUp()
131 << mEASConfig->mixBufferSize * mEASConfig->numChannels; in SetUp()
167 const S_EAS_LIB_CONFIG *mEASConfig; member in SonivoxTest
210 EAS_RESULT result = EAS_Render(mEASDataHandle, pcm, mEASConfig->mixBufferSize, &count); in renderAudio()
215 if (count != mEASConfig->mixBufferSize) { in renderAudio()
216 ALOGE("%ld of %ld bytes rendered", count, mEASConfig->mixBufferSize); in renderAudio()
224 EAS_I32 totalChannels = mEASConfig->numChannels; in TEST_P()
228 EAS_I32 sampleRate = mEASConfig->sampleRate; in TEST_P()
275 result = EAS_Render(mEASDataHandle, pcm, mEASConfig->mixBufferSize, &count); in TEST_P()
278 pcm += count * mEASConfig->numChannels; in TEST_P()
279 numBytesOutput += count * mEASConfig->numChannels * sizeof(EAS_PCM); in TEST_P()