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 56ff784 commit a4da99bCopy full SHA for a4da99b
src/AudioExperiments/AudioSPDIF.h
@@ -137,7 +137,7 @@ class SPDIFStream : public AudioStreamX {
137
bool begin(SPDIFConfig cfg) {
138
LOGD(LOG_METHOD);
139
// Some validations to make sure that the config is valid
140
- if (!(cfg.channels == 1 | cfg.channels == 2)) {
+ if (!(cfg.channels == 1 || cfg.channels == 2)) {
141
LOGE("Unsupported number of channels: %d", cfg.channels);
142
return false;
143
}
0 commit comments