Skip to content

Commit 0e64e78

Browse files
committed
I2SCodecStream volume
1 parent 8e4b7ea commit 0e64e78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AudioLibs/I2SCodecStream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class I2SCodecStream : public AudioStream {
7777
is_active = i2s.begin(cfg);
7878

7979
// if setvolume was called before begin
80-
if (is_active && volume > 0.0f) {
80+
if (is_active && volume >= 0.0f) {
8181
setVolume(volume);
8282
}
8383
return is_active;

0 commit comments

Comments
 (0)