Searched refs:sampleRateHz (Results 1 – 25 of 125) sorted by relevance
12345
/hardware/interfaces/bluetooth/audio/utils/aidl_session/ |
D | BluetoothAudioCodecs.cpp | 46 .sampleRateHz = {8000, 16000, 24000, 32000, 44100, 48000, 88200, 96000}, 53 .sampleRateHz = {44100}, 64 .sampleRateHz = {44100}, 70 .sampleRateHz = {44100, 48000, 88200, 96000}, 76 .sampleRateHz = {44100, 48000}, 82 .sampleRateHz = {44100, 48000}, 122 if (ContainedInVector(kDefaultOffloadSbcCapability.sampleRateHz, in IsOffloadSbcConfigurationValid() 123 sbc_data.sampleRateHz) && in IsOffloadSbcConfigurationValid() 154 if (ContainedInVector(kDefaultOffloadAacCapability.sampleRateHz, in IsOffloadAacConfigurationValid() 155 aac_data.sampleRateHz) && in IsOffloadAacConfigurationValid() [all …]
|
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/src/ |
D | SubscriptionManager.cpp | 46 SubscribeOptions newSubscribeOptions(int32_t propId, int32_t areaId, float sampleRateHz, in newSubscribeOptions() argument 51 subscribedOptions.sampleRate = sampleRateHz; in newSubscribeOptions() 70 bool SubscriptionManager::checkSampleRateHz(float sampleRateHz) { in checkSampleRateHz() argument 71 return getIntervalNanos(sampleRateHz).ok(); in checkSampleRateHz() 74 Result<int64_t> SubscriptionManager::getIntervalNanos(float sampleRateHz) { in getIntervalNanos() argument 76 if (sampleRateHz <= 0) { in getIntervalNanos() 79 if (sampleRateHz <= (ONE_SECOND_IN_NANOS / static_cast<float>(INT64_MAX))) { in getIntervalNanos() 80 return Error() << "invalid sample rate: " << sampleRateHz << ", too small"; in getIntervalNanos() 82 intervalNanos = static_cast<int64_t>(ONE_SECOND_IN_NANOS / sampleRateHz); in getIntervalNanos() 102 if (subConfig.sampleRateHz > maxSampleRateHz) { in refreshCombinedConfig() [all …]
|
/hardware/interfaces/bluetooth/audio/aidl/default/ |
D | HfpSoftwareAudioProvider.cpp | 76 if (pcm_config.sampleRateHz != 8000 && pcm_config.sampleRateHz != 16000 && in startSession() 77 pcm_config.sampleRateHz != 32000) { in startSession() 92 (pcm_config.sampleRateHz / 1000) * in startSession() 96 << ", SampleRateHz: " << pcm_config.sampleRateHz in startSession()
|
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/include/ |
D | SubscriptionManager.h | 43 float sampleRateHz; member 126 static bool checkSampleRateHz(float sampleRateHz); 167 float sampleRateHz, float resolution, 192 static android::base::Result<int64_t> getIntervalNanos(float sampleRateHz);
|
/hardware/interfaces/audio/aidl/common/include/ |
D | Utils.h | 186 constexpr int32_t frameCountFromDurationUs(long durationUs, int32_t sampleRateHz) { in frameCountFromDurationUs() argument 187 return (static_cast<long long>(durationUs) * sampleRateHz) / 1000000LL; in frameCountFromDurationUs() 190 constexpr int32_t frameCountFromDurationMs(int32_t durationMs, int32_t sampleRateHz) { in frameCountFromDurationMs() argument 191 return frameCountFromDurationUs(durationMs * 1000, sampleRateHz); in frameCountFromDurationMs()
|
/hardware/interfaces/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/2/android/hardware/bluetooth/audio/ |
D | AptxConfiguration.aidl | 37 int sampleRateHz;
|
D | AptxCapabilities.aidl | 37 int[] sampleRateHz;
|
D | PcmCapabilities.aidl | 37 int[] sampleRateHz;
|
D | PcmConfiguration.aidl | 37 int sampleRateHz;
|
/hardware/interfaces/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/current/android/hardware/bluetooth/audio/ |
D | AptxCapabilities.aidl | 37 int[] sampleRateHz;
|
D | AptxConfiguration.aidl | 37 int sampleRateHz;
|
D | PcmCapabilities.aidl | 37 int[] sampleRateHz;
|
D | PcmConfiguration.aidl | 37 int sampleRateHz;
|
/hardware/interfaces/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/4/android/hardware/bluetooth/audio/ |
D | AptxCapabilities.aidl | 37 int[] sampleRateHz;
|
D | AptxConfiguration.aidl | 37 int sampleRateHz;
|
D | PcmConfiguration.aidl | 37 int sampleRateHz;
|
D | PcmCapabilities.aidl | 37 int[] sampleRateHz;
|
/hardware/interfaces/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/1/android/hardware/bluetooth/audio/ |
D | AptxConfiguration.aidl | 37 int sampleRateHz;
|
D | AptxCapabilities.aidl | 37 int[] sampleRateHz;
|
D | PcmCapabilities.aidl | 37 int[] sampleRateHz;
|
D | PcmConfiguration.aidl | 37 int sampleRateHz;
|
/hardware/interfaces/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/3/android/hardware/bluetooth/audio/ |
D | AptxConfiguration.aidl | 37 int sampleRateHz;
|
D | AptxCapabilities.aidl | 37 int[] sampleRateHz;
|
D | PcmConfiguration.aidl | 37 int sampleRateHz;
|
/hardware/interfaces/bluetooth/audio/aidl/android/hardware/bluetooth/audio/ |
D | AptxConfiguration.aidl | 26 int sampleRateHz;
|
12345