Age | Commit message (Collapse) | Author | Files | Lines |
|
Fixed the bogus capture setup, HDMI cannot be used for that.
See comments about changes of the minnow board for more details.
Change-Id: Ia845437aade06d5994e7b86e3f73dca1ac0c197a
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
This commit introduces several things.
The original need was to fix the bluetooth SCO that was
not working on the minnow board. The reason was that this
board only has audio output through HDMI, but no input,
thus the "talk to bluetooth" stream could not be created.
So:
1) Introduces support for an optional USB mono microphone
When the mic is not detected, only the "listen" stream is
created (so that it is possible for the user to listen to
his/her audio messages).
So in the "capture" section, a new boolean "optional"
parameter is added.
2) mono to stereo conversion is not something straightforward
It requires the usage of a dedicated zone, so that mono
channel is duplicated to both the right and left channel.
This is why a 'front-seats-mono' zone is added to the json file.
3) CPU load and write 'quirk'
After having faced problems of heavy CPU load and write errors
on the playback device, the way sound output is done in the
softmixer has been reworked, to conform to ALSA examples.
It relies on a classic "'poll" followed by a call to
"snd_pcm_poll_descriptors_revents" that demangles the events.
On the minnow board, that does not work. Spurious null events,
that should be ignored, -must- be taken in account on the minnow
PCH device, else next writes often issue an EPIPE error,
leading to clipped sound.
Thus here a quirk section is added to the json file, and the
only quirk is QUIRK_BOGUS_POLL_REVENTS_DEMANGLING.
In the softmixer, when that quirk is set on a device, null
events are no longer ignored.
This commit must be taken together with:
- The fix for PCM ioplug in bluez-alsa
- The needed changes in softmixer
Change-Id: Ide1605e5480d773e2681ff762e3ecf4c84718fde
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
Bug-AGL: SPEC-2173
- updates plugin names to unicens-output and unicens-input
- adds new ramps as used by greenbox
- adds simple-microphone
Change-Id: Ib910b291174b4e6737a346fe2d2dd1827232bff9
Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com>
|
|
HAL Manager is now more picky and refuses to load unknown controls.
In the specific case of minnowboard, the declared control for master volume
is wrong.
This patch removes the master volume control from halmap section.
Bug-AGL: SPEC-2138
Change-Id: I1f7404ea7b6212981156003ba255936ae7173b96
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
(cherry picked from commit 2d9c0614c82f397185aa8c63444d9c49ca185113)
|
|
The unicens plugin has been renamed, and an additional
one for beam forming has come as well.
Change-Id: I187248fa27810cddfef46ccc514233d0a91b8c52
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
Updated all the HALs to use the new bluealsa plugin,
that dynamically creates and deletes audio streams
upon bluetooth connections from mobile phones.
The plugin parameters consists in 2 sections.
The "sco" section is the place for voice calls.
It is where to specify which microphone to use
(this one must be declared in the captures devices),
and to what zone to do the playback (that zone must be defined,
too)
The "a2dp" is for music playback. The only needed paramter is
a playback zone. It can be different fromt the one used by SCO.
Additionnally, both SCO and A2DP have a "delayms" parameter
which is the size in milliseconds of the copy buffer for
the audio stream. The values set in this commit are good enough for
a demo, but can we optimized in the future.
Change-Id: I1c5da69c0de01d5dfdf852fa58372410f22e2a56
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
Controls names should be normalized to be the same in every HAL.
Change-Id: Ia03b197978b89892446c07fee3869ddd58fcf333
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
This adds the json files needed to configure the 4a-hals.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
|