Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Audio Output ################################################################
- #
- # MPD supports various audio output types, as well as playing through multiple
- # audio outputs at the same time, through multiple audio_output settings
- # blocks. Setting this block is optional, though the server will only attempt
- # autodetection for one sound card.
- #
- # See <http://mpd.wikia.com/wiki/Configuration#Audio_Outputs> for examples of
- # other audio outputs.
- #
- # An example of an ALSA output:
- #
- audio_output {
- type "alsa"
- name "Pro-Ject USB Box"
- device "hw:1,0" # optional
- format "44100:16:2" # optional
- mixer_device "default" # optional
- mixer_control "PCM" # optional
- mixer_index "0" # optional
- # auto_resample "no"
- }
- #
- # An example of an OSS output:
- #
- #audio_output {
- # type "oss"
- # name "My OSS Device"
- # device "/dev/dsp" # optional
- # format "44100:16:2" # optional
- # mixer_device "/dev/mixer" # optional
- # mixer_control "PCM" # optional
- #}
- #
- # An example of a shout output (for streaming to Icecast):
- #
- #audio_output {
- # type "shout"
- # encoding "ogg" # optional
- # name "My Shout Stream"
- # host "localhost"
- # port "8000"
- # mount "/mpd.ogg"
- # password "hackme"
- # quality "5.0"
- # bitrate "128"
- # format "44100:16:1"
- # protocol "icecast2" # optional
- # user "source" # optional
- # description "My Stream Description" # optional
- # genre "jazz" # optional
- # public "no" # optional
- # timeout "2" # optional
- #}
- #
- # An example of a httpd output (built-in HTTP streaming server):
- #
- #audio_output {
- # type "httpd"
- # name "My HTTP Stream"
- # encoder "vorbis" # optional, vorbis or lame
- # port "8000"
- # quality "5.0" # do not define if bitrate is defined
- # bitrate "128" # do not define if quality is defined
- # format "44100:16:1"
- #}
- #
- # An example of a pulseaudio output (streaming to a remote pulseaudio server)
- #
- #audio_output {
- # type "pulse"
- # name "My Pulse Output"
- # server "remote_server" # optional
- # sink "remote_server_sink" # optional
- #}
- #
- ## Example "pipe" output:
- #
- #audio_output {
- # type "pipe"
- # name "my pipe"
- # command "aplay -f cd 2>/dev/null"
- ## Or if you're want to use AudioCompress
- # command "AudioCompress -m | aplay -f cd 2>/dev/null"
- ## Or to send raw PCM stream through PCM:
- # command "nc example.org 8765"
- # format "44100:16:2"
- #}
- #
- ## An example of a null output (for no audio output):
- #
- #audio_output {
- # type "null"
- # name "My Null Output"
- #}
- #
- # This setting will change all decoded audio to be converted to the specified
- # format before being passed to the audio outputs. By default, this setting is
- # disabled.
- #
- #audio_output_format "44100:16:2"
- #
- # If MPD has been compiled with libsamplerate support, this setting specifies
- # the sample rate converter to use. Possible values can be found in the
- # mpd.conf man page or the libsamplerate documentation. By default, this is
- # setting is disabled.
- #
- #samplerate_converter "Fastest Sinc Interpolator"
- #
- ###############################################################################
Advertisement
Add Comment
Please, Sign In to add comment