Skip to content
Snippets Groups Projects
  1. May 23, 2020
    • Minecrell's avatar
      Initial Commit · 8e3710ee
      Minecrell authored
      
      linux-postmarketos-qcom-msm8916 now supports voice call audio.
      However, at the moment the audio stream needs to be explicitly started
      by opening some PCM audio devices when the call is started
      (even though no audio data is written to the PCM device).
      
      Eventually this should go away by implementing codec2codec support
      for q6voice in the kernel. In that case, the stream would be started
      once the audio routes are set up using ALSA UCM. However, this is a bit
      complicated actually so for now it's nice to have a workaround:
      
      q6voiced listens on dbus for signals from oFono, and opens/closes the
      PCM device when a call is initiated/ended in oFono. This essentially
      makes voice call audio work out of the box (provided that the audio
      routing, e.g. Earpiece and a microphone is set up appropriately).
      
      Co-Authored-By: default avatarNikita Travkin <nikitos.tr@gmail.com>
      8e3710ee
Loading