diff options
| -rw-r--r-- | audio/audio_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c index 7b6d642..cc9e622 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) { |
