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.h39 int samplerate; member
/system/bt/stack/a2dp/
Da2dp_vendor_ldac.cc359 int samplerate = A2DP_GetTrackSampleRate(p_codec_info); in A2DP_VendorGetBitRateLdac() local
362 if (samplerate == 44100 || samplerate == 88200) in A2DP_VendorGetBitRateLdac()
367 if (samplerate == 44100 || samplerate == 88200) in A2DP_VendorGetBitRateLdac()
372 if (samplerate == 44100 || samplerate == 88200) in A2DP_VendorGetBitRateLdac()
378 if (samplerate == 44100 || samplerate == 88200) in A2DP_VendorGetBitRateLdac()
Da2dp_vendor_aptx_hd.cc305 uint16_t samplerate = A2DP_GetTrackSampleRate(p_codec_info); in A2DP_VendorGetBitRateAptxHd() local
306 return (samplerate * bits_per_sample * 2) / 4; in A2DP_VendorGetBitRateAptxHd()
Da2dp_vendor_aptx.cc291 uint16_t samplerate = A2DP_GetTrackSampleRate(p_codec_info); in A2DP_VendorGetBitRateAptx() local
292 return (samplerate * bits_per_sample * 2) / 4; in A2DP_VendorGetBitRateAptx()
/system/media/audio_utils/tests/
Dfifo_tests.cpp224 sfinfoout.samplerate = sfinfoin.samplerate; in main()