Skip to content

Commit 8957a59

Browse files
committed
replace setNotifyAudioChange
1 parent 93b499d commit 8957a59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/SnapOutput.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ class SnapOutput : public AudioInfoSupport {
202202
auto dec_cfg = decoder_stream.defaultConfig();
203203
dec_cfg.copyFrom(audio_info);
204204
decoder_stream.begin(dec_cfg);
205-
decoder_stream.setNotifyAudioChange(*this);
205+
decoder_stream.addNotifyAudioChange(*this);
206206

207207
// open resampler
208208
auto res_cfg = resample.defaultConfig();

0 commit comments

Comments
 (0)