projects
/
GitHub
/
LineageOS
/
android_hardware_samsung.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a82a0e
)
audio: Improve code readability
author
Christopher N. Hesse
<raymanfx@gmail.com>
Thu, 16 Nov 2017 16:01:37 +0000
(17:01 +0100)
committer
Christopher N. Hesse
<raymanfx@gmail.com>
Tue, 21 Nov 2017 20:22:54 +0000
(20:22 +0000)
Change-Id: I5b1f24ab6098a037559603a92b4a1a38987488f5
audio/audio_hw.c
patch
|
blob
|
blame
|
history
diff --git
a/audio/audio_hw.c
b/audio/audio_hw.c
index 7b6d642f3e656fa5a4c8f087bdb8bab53a663cd1..cc9e622b353f9b9b717f51cc5459cd113ce8e403 100644
(file)
--- 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) {