Age | Commit message (Collapse) | Author | Files | Lines |
|
Implements a new bluealsa plugin to the HAL manager,
reacting to the changes of the available transports.
This plugin is linked with the new bluealsa.so shared
library.
New transports (SCO & A2DP) result in softmixer invocations
of the "attach" verb, that creates the new capture
(eg, A2DP capture from bluealsa ioplug PCM, SCO microphone
capture), playbacks (SCO playback to a softmixer zone,
and SCO output to bluealsa iogplug PCM).
When a transport disappears, the hal manager calls the
transaction deletion verb that will tell the softmixer
to remove the created streams and associated objects.
Change-Id: I36037a4f14ef7fee38070fc0df66c40b4ce46e8b
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
44100 seems to be the most common sample rate.
Fis is a temporary fix, because the actual sample rate
may differ and depend on the information available at
the bluetooth transport level.
Handing it dynamically means some significant changes in
softmixer:
- instanciate the rate converter on playback in all the cases
- either been able to modify it after creation, or if not possible,
close and restart the output PCM plugin stack.
Change-Id: I6bd900fd539251b60b97bbaf15e1390bf49c13e0
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
Enrich 'halmixer' section with bluetooth specific 'source' and 'stream'
during hal-bt plugin initialization.
Some parameters must be passed to plugin using 'params' key in controller
json plugin section.
This allows to get rid of must of the additional configuration when using
bluetooth in a hal.
Change-Id: I5820e75307a3394eca80cf783e7bc4c31c2d7659
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Use correct file ('ctl-config.h') instead of (''ctl-plugin.h)
to include controller.
Change-Id: I93a1bcb5dab51211532fc59ffd979ea7acad1530
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
In hal bluetooth plugin, implement all call to softmixer used to
enable/disable bluetooth stream and to set bt streamed device.
Change-Id: I16f6fbf6a02f34490876d390883bdd040661647e
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|