From ace5d09662c8c3d9bcc0fe7f0679b4e467071b6b Mon Sep 17 00:00:00 2001 From: Paul Lietar Date: Thu, 25 Feb 2016 22:30:49 +0000 Subject: [PATCH] README.md: change instructions to use release builds. On embedded devices (which many people use librespot on), debug builds are too slow and produce choppy audio. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index eeb7334c..53d20b96 100644 --- a/README.md +++ b/README.md @@ -26,14 +26,14 @@ brew install portaudio protobuf Once you've cloned this repository you can build *librespot* using `cargo`. ```shell -cargo build +cargo build --release ``` ## Usage A sample program implementing a headless Spotify Connect receiver is provided. Once you've built *librespot*, run it using : ```shell -target/debug/librespot --appkey APPKEY --username USERNAME --cache CACHEDIR --name DEVICENAME +target/release/librespot --appkey APPKEY --username USERNAME --cache CACHEDIR --name DEVICENAME ``` ## Discovery mode @@ -43,7 +43,7 @@ dns-sd or avahi's compatibility layer is required for this. On debian/ubuntu thi It must be enabled at build time : ```shell -cargo build --features discovery +cargo build --release --features discovery ``` When running *librespot* simply omit the `--username` argument.