diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2021-10-18 14:24:52 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2021-10-28 13:33:11 +0200 |
commit | 8cd8b77b95666cda9b4752be47d76b5644b1c8e6 (patch) | |
tree | 53419e9d2ad158b438cdb0e34c566f8a72076cbb /meta-speech-framework/meta-aac/recipes-modules | |
parent | 8310c09541833f8a5d7f580830f63989a9789257 (diff) |
Prepare master for new framework integrationsandbox/jsmoeller/rmappfw
During the last workshop the transition to the new framework was presented.
This change essentially deprecates the SMACK-based application framework.
To prepare the integration of it, we remove the deprecated components:
- meta-speech-framework and the voiceagent services
Bug-AGL: SPEC-4121
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I803dd18184338a1f5519af27136e1d5a58ee9369
Diffstat (limited to 'meta-speech-framework/meta-aac/recipes-modules')
4 files changed, 0 insertions, 62 deletions
diff --git a/meta-speech-framework/meta-aac/recipes-modules/aac-module-car-control/aac-module-car-control.bbappend b/meta-speech-framework/meta-aac/recipes-modules/aac-module-car-control/aac-module-car-control.bbappend deleted file mode 100644 index a4a0c57b..00000000 --- a/meta-speech-framework/meta-aac/recipes-modules/aac-module-car-control/aac-module-car-control.bbappend +++ /dev/null @@ -1,3 +0,0 @@ -# Fix nlohmann dependency to pick up newer nlohmann-json recipe in meta-oe -DEPENDS:remove = "nlohmann" -DEPENDS:append = " nlohmann-json" diff --git a/meta-speech-framework/meta-aac/recipes-modules/aac-module-messaging/aac-module-messaging.bbappend b/meta-speech-framework/meta-aac/recipes-modules/aac-module-messaging/aac-module-messaging.bbappend deleted file mode 100644 index a4a0c57b..00000000 --- a/meta-speech-framework/meta-aac/recipes-modules/aac-module-messaging/aac-module-messaging.bbappend +++ /dev/null @@ -1,3 +0,0 @@ -# Fix nlohmann dependency to pick up newer nlohmann-json recipe in meta-oe -DEPENDS:remove = "nlohmann" -DEPENDS:append = " nlohmann-json" diff --git a/meta-speech-framework/meta-aac/recipes-modules/aac-module-system-audio/aac-module-system-audio.bbappend b/meta-speech-framework/meta-aac/recipes-modules/aac-module-system-audio/aac-module-system-audio.bbappend deleted file mode 100644 index 7417b494..00000000 --- a/meta-speech-framework/meta-aac/recipes-modules/aac-module-system-audio/aac-module-system-audio.bbappend +++ /dev/null @@ -1,12 +0,0 @@ -FILESEXTRAPATHS:prepend := "${THISDIR}/files:" - -# Needed for the required gstreamer-app-1.0 pkgconfig bits -DEPENDS += "gstreamer1.0-plugins-base" - -AAC_PATCHES += "file://0001-update-pipewire-gstreamer-plugins.patch" - -# Need to enable PipeWire support -EXTRA_OECMAKE += "-DUSE_PIPEWIRE=1" - -# Pull static library into appropriate package to avoid a QA error -FILES:${PN}-staticdev += "${AAC_PREFIX}/lib/libaal.a" diff --git a/meta-speech-framework/meta-aac/recipes-modules/aac-module-system-audio/files/0001-update-pipewire-gstreamer-plugins.patch b/meta-speech-framework/meta-aac/recipes-modules/aac-module-system-audio/files/0001-update-pipewire-gstreamer-plugins.patch deleted file mode 100644 index bc277588..00000000 --- a/meta-speech-framework/meta-aac/recipes-modules/aac-module-system-audio/files/0001-update-pipewire-gstreamer-plugins.patch +++ /dev/null @@ -1,44 +0,0 @@ -Update PipeWire gstreamer plugins - -Update PipeWire sink and source to handle drop of pwaudiosink and -pwaudiosrc in favor of pipewire* replacements. However, testing -has found that Alexa does not work with pipewiresrc (input hangs -after first interaction), so for now use "alsasrc device=pipewire" -as a workaround as recommended by upstream. - -Given that Amazon has dropped AGL support, this patch will need to -be carried locally. - -Upstream-Status: Inappropriate [no upstream] -Signed-off-by: Scott Murray <scott.murray@konsulko.com> ---- - lib/aal/src/gstreamer/player.c | 2 +- - lib/aal/src/gstreamer/recorder.c | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/lib/aal/src/gstreamer/player.c b/lib/aal/src/gstreamer/player.c -index 5dd6627..5ff9402 100644 ---- a/lib/aal/src/gstreamer/player.c -+++ b/lib/aal/src/gstreamer/player.c -@@ -142,7 +142,7 @@ static aal_handle_t gstreamer_player_create(const aal_attributes_t* attr, aal_au - } else { - #ifdef USE_PIPEWIRE - g_info("Using Pipewire device: %s\n", attr->device); -- sink = gstreamer_create_and_add_element(bin, "pwaudiosink", "sink"); -+ sink = gstreamer_create_and_add_element(bin, "pipewiresink", "sink"); - if (sink) { - GstStructure* s = gst_structure_new("properties", "media.role", G_TYPE_STRING, attr->device, NULL); - g_object_set(G_OBJECT(sink), "stream-properties", s, NULL); -diff --git a/lib/aal/src/gstreamer/recorder.c b/lib/aal/src/gstreamer/recorder.c -index ff6d464..a13b000 100644 ---- a/lib/aal/src/gstreamer/recorder.c -+++ b/lib/aal/src/gstreamer/recorder.c -@@ -69,7 +69,7 @@ static aal_handle_t gstreamer_recorder_create(const aal_attributes_t* attr, aal_ - strncpy(src_desc, "autoaudiosrc", sizeof(src_desc) - 1); - } else { - #ifdef USE_PIPEWIRE -- snprintf(src_desc, sizeof(src_desc), "pwaudiosrc stream-properties=\"properties,media.role=%s\"", attr->device); -+ snprintf(src_desc, sizeof(src_desc), "alsasrc device=pipewire"); - #else - g_info("Using ALSA device: %s\n", attr->device); - snprintf(src_desc, sizeof(src_desc), "alsasrc device=%s", attr->device); |