Searched refs:mDurationMs (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/include/media/
H A DToneGenerator.h252 int mDurationMs; // Maximum tone duration in ms member in class:android::ToneGenerator
/frameworks/base/media/libmedia/
H A DToneGenerator.cpp904 mDurationMs = durationMs;
1334 if (mDurationMs == -1) {
1337 if (mDurationMs > (int)(TONEGEN_INF / mSamplingRate)) {
1338 mMaxSmp = (mDurationMs / 1000) * mSamplingRate;
1340 mMaxSmp = (mDurationMs * mSamplingRate) / 1000;
1342 LOGV("prepareWave, duration limited to %d ms", mDurationMs);

Completed in 28 milliseconds