We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82c4463 commit 05e28b2Copy full SHA for 05e28b2
src/AudioLibs/I2SCodecStream.h
@@ -152,7 +152,7 @@ class I2SCodecStream : public AudioStream {
152
/// Provides the actual volume (0.0 - 1.0)
153
int getVolume() {
154
if (p_board == nullptr) return -1;
155
- return p_board->getVolume();
+ return static_cast<float>(p_board->getVolume()) / 100.0;
156
}
157
158
/// Mute / unmote
0 commit comments