Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-1719

Implement a genuine bluezalsa client in a 4a plugin

XMLWordPrintable

      The coming version of 4a implements the bluetooth audio support, by opening an ioplug PCM, provided by a hacked version of bluez-alsa. For now, only playback is supported.

      The hacked version masks the complexity of devices connections/disconnections, so that PCM is always reading for reading sound, and thus it works without modifying the sofmixer too much.

      This works but has several inconveniences and limitations

      • there is no chance to have the hacked version of bluez-alsa accepted on mainline
      • only one PCM is allowed
      • the bluetooth adapter must be hci0, some non negligeable work would be needed to fix that.

      The idea is modify bluez-alsa the proper way, ie, by creating a shared library (static or not) to link 4a with.

      The place where the devices connections/disconnections will be handled is to be defined. The shared library must be small and smart enough to avoid to link the HAL with libasound.

      Ideally, just like in the current version, the softmixer should not be aware of the connected devices.

      Moreover (this has to be designed as well), an extra copy loop for the sound frames should be avoided.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            tbultel Thierry Bultel
            tbultel Thierry Bultel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: