diff --git a/libvoice-broadcom/Makefile b/libvoice-broadcom/Makefile index f57860380..4cea973a4 100644 --- a/libvoice-broadcom/Makefile +++ b/libvoice-broadcom/Makefile @@ -7,7 +7,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libvoice-broadcom -PKG_VERSION:=0.1 +PKG_RELEASE:=1 +PKG_VERSION:=1.0.0 PKG_LICENSE:=PROPRIETARY PKG_LICENSE_FILES:=LICENSE @@ -51,9 +52,7 @@ endef endif define Package/$(PKG_NAME)/install - # Although there is nothing needs to be installed, but the install section must NOT be empty. Otherwise the package will be skipped as below. - # WARNING: skipping libvoice-broadcom -- package has no install section - $(INSTALL_DIR) $(1)/usr/lib + $(CP) ./files/* $(1)/ endef $(eval $(call BuildPackage,$(PKG_NAME))) diff --git a/libvoice-broadcom/files/lib/voice/codecs.json b/libvoice-broadcom/files/lib/voice/codecs.json new file mode 100644 index 000000000..c51d9e6b5 --- /dev/null +++ b/libvoice-broadcom/files/lib/voice/codecs.json @@ -0,0 +1,59 @@ +{ + "ulaw": { + "name": "G.711MuLaw", + "ptime_min": 10, + "ptime_max": 30, + "ptime_default": 20, + "ptime_increment": 10, + "bitrate": 64 + }, + "alaw": { + "name": "G.711ALaw", + "ptime_min": 10, + "ptime_max": 30, + "ptime_default": 20, + "ptime_increment": 10, + "bitrate": 64 + }, + "g726": { + "name": "G.726", + "ptime_min": 10, + "ptime_max": 30, + "ptime_default": 20, + "ptime_increment": 10, + "bitrate": 16 + }, + "g723": { + "name": "G.723.1", + "ptime_min": 10, + "ptime_max": 30, + "ptime_default": 30, + "ptime_increment": 30, + "bitrate": 5.3 + }, + "g729": { + "name": "G.729", + "ptime_min": 10, + "ptime_max": 30, + "ptime_default": 20, + "ptime_increment": 10, + "bitrate": 8 + }, + "ilbc": { + "name": "iLBC", + "ptime_min": 10, + "ptime_max": 30, + "ptime_default": 20, + "ptime_increment": 30, + "bitrate": 15.2 + }, + "gsm": { + "name": "GSM-AMR", + "ptime_min": 10, + "ptime_max": 30, + "ptime_default": 20, + "ptime_increment": 20, + "bitrate": 12.2 + } +} + diff --git a/libvoice-d2/Makefile b/libvoice-d2/Makefile index fabdf61b7..70f91cae7 100644 --- a/libvoice-d2/Makefile +++ b/libvoice-d2/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libvoice-d2 -PKG_RELEASE:=3 +PKG_RELEASE:=1 PKG_VERSION:=1.0.0 PKG_LICENSE:=PROPRIETARY PKG_LICENSE_FILES:=LICENSE diff --git a/voicemngr/Makefile b/voicemngr/Makefile index 0c2365a47..23c87039e 100644 --- a/voicemngr/Makefile +++ b/voicemngr/Makefile @@ -9,7 +9,8 @@ include $(TOPDIR)/rules.mk -include $(LIBVOICE_MAKE_OPTS) PKG_NAME:=voicemngr -PKG_VERSION:=0.1 +PKG_RELEASE:=1 +PKG_VERSION:=1.0.0 PKG_LICENSE:=PROPRIETARY PKG_LICENSE_FILES:=LICENSE