Guest User

Untitled

a guest
Nov 10th, 2011
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.06 KB | None | 0 0
  1.  
  2.  
  3. # Audio Output ################################################################
  4. #
  5. # MPD supports various audio output types, as well as playing through multiple
  6. # audio outputs at the same time, through multiple audio_output settings
  7. # blocks. Setting this block is optional, though the server will only attempt
  8. # autodetection for one sound card.
  9. #
  10. # See <http://mpd.wikia.com/wiki/Configuration#Audio_Outputs> for examples of
  11. # other audio outputs.
  12. #
  13. # An example of an ALSA output:
  14. #
  15. audio_output {
  16. type "alsa"
  17. name "Pro-Ject USB Box"
  18. device "hw:1,0" # optional
  19. format "44100:16:2" # optional
  20. mixer_device "default" # optional
  21. mixer_control "PCM" # optional
  22. mixer_index "0" # optional
  23. # auto_resample "no"
  24. }
  25. #
  26. # An example of an OSS output:
  27. #
  28. #audio_output {
  29. # type "oss"
  30. # name "My OSS Device"
  31. # device "/dev/dsp" # optional
  32. # format "44100:16:2" # optional
  33. # mixer_device "/dev/mixer" # optional
  34. # mixer_control "PCM" # optional
  35. #}
  36. #
  37. # An example of a shout output (for streaming to Icecast):
  38. #
  39. #audio_output {
  40. # type "shout"
  41. # encoding "ogg" # optional
  42. # name "My Shout Stream"
  43. # host "localhost"
  44. # port "8000"
  45. # mount "/mpd.ogg"
  46. # password "hackme"
  47. # quality "5.0"
  48. # bitrate "128"
  49. # format "44100:16:1"
  50. # protocol "icecast2" # optional
  51. # user "source" # optional
  52. # description "My Stream Description" # optional
  53. # genre "jazz" # optional
  54. # public "no" # optional
  55. # timeout "2" # optional
  56. #}
  57. #
  58. # An example of a httpd output (built-in HTTP streaming server):
  59. #
  60. #audio_output {
  61. # type "httpd"
  62. # name "My HTTP Stream"
  63. # encoder "vorbis" # optional, vorbis or lame
  64. # port "8000"
  65. # quality "5.0" # do not define if bitrate is defined
  66. # bitrate "128" # do not define if quality is defined
  67. # format "44100:16:1"
  68. #}
  69. #
  70. # An example of a pulseaudio output (streaming to a remote pulseaudio server)
  71. #
  72. #audio_output {
  73. # type "pulse"
  74. # name "My Pulse Output"
  75. # server "remote_server" # optional
  76. # sink "remote_server_sink" # optional
  77. #}
  78. #
  79. ## Example "pipe" output:
  80. #
  81. #audio_output {
  82. # type "pipe"
  83. # name "my pipe"
  84. # command "aplay -f cd 2>/dev/null"
  85. ## Or if you're want to use AudioCompress
  86. # command "AudioCompress -m | aplay -f cd 2>/dev/null"
  87. ## Or to send raw PCM stream through PCM:
  88. # command "nc example.org 8765"
  89. # format "44100:16:2"
  90. #}
  91. #
  92. ## An example of a null output (for no audio output):
  93. #
  94. #audio_output {
  95. # type "null"
  96. # name "My Null Output"
  97. #}
  98. #
  99. # This setting will change all decoded audio to be converted to the specified
  100. # format before being passed to the audio outputs. By default, this setting is
  101. # disabled.
  102. #
  103. #audio_output_format "44100:16:2"
  104. #
  105. # If MPD has been compiled with libsamplerate support, this setting specifies
  106. # the sample rate converter to use. Possible values can be found in the
  107. # mpd.conf man page or the libsamplerate documentation. By default, this is
  108. # setting is disabled.
  109. #
  110. #samplerate_converter "Fastest Sinc Interpolator"
  111. #
  112. ###############################################################################
  113.  
  114.  
Advertisement
Add Comment
Please, Sign In to add comment