summaryrefslogtreecommitdiffstats
path: root/audio_utils/include/audio_utils/Balance.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio_utils/include/audio_utils/Balance.h')
-rw-r--r--audio_utils/include/audio_utils/Balance.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/audio_utils/include/audio_utils/Balance.h b/audio_utils/include/audio_utils/Balance.h
index da9b836..4a07c09 100644
--- a/audio_utils/include/audio_utils/Balance.h
+++ b/audio_utils/include/audio_utils/Balance.h
@@ -71,6 +71,13 @@ public:
}
/**
+ * \brief Returns whether volume change is ramped.
+ */
+ bool getRamp() const {
+ return mRamp;
+ }
+
+ /**
* \brief Sets the channel mask for data passed in.
*
* setChannelMask() must called before process() to set
@@ -95,6 +102,13 @@ public:
void setBalance(float balance);
/**
+ * \brief Returns the current balance.
+ */
+ float getBalance() const {
+ return mBalance;
+ }
+
+ /**
* \brief Processes balance for audio data.
*
* setChannelMask() should be called at least once before calling process()