commit | d6359186eaa049305af685f4ed978ab2668a694d | [log] [tgz] |
---|---|---|
author | Andreas Schneider <asn@cryptomilk.org> | Wed Feb 08 16:58:22 2017 +0100 |
committer | Andreas Schneider <asn@cryptomilk.org> | Sat Feb 11 14:20:24 2017 +0100 |
tree | a0ab4fed9459819fbd9d8b843cb34c46f92e5650 | |
parent | 696959dda1cd4437dd672a61d7a3266169ad3019 [diff] |
audio: Do not segfault in out_get_presentation_position() When a voice call is stopped we switch back to the default primary output (speaker). Then this function gets executed and as ther was no active PCM because voice_session is handling that it segfaults because the PCM is NULL. Change-Id: I927504b7962b096c0d4c3642b48aee55c85ec013