/frameworks/av/services/audioflinger/ |
D | SpdifStreamOut.cpp | 55 mApplicationSampleRate = config->sample_rate; in open() 74 customConfig.sample_rate = config->sample_rate * mRateMultiplier; in open() 84 config->sample_rate, in open() 89 customConfig.sample_rate, in open()
|
D | AudioHwDevice.cpp | 50 config->sample_rate, in openOutputStream() 65 config->sample_rate, in openOutputStream()
|
D | PatchPanel.cpp | 240 config.sample_rate = patch->sinks[0].sample_rate; in createAudioPatch() 271 config.sample_rate = patch->sources[0].sample_rate; in createAudioPatch() 273 config.sample_rate = newPatch.mPlayback.thread()->sampleRate(); in createAudioPatch()
|
/frameworks/av/media/extractors/mp3/ |
D | MP3Extractor.cpp | 146 int sample_rate, num_channels, bitrate; in Resync() local 149 &sample_rate, &num_channels, &bitrate)) { in Resync() 305 int sample_rate; in MP3Extractor() local 309 header, &frame_size, &sample_rate, &num_channels, &bitrate); in MP3Extractor() 320 int sample_rate; in MP3Extractor() local 324 header, &frame_size, &sample_rate, &num_channels, &bitrate); in MP3Extractor() 344 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, sample_rate); in MP3Extractor() 535 int sample_rate; in read() local 550 header, &frame_size, &sample_rate, NULL, in read() 600 mCurrentTimeUs = mBasisTimeUs + ((mSamplesRead * 1000000) / sample_rate); in read()
|
/frameworks/av/media/libeffects/loudness/common/core/ |
D | basic_types.h | 104 int sample_rate(void) const; 105 void set_sample_rate(int sample_rate);
|
/frameworks/av/media/libstagefright/codecs/mp3dec/test/ |
D | mp3reader.cpp | 294 uint32_t sample_rate, num_channels, bitrate; in resync() local 297 &sample_rate, &num_channels, &bitrate)) { in resync() 381 uint32_t sample_rate; in getFrame() local 392 header, &frame_size, &sample_rate, NULL /*out_channels*/, in getFrame()
|
/frameworks/av/services/mediaanalytics/ |
D | statsd_audiothread.cpp | 116 int32_t sample_rate = -1; in statsd_audiothread() local 117 if (item->getInt32(MM_PREFIX "sampleRate", &sample_rate)) { in statsd_audiothread() 118 metrics_proto.set_sample_rate(sample_rate); in statsd_audiothread()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothCodecConfigTest.java | 163 int sample_rate = selectSampleRate(config_id); in testBluetoothCodecConfig_valid_get_methods() local 172 sample_rate, bits_per_sample, in testBluetoothCodecConfig_valid_get_methods() 176 if (sample_rate == BluetoothCodecConfig.SAMPLE_RATE_NONE) { in testBluetoothCodecConfig_valid_get_methods() 217 assertEquals(sample_rate, bcc.getSampleRate()); in testBluetoothCodecConfig_valid_get_methods()
|
/frameworks/av/media/libstagefright/codecs/flac/dec/ |
D | SoftFlacDecoder.cpp | 174 flacParams->nSampleRate = mStreamInfo.sample_rate; in internalGetParameter() 212 pcmParams->nSamplingRate = mStreamInfo.sample_rate; in internalGetParameter() 381 if (mStreamInfo.sample_rate && mStreamInfo.channels) { in onQueueFilled() 383 mStreamInfo.sample_rate, mStreamInfo.channels); in onQueueFilled()
|
/frameworks/av/media/libaudioclient/ |
D | AudioPolicy.cpp | 93 mFormat.sample_rate = (uint32_t)parcel->readInt32(); in readFromParcel() 117 parcel->writeInt32(mFormat.sample_rate); in writeToParcel()
|
D | IAudioPolicyServiceClient.cpp | 40 config->sample_rate = data.readUint32(); in readAudioConfigBaseFromParcel() 47 data.writeUint32(config->sample_rate); in writeAudioConfigBaseToParcel()
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
D | JMediaPlayer2Utils.cpp | 61 jMP2UtilsCls, jSetAudioOutputDeviceById, audioFormat, info.sample_rate, channelMask); in isOffloadedAudioPlaybackSupported()
|
/frameworks/av/media/libaudiohal/impl/ |
D | DeviceHalLocal.cpp | 116 config->sample_rate, config->format, config->channel_mask, in openOutputStream() 141 config->sample_rate, config->format, config->channel_mask, in openInputStream()
|
/frameworks/av/media/codec2/components/flac/ |
D | C2SoftFlacDec.cpp | 243 if (mStreamInfo.sample_rate && mStreamInfo.max_blocksize && in process() 247 0u, mStreamInfo.sample_rate); in process() 267 " %d block size", mStreamInfo.sample_rate, mStreamInfo.channels, in process()
|
/frameworks/av/media/libstagefright/flac/dec/ |
D | FLACDecoder.h | 57 return mStreamInfo.sample_rate; in getSampleRate()
|
D | FLACDecoder.cpp | 373 if (mWriteHeader.sample_rate != getSampleRate() || in decodeOneFrame() 378 mWriteHeader.sample_rate, mWriteHeader.channels, mWriteHeader.bits_per_sample); in decodeOneFrame()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 1018 __func__, outputDevices.toString().c_str(), config->sample_rate, config->format, in getOutputForAttrInt() 1087 audio_config_base_t clientConfig = {.sample_rate = config->sample_rate, in getOutputForAttr() 1158 audio_is_linear_pcm(config->format) && config->sample_rate <= SAMPLE_RATE_HZ_MAX && in getOutputForDevices() 1173 config->sample_rate, in getOutputForDevices() 1187 if ((config->sample_rate == desc->mSamplingRate) && in getOutputForDevices() 1229 (config->sample_rate != 0 && config->sample_rate != outputDesc->mSamplingRate) || in getOutputForDevices() 1233 "format %d %d, channel mask %04x %04x", __func__, output, config->sample_rate, in getOutputForDevices() 1241 config->sample_rate <= SAMPLE_RATE_HZ_MAX) { in getOutputForDevices() 1276 output = selectOutput(outputs, *flags, config->format, channelMask, config->sample_rate); in getOutputForDevices() 1280 stream, config->sample_rate, config->format, channelMask, *flags); in getOutputForDevices() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioOutputDescriptor.cpp | 51 const audio_config_base_t config = { .sample_rate = mSamplingRate, .channel_mask = mChannelMask, in getConfig() 461 lConfig.sample_rate = mSamplingRate; in open() 474 lConfig.offload_info.sample_rate = lConfig.sample_rate; in open() 503 mSamplingRate = lConfig.sample_rate; in open()
|
D | HwModule.cpp | 51 config->sample_rate)); in addOutputProfile() 119 config->sample_rate)); in addInputProfile() 129 name.string(), config->sample_rate, config->channel_mask); in addInputProfile()
|
D | AudioPort.cpp | 159 status = mProfiles.checkExactProfile(config->sample_rate, in checkExactAudioProfile() 400 mSamplingRate = config->sample_rate; in applyAudioPortConfig() 449 updateField(mSamplingRate, &audio_port_config::sample_rate, in toAudioPortConfig()
|
D | IOProfile.cpp | 62 .sample_rate = samplingRate, in isCompatibleProfile()
|
D | ClientDescriptor.cpp | 48 mConfig.format, mConfig.sample_rate, mConfig.channel_mask); in dump()
|
/frameworks/base/cmds/bootanimation/ |
D | audioplay.cpp | 78 uint32_t sample_rate; member 166 chunkFormat->sample_rate * 1000, // convert to milliHz in createBufferQueueAudioPlayer()
|
/frameworks/av/services/oboeservice/ |
D | AAudioServiceEndpointMMAP.cpp | 121 config.sample_rate = aaudioSampleRate; in open() 233 setSampleRate(config.sample_rate); in open()
|
/frameworks/av/media/libaudioclient/tests/ |
D | test_create_audiotrack.cpp | 99 offloadInfo.sample_rate = sampleRate; in testTrack()
|