From eeba1e680631083b3b854a6ef83cb39032161e08 Mon Sep 17 00:00:00 2001 From: Rafael Caricio Date: Sun, 26 Mar 2023 22:35:21 +0200 Subject: [PATCH] Update readme --- README.md | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d9032fb..75183cf 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,29 @@ -# ${REPO_NAME} +# Audio Commands using DTMF -${REPO_DESCRIPTION} +This is a simple example of how to use DTMF elements of GStreamer with ergonomic Rust code. + +## Installation + +You will need to install the following dependencies from homebrew: + +```bash +brew install gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav +``` + +Edit the gst-plugins-bad formula to add the following line: + +```ruby +depends_on "spandsp" +``` + +Set the following environment variables: + +```bash +export HOMEBREW_NO_INSTALL_FROM_API=1 +``` + +Then reinstall the formula from source: + +```bash +brew reinstall --build-from-source gst-plugins-bad +```