Searched refs:afSampleRate (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioFlinger.h | 147 afSampleRate = parcel->readInt64(); in readFromParcel() 165 (void)parcel->writeInt64(afSampleRate); in writeToParcel() 182 uint32_t afSampleRate; variable
|
D | AudioSystem.h | 120 uint32_t afLatencyMs, uint32_t afFrameCount, uint32_t afSampleRate,
|
/frameworks/base/media/jni/soundpool/ |
D | SoundPool.cpp | 748 uint32_t afSampleRate; in play() local 754 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) { in play() 755 afSampleRate = kDefaultSampleRate; in play() 769 uint32_t totalFrames = (kDefaultBufferCount * afFrameCount * sampleRate) / afSampleRate; in play()
|
/frameworks/av/media/libaudioclient/ |
D | AudioSystem.cpp | 261 uint32_t afLatencyMs, uint32_t afFrameCount, uint32_t afSampleRate, in calculateMinFrameCount() argument 265 uint32_t minBufCount = afLatencyMs / ((1000 * afFrameCount) / afSampleRate); in calculateMinFrameCount() 278 afLatencyMs, afFrameCount, afSampleRate, sampleRate, speed, minBufCount in calculateMinFrameCount() 281 sampleRate, afFrameCount, afSampleRate, speed); in calculateMinFrameCount()
|
D | AudioTrack.cpp | 121 uint32_t afSampleRate; in getMinFrameCount() local 123 status = AudioSystem::getOutputSamplingRate(&afSampleRate, streamType); in getMinFrameCount() 146 *frameCount = AudioSystem::calculateMinFrameCount(afLatency, afFrameCount, afSampleRate, in getMinFrameCount() 158 __func__, *frameCount, afFrameCount, afSampleRate, afLatency); in getMinFrameCount() 1496 mAfSampleRate = output.afSampleRate; in createTrack_l()
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.cpp | 1892 uint32_t afSampleRate; in open() local 1897 if (AudioSystem::getOutputSamplingRate(&afSampleRate, mStreamType) != NO_ERROR) { in open() 1900 if (afSampleRate == 0) { in open() 1904 (unsigned long long)sampleRate * afFrameCount / afSampleRate; in open()
|
/frameworks/av/services/audioflinger/ |
D | AudioFlinger.cpp | 850 output.afSampleRate = thread->sampleRate(); in createTrack()
|