1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
mus_player - Play flac files
============================
Description
-----------
+--------------------------------------------------------------------------------+
| NAME |
| mus_player - Audio player |
| |
| SYNOPSIS |
| mus_player [-hqQv] [-d AO_DRIVER] [-i SOCKET] [-n START_POS] |
| [-r album|track|none] [-s CMD] FILE... |
| |
| DESCRIPTION |
| Simple audio player supporting 16 bits mono and stereo files. |
| |
| This binary was compiled with support for the following formats: |
| FLAC |
| |
| OPTIONS |
| -h |
| Print this notice and exit. |
| |
| -d AO_DRIVER |
| Force the libao driver to AO_DRIVER. |
| |
| -i SOCKET |
| Enable IPC with SOCKET as the UNIX domain socket used to communicate. |
| See IPC.txt for more information. |
| |
| -n START_POS |
| Start playback at track number START_POS. |
| |
| -q |
| Suppress all output. |
| |
| -r album|track|none |
| Choose the ReplayGain type to use; "none" will disable ReplayGain. |
| Defaults to "album". |
| |
| -s CMD |
| Execute CMD via sh(1) with the output of the STATUS command as stdin |
| for each player status and track change. |
| |
| -v |
| Print version, supported formats and exit. |
| |
+--------------------------------------------------------------------------------+
See IPC.txt for more information about the various commands accepted by the IPC
mechanism.
Dependencies and portability
----------------------------
* C11 compiler (build)
* gperf (build)
* pthread
* libao
* libflac (optional)
* vorbisfile (optional)
* opusfile (optional)
Building and installing
-----------------------
To build and install mus_player (default options shown inside brackets); you'll
have to specify a different CC, since mus_player is C11:
$ [CC=c99] [LTO=false] [NATIVE=false] [USE_FLAC=true] [USE_OGG_VORBIS=false] [USE_OGG_OPUS=false] ./build_player.sh
# [DESTDIR=] [PREFIX=/usr/local] ./build_player.sh install
To uninstall:
# [DESTDIR=] [PREFIX=/usr/local] ./build_player.sh uninstall
Idem with build_udsend.sh instead of build_player.sh for the mus_udsend IPC
tool.