Skip to content

Commit 3210d33

Browse files
committed
VolumeMeter begin(AudioInfo)
1 parent 8fbfefb commit 3210d33

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/AudioTools/AudioStreams.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1626,6 +1626,11 @@ class VolumeMeter : public ModifyingStream {
16261626
setStream(stream);
16271627
}
16281628

1629+
bool begin(AudioInfo info){
1630+
setAudioInfo(info);
1631+
return begin();
1632+
}
1633+
16291634
void setAudioInfo(AudioInfo info) {
16301635
ModifyingStream::setAudioInfo(info);
16311636
if (info.channels > 0) {

0 commit comments

Comments
 (0)