mpd with ONKYO SE90PCI on Ubuntu 12.10

端末からaplay -lを実行

aplay -l
**** ハードウェアデバイス PLAYBACK のリスト ****
カード 0: SE90PCI [ONKYO SE90PCI], デバイス 0: ICE1724 [ICE1724]
サブデバイス: 0/1
サブデバイス #0: subdevice #0
カード 0: SE90PCI [ONKYO SE90PCI], デバイス 1: ICE1724 IEC958 [ICE1724 IEC958]
サブデバイス: 1/1
サブデバイス #0: subdevice #0

mpd.conf に以下を挿入

audio_output {
type            “alsa”
name            “ONKYO SE90PCI”
device          “hw:0,1”        # optional
}

audio_output {
type            “alsa”
name            “ONKYO SE90PCI Analog”
device          “hw:0,0”        # optional
}

sampling rateはalsamixier を端末からsudoで起動して設定する。

mpd(Music Player Daemon)備忘録

/etc/modprobe.d/alsa-base.conf

最終行を0に変更(USB-DAC)を使う

cd /etc/avahi/services

mpd.servise

<?xml version=”1.0″ standalone=’no’?>
<!DOCTYPE service-group SYSTEM “avahi-service.dtd”>
<service-group>
<name replace-wildcards=”yes”>%h <service>
<type>_mpd._tcp</type>
<port>6600</port>
</service>
</service-group>

/etc/mpd.confを設定

zeroconf_enabled  “yes”

zeroconf_name “hogehoge”

bind_to_address “any”

bind_to_address のコメントアウトを外す。