diff --git a/audio/audio_hw.c b/audio/audio_hw.c index 7b6d642f..cc9e622b 100644 --- a/audio/audio_hw.c +++ b/audio/audio_hw.c @@ -2885,7 +2885,7 @@ static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) } } #endif - if (val != 0) { + if (val != SND_DEVICE_NONE) { bool bt_sco_active = false; if (out->devices & AUDIO_DEVICE_OUT_ALL_SCO) {