summaryrefslogtreecommitdiffstats
path: root/src/plugins/gstreamer/audiodecoder
diff options
context:
space:
mode:
authorBartlomiej Moskal <bartlomiej.moskal@qt.io>2024-05-06 13:42:27 +0200
committerBartlomiej Moskal <bartlomiej.moskal@qt.io>2024-05-06 15:15:39 +0200
commit68b780b9ad0ded321e0375f40de6b64a0de845ed (patch)
tree93ffd20e26254fae9503e365a4cc8e9f17c190f3 /src/plugins/gstreamer/audiodecoder
parent7ae871a3b7931818f1e7fb0e8e54bf0c680cc1d7 (diff)
Android: Use correct Constant ValueHEADdev
STREAM_MUSIC[0] is not the correct value for setMode[1] function. It was probably used by mistake. MODE_IN_COMMUNICATION[2] is the correct one. This allows to properly control audio devices (e.g. Bluetooth or speaker). MODE_IN_COMMUNICATION has the same value (3) as STREAM_MUSIC, so nothing changes in behavior. Just the correct name of constant value is used. [0]https://developer.android.com/reference/android/media/AudioManager#STREAM_MUSIC [1]https://developer.android.com/reference/android/media/AudioManager#setMode(int) [2]https://developer.android.com/reference/android/media/AudioManager#MODE_IN_COMMUNICATION Pick-to: 6.7 6.5 Change-Id: I1b198ff8a088f44b5bea5ab94f11a6f9cb2709de Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to 'src/plugins/gstreamer/audiodecoder')
0 files changed, 0 insertions, 0 deletions