Searched refs:channelCount (Results 1 – 4 of 4) sorted by relevance
/system/media/audio_utils/ |
D | conversion.cpp | 26 void mono_blend(void *buf, audio_format_t format, size_t channelCount, size_t frames, bool limit) { in mono_blend() argument 27 if (channelCount < 2) { in mono_blend() 36 for (size_t j = 0; j < channelCount; ++j) { in mono_blend() 39 accum /= channelCount; // round to 0 in mono_blend() 40 for (size_t j = 0; j < channelCount; ++j) { in mono_blend() 47 const float recipdiv = 1. / channelCount; in mono_blend() 51 for (size_t j = 0; j < channelCount; ++j) { in mono_blend() 54 if (limit && channelCount == 2) { in mono_blend() 59 for (size_t j = 0; j < channelCount; ++j) { in mono_blend()
|
D | resampler.c | 191 uint32_t channelCount, in create_resampler() argument 200 inSampleRate, outSampleRate, channelCount); in create_resampler() 214 rsmp->speex_resampler = speex_resampler_init(channelCount, in create_resampler() 233 rsmp->channel_count = channelCount; in create_resampler()
|
/system/media/audio_utils/include/audio_utils/ |
D | conversion.h | 43 void mono_blend(void *buf, audio_format_t format, size_t channelCount, size_t frames,
|
D | resampler.h | 97 uint32_t channelCount,
|