Skip to content

Commit 4f0cb12

Browse files
committed
SPDIFStream
1 parent a4da99b commit 4f0cb12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AudioExperiments/AudioSPDIF.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ class SPDIFStream : public AudioStreamX {
141141
LOGE("Unsupported number of channels: %d", cfg.channels);
142142
return false;
143143
}
144-
if (info.bits_per_sample != 16) {
144+
if (cfg.bits_per_sample != 16) {
145145
LOGE("Unsupported bits per sample: %d - must be 16!",
146-
info.bits_per_sample);
146+
cfg.bits_per_sample);
147147
}
148148

149149
if (i2sOn) {

0 commit comments

Comments
 (0)