Searched refs:balance (Results 1 – 6 of 6) sorted by relevance
/system/media/audio_utils/tests/ |
D | balance_tests.cpp | 23 android::audio_utils::Balance balance(false /* ramp */); in TEST() local 24 ASSERT_EQ(false, balance.getRamp()); in TEST() 26 balance.setChannelMask(AUDIO_CHANNEL_OUT_STEREO); in TEST() 30 ASSERT_EQ(0.f, balance.getBalance()); in TEST() 31 balance.process(buffer.data(), 1 /* frames */); in TEST() 35 balance.setBalance(1.f); in TEST() 36 ASSERT_EQ(1.f, balance.getBalance()); in TEST() 37 balance.process(buffer.data(), 1 /* frames */); in TEST() 42 balance.setBalance(-1.f); // to left in TEST() 43 ASSERT_EQ(-1.f, balance.getBalance()); in TEST() [all …]
|
/system/media/audio_utils/ |
D | Balance.cpp | 34 const float balance = mBalance; in setChannelMask() local 48 setBalance(balance); // recompute balance in setChannelMask() 73 setBalance(balance); // recompute balance in setChannelMask() 120 void Balance::computeStereoBalance(float balance, float *left, float *right) const in computeStereoBalance() argument 122 if (balance > 0.f) { in computeStereoBalance() 123 *left = mCurve(1.f - balance); in computeStereoBalance() 125 } else if (balance < 0.f) { in computeStereoBalance() 127 *right = mCurve(1.f + balance); in computeStereoBalance() 149 void Balance::setBalance(float balance) in setBalance() argument 152 if (mBalance == balance // no change in setBalance() [all …]
|
D | Doxyfile | 2244 # larger than 0 to get control over the balance between CPU load and processing
|
/system/media/audio_utils/include/audio_utils/ |
D | Balance.h | 102 void setBalance(float balance); 136 void computeStereoBalance(float balance, float *left, float *right) const;
|
/system/chre/pal/doc/ |
D | Doxyfile | 2141 # larger than 0 to get control over the balance between CPU load and processing
|
/system/chre/chre_api/doc/ |
D | Doxyfile | 2141 # larger than 0 to get control over the balance between CPU load and processing
|