Home
last modified time | relevance | path

Searched refs:samplerate (Results 1 – 7 of 7) sorted by relevance

/system/chre/platform/linux/
Dplatform_audio.cc50 static_cast<uint32_t>(audioSource->audioInfo.samplerate)); in audioSourceCallback()
58 static_cast<uint32_t>(audioSource->audioInfo.samplerate), in audioSourceCallback()
118 static_cast<uint32_t>(source->audioInfo.samplerate); in getAudioSource()
138 static_cast<uint32_t>(source->audioInfo.samplerate), in addAudioSource()
159 static_cast<uint32_t>(source->audioInfo.samplerate); in addAudioSource()
/system/media/audio_utils/
Dtinysndfile.c191 unsigned samplerate = little4u(&fmt[4]); in sf_open_read() local
192 if (samplerate == 0) { in sf_open_read()
194 fprintf(stderr, "samplerate %u == 0\n", samplerate); in sf_open_read()
210 handle->info.samplerate = samplerate; in sf_open_read()
301 (info->samplerate > 0) && in sf_open_write()
330 write4u(&wav[24], info->samplerate); in sf_open_write()
353 unsigned byteRate = info->samplerate * blockAlignment; in sf_open_write()
/system/media/audio_utils/include/audio_utils/
Dsndfile.h38 int samplerate; member
/system/bt/stack/a2dp/
Da2dp_vendor_ldac.cc362 int samplerate = A2DP_GetTrackSampleRate(p_codec_info); in A2DP_VendorGetBitRateLdac() local
365 if (samplerate == 44100 || samplerate == 88200) in A2DP_VendorGetBitRateLdac()
370 if (samplerate == 44100 || samplerate == 88200) in A2DP_VendorGetBitRateLdac()
375 if (samplerate == 44100 || samplerate == 88200) in A2DP_VendorGetBitRateLdac()
381 if (samplerate == 44100 || samplerate == 88200) in A2DP_VendorGetBitRateLdac()
Da2dp_vendor_aptx.cc295 uint16_t samplerate = A2DP_GetTrackSampleRate(p_codec_info); in A2DP_VendorGetBitRateAptx() local
296 return (samplerate * bits_per_sample * 2) / 4; in A2DP_VendorGetBitRateAptx()
Da2dp_vendor_aptx_hd.cc309 uint16_t samplerate = A2DP_GetTrackSampleRate(p_codec_info); in A2DP_VendorGetBitRateAptxHd() local
310 return (samplerate * bits_per_sample * 2) / 4; in A2DP_VendorGetBitRateAptxHd()
/system/media/audio_utils/tests/
Dfifo_tests.cpp224 sfinfoout.samplerate = sfinfoin.samplerate; in main()