MMFMWK-8367 Add support for dsp oggvorbis in beepdec
- Add support for dsp oggvorbis in beepdec
Signed-off-by: Lyon Wang <lyon.wang@nxp.com>
diff --git a/plugins/beepdec/beep_registry_1.0.arm.cf.in b/plugins/beepdec/beep_registry_1.0.arm.cf.in
index c3a9bd3..5d79e6e 100755
--- a/plugins/beepdec/beep_registry_1.0.arm.cf.in
+++ b/plugins/beepdec/beep_registry_1.0.arm.cf.in
@@ -32,6 +32,7 @@
description = Decode Vorbis compressed audio to raw data
rank = 259
mime = audio/x-vorbis
+dsp_lib = @dsp_arm_SONAME@
library = @vorbisd_arm_SONAME@
[ddplus]
diff --git a/plugins/beepdec/beepdec.c b/plugins/beepdec/beepdec.c
index e52b76c..2737892 100755
--- a/plugins/beepdec/beepdec.c
+++ b/plugins/beepdec/beepdec.c
@@ -457,7 +457,9 @@
type = DAB_PLUS;
} else if (!strcmp (IDecoder->name, "sbc")) {
type = SBCDEC;
- } else {
+ } else if (!strcmp (IDecoder->name, "vorbis")) {
+ type = OGG;
+ }else {
goto dsp_fail;
}
if (beepdec->handle == NULL)