2014年8月10日日曜日

mpd.configの編集

mpd.configの編集。これは最低限必要になる。
vi /etc/mpd.conf
まず、バッファーの調整
audio_buffer_size               "512"
#
# This setting controls the percentage of the buffer which is filled before
# beginning to play. Increasing this reduces the chance of audio file skipping,
# at the cost of increased time prior to audio playback.
#
buffer_before_play              "100%"

ここの数値でノイズが入ったり音の安定感が無くなったりするので無理しない程度に調整が必要。


次はミキサーの設定。ソフトでボリュームを触らないならmixer_type  "disabled"にすればよい。

#mixer_type                     "hardware"
#
# An example for controlling all mixers through software. This will control
# all controls, even if the mixer is not supported by the device and will not
# affect any other sound producing applications.
#
#mixer_type                     "software"
#
# This example will not allow MPD to touch the mixer at all and will disable
# all volume controls.
#
mixer_type                      "disabled"

一番最後に
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
zeroconf_enabled "yes"
zeroconf_name "Voyage Music Player"
#mixer_type "hardware"
bind_to_address "0.0.0.0"

ここにも記述があるので注意が必要。

0 件のコメント:

コメントを投稿