Home
last modified time | relevance | path

Searched refs:mMaxSmp (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libaudioclient/
DToneGenerator.cpp1212 mMaxSmp = sec * mSamplingRate; in stopTone()
1216 mMaxSmp = (unsigned int)(((int64_t)sec * mSamplingRate) / 1000); in stopTone()
1218 ALOGV("stopTone() forcing mMaxSmp to %d, total for far %d", mMaxSmp, mTotalSmp); in stopTone()
1380 lpToneGen->mTotalSmp > lpToneGen->mMaxSmp) { in audioCallback()
1586 mMaxSmp = TONEGEN_INF; in prepareWave()
1589 mMaxSmp = (mDurationMs / 1000) * mSamplingRate; in prepareWave()
1591 mMaxSmp = (mDurationMs * mSamplingRate) / 1000; in prepareWave()
/frameworks/av/media/libaudioclient/include/media/
DToneGenerator.h292 unsigned int mMaxSmp; // Maximum number of audio samples played (maximun tone duration) variable