summaryrefslogtreecommitdiff
path: root/doc/documentation.tex
diff options
context:
space:
mode:
Diffstat (limited to 'doc/documentation.tex')
-rw-r--r--doc/documentation.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/documentation.tex b/doc/documentation.tex
index a74403d..230f25c 100644
--- a/doc/documentation.tex
+++ b/doc/documentation.tex
@@ -72,16 +72,16 @@ As soon as the soundbox is listening the stream can be send from another
computer in the same network with this command:
\begin{verbatim}
- ffmpeg -re -f lavfi -i aevalsrc="sin(400*2*PI*t)" -ar 8000 -f mulaw \
- -f matroska udp://224.0.0.99:5316
+ ffmpeg -re -f lavfi -i aevalsrc="sin(400*2*PI*t)" \
+ -acodec libmp3lame -f matroska udp://224.0.0.99:5316
\end{verbatim}
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 <file-path> -acodec copy -ar 11025 \
- -f matroska udp://224.0.0.99:5316
+ ffmpeg -re -i <file-path> \
+ -acodec copy -f matroska udp://224.0.0.99:5316
\end{verbatim}
These commands allow to test the \texttt{soundbox} device setup.