Searched refs:getOutputSamplingRate (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/media/libmedia/
H A DAudioTrack.cpp53 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) {
158 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) {
488 if (AudioSystem::getOutputSamplingRate(&afSamplingRate, mStreamType) != NO_ERROR) {
672 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) {
H A DAudioSystem.cpp220 status_t AudioSystem::getOutputSamplingRate(int* samplingRate, int streamType) function in class:android::AudioSystem
237 LOGV("getOutputSamplingRate() no output descriptor for output %d in gOutputs", output);
243 LOGV("getOutputSamplingRate() reading from output desc");
248 LOGV("getOutputSamplingRate() streamType %d, output %d, sampling rate %d", streamType, output, *samplingRate);
H A DToneGenerator.cpp808 if (AudioSystem::getOutputSamplingRate(&mSamplingRate, streamType) != NO_ERROR) {
/frameworks/base/include/media/
H A DAudioSystem.h224 static status_t getOutputSamplingRate(int* samplingRate, int stream = DEFAULT);
/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp180 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) {
776 if (AudioSystem::getOutputSamplingRate(&afSamplingRate, nativeStreamType) != NO_ERROR) {
777 LOGE("AudioSystem::getOutputSamplingRate() for stream type %d failed in AudioTrack JNI",
/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp537 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) {
/frameworks/base/packages/TtsService/jni/
H A Dandroid_tts_SynthProxy.cpp217 if (AudioSystem::getOutputSamplingRate(&afSampleRate, mStreamType) != NO_ERROR) {
/frameworks/base/media/libmediaplayerservice/
H A DMediaPlayerService.cpp1402 if (AudioSystem::getOutputSamplingRate(&afSampleRate, mStreamType) != NO_ERROR) {

Completed in 99 milliseconds