Searched defs:sr (Results 1 - 9 of 9) sorted by relevance

/frameworks/wilhelm/src/android/
H A DAacBqToPcmCbRenderer.cpp189 int32_t sr; local
190 CHECK(meta->findInt32(kKeySampleRate, &sr));
201 mPcmFormatValues[ANDROID_KEY_INDEX_PCMFORMAT_SAMPLERATE] = sr;
207 channelCount, sr);
H A Dandroid_AudioSfDecoder.cpp270 int32_t sr; local
271 bool hasSampleRate = meta->findInt32(kKeySampleRate, &sr);
334 CHECK(meta->findInt32(kKeySampleRate, &sr));
353 mPcmFormatValues[ANDROID_KEY_INDEX_PCMFORMAT_SAMPLERATE] = sr;
766 int32_t sr; local
767 CHECK(meta->findInt32(kKeySampleRate, &sr));
772 SL_LOGV("format changed: old sr=%d, channels=%d; new sr=%d, channels=%d",
775 sr, channelCount);
777 mPcmFormatValues[ANDROID_KEY_INDEX_PCMFORMAT_SAMPLERATE] = sr;
[all...]
/frameworks/av/media/libstagefright/
H A DAACExtractor.cpp162 uint32_t sr = get_sample_rate(sf_index); local
163 if (sr == 0) {
187 mFrameDurationUs = (1024 * 1000000ll + (sr - 1)) / sr;
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp115 uint32_t sr = get_sample_rate(sf_index); local
117 if (sr == 0) {
123 SL_LOGV("AacAdtsExtractor has found sr=%d channel=%d", sr, channel);
129 mFrameDurationUs = (1024 * 1000000ll + (sr - 1)) / sr;
/frameworks/wilhelm/tests/sandbox/
H A Dintbufq.c151 float sr = 44100; local
153 sine[i].left = sin((float) (i / (sr / hz)) * pi2 ) * 32000.0;
157 square[i].left = (i % (unsigned) (sr / hz)) < 50 ? 32767 : -32768;
161 sawtooth[i].left = ((((int) (i % (unsigned) (sr / hz))) - 50) / 100.0) * 60000.0 - 30000.0;
/frameworks/base/services/core/java/com/android/server/am/
H A DServiceRecord.java121 final ServiceRecord sr; field in class:ServiceRecord.StartItem
135 sr = _sr;
144 uriPermissions = new UriPermissionOwner(sr.ams, this);
162 .append(Integer.toHexString(System.identityHashCode(sr)))
163 .append(' ').append(sr.shortName)
/frameworks/base/wifi/java/android/net/wifi/passpoint/
H A DWifiPasspointManager.java252 private void anqpRequestStart(ScanResult sr) { argument
253 Log.d(TAG, "anqpRequestStart sr.bssid=" + sr.BSSID);
255 mAnqpRequest.add(sr);
262 for (ScanResult sr : mAnqpRequest)
263 if (sr.BSSID.equals(result.bssid)) {
265 /* sr.passpoint = result; */
266 mAnqpRequest.remove(sr);
273 private void anqpRequestFinish(ScanResult sr) { argument
274 Log.d(TAG, "anqpRequestFinish sr
[all...]
/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp883 uint32_t sr; local
893 ALOGV("Session_SetConfig sr %d cnl %08x",
1030 ALOGV("Session_SetReverseConfig sr %d cnl %08x",
/frameworks/av/services/audioflinger/
H A DTracks.cpp1427 uint32_t sr = sampleRate(); local
1432 ((head.position() / mFrameSize) * mLocalTimeFreq / sr);
1464 (static_cast<int64_t>(sr) << 32) / 250;

Completed in 386 milliseconds