Home
last modified time | relevance | path

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

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTrackPlayer.java54 private final int mToneFreq; field in AudioTrackPlayer
64 mToneFreq = toneFreq; in AudioTrackPlayer()
118 double periodMs = MS_TO_SECONDS / ((double) mToneFreq); in getBuffer()
119 double samplesInCycle = ((double) SAMPLE_RATE) / ((double) mToneFreq); in getBuffer()
122 double kw = 2 * Math.PI / (SAMPLE_RATE / mToneFreq); in getBuffer()