Home
last modified time | relevance | path

Searched refs:mChannelCount (Results 1 – 4 of 4) sorted by relevance

/system/media/audio_utils/
DBalance.cpp30 mChannelCount = audio_channel_count_from_out_mask(channelMask); in setChannelMask()
37 mVolumes.resize(mChannelCount); in setChannelMask()
82 mSides.resize(mChannelCount); in setChannelMask()
97 if (mBalance == 0.f || mChannelCount < 2) { in process()
112 for (size_t j = 0; j < mChannelCount; ++j) { in process()
119 for (size_t j = 0; j < mChannelCount; ++j) { // better precision: delta * i in process()
133 for (size_t j = 0; j < mChannelCount; ++j) { in process()
160 ss << "balance " << mBalance << " channelCount " << mChannelCount << " volumes:"; in toString()
177 if (mChannelCount < 2) { // if channel count is 1, mVolumes[0] is already set to 1.f in setBalance()
DPowerLog.cpp54 , mChannelCount(channelCount) in PowerLog()
78 audio_utils_compute_energy_mono(buffer, mFormat, process * mChannelCount); in log()
106 buffer = (const uint8_t *)buffer + mCurrentFrames * mChannelCount * bytes_per_sample; in log()
218 audio_utils_power_from_energy(energy / (mChannelCount * mFramesPerEntry)); in dumpToString()
/system/media/audio_utils/include/audio_utils/
DPowerLog.h98 const uint32_t mChannelCount; // audio data channel count variable
DBalance.h163 size_t mChannelCount = 0; // from mChannelMask, 0 means no processing done. variable