From 0b0ca08ee8a4954c59ea2421f7e7dfcf1272baff Mon Sep 17 00:00:00 2001
From: xengineering <me@xengineering.eu>
Date: Sun, 14 Jan 2024 12:04:06 +0100
Subject: doc: Use native audio codec for streaming

The music streaming documentation used to enforce re-encoding via ffmpeg
to save bandwidth. This led to pretty poor audio quality. This is not
the purpose of soundbox. It is assumed that the user wants the highest
possible audio quality as default.
---
 doc/documentation.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'doc/documentation.tex')

diff --git a/doc/documentation.tex b/doc/documentation.tex
index ddade37..7da906f 100644
--- a/doc/documentation.tex
+++ b/doc/documentation.tex
@@ -78,7 +78,7 @@ It will send a simple sine wave with 400~Hz to the soundbox device.
 Alternatively a mp3 file can be sent like this:
 
 \begin{verbatim}
-	ffmpeg -re -i '/path/to/file.mp3' -acodec libmp3lame -ar 11025 \
+	ffmpeg -re -i '/path/to/file.mp3' -acodec copy -ar 11025 \
 	    -f rtp rtp://<soundbox-ip>:5316
 \end{verbatim}
 
-- 
cgit v1.2.3-70-g09d2

