- FOSTEX HP-A3を使用するとSpotify Connect Pluginがどうも不安定。時々再生がとまってしまうため、ALSAでdmixを経由することにする。
- Volumio2でMIXERをSoftwareに変更する(このとき/etc/asound.confが生成される)
- HP-A3はレートは96000Hz固定、解像度はS16_LE、S24_3LE固定。デフォルトだと96000/S16_LEとなるので、96000/S24_3LEに変換する
Last active
August 8, 2019 20:11
-
-
Save mamemomonga/37c7b7fd6c494f76141e8b79a15e0648 to your computer and use it in GitHub Desktop.
Volumio+HP-A3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# speexサンプルレートコンバータを使用 | |
# libasound2-pluginsが必要 | |
# apt install libasound2-plugins | |
defaults.pcm.rate_converter "speexrate_best" | |
pcm.softvolume { | |
type plug | |
slave.pcm "softvol" | |
} | |
pcm.softvol { | |
type softvol | |
slave { | |
pcm "pcm.dmixer" | |
} | |
control { | |
name "SoftMaster" | |
card 1 | |
device 0 | |
} | |
max_dB 0.0 | |
min_dB -50.0 | |
resolution 100 | |
} | |
pcm.dmixer { | |
type dmix | |
ipc_key 1024 | |
slave { | |
# FOSTEX HP-A3(aplay -lで確認) | |
pcm "hw:1,0" | |
rate 96000 | |
format S24_3LE | |
period_time 0 | |
period_size 1024 | |
buffer_size 8192 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment