alvaron wroteHi Frank and dunghnguyen I was away and just returned to my shack.
I am using hifiberry dac in my config.sys wit i2sparameters on
the DAC is the Audiophonics ES9018Mk2 board....connected with just 4 i2s lines to the Pi3
the word lenght is 24 as instructed by you Frank !!!
Regards,
Alvaro
I tried with my case for board ES9018K2M as following photos
I edit the
/etc/mod.conf as Frank's instruction to add in
"*:24:*" then restart MPD by command
systemctl restart mpd that I have seen this
Click on MANUAL EDIT I have this.
Continue doing this but it failed that the MPD appeared as above photo
hondagx35 wrote
...
- edit the file "/srv/http/db/redis_acards_details"
Find your DAC and add "card_option":"format\t\"*:24:*\""
Here an example for the snd_rpi_hifiberry_dac
$redis->hSet('acards_details', 'snd_rpi_hifiberry_dac', '{"sysname":"snd_rpi_hifiberry_dac","extlabel":"HiFiBerry DAC (I²S)","hwplatformid":"01","type":"i2s"}');
to
$redis->hSet('acards_details', 'snd_rpi_hifiberry_dac', '{"sysname":"snd_rpi_hifiberry_dac","extlabel":"HiFiBerry DAC (I²S)","card_option":"format\t\"*:24:*\"","hwplatformid":"01","type":"i2s"}');
edit: changed it to the correct DAC
- execute these commands:
redis-cli del acards
php /srv/http/db/redis_acards_details
- reboot
...
Frank
This is the /etc/mpd.conf of mine
###################################
# Auto generated mpd.conf file
# please DO NOT edit it manually!
# Use RuneUI MPD config section
###################################
log_level "default"
log_file "/var/log/runeaudio/mpd.log"
state_file "/var/lib/mpd/mpdstate"
zeroconf_enabled "yes"
zeroconf_name "runeaudio"
bind_to_address "/run/mpd.sock"
bind_to_address "any"
port "6600"
max_connections "20"
user "mpd"
group "audio"
db_file "/var/lib/mpd/mpd.db"
sticker_file "/var/lib/mpd/sticker.sql"
pid_file "/var/run/mpd/pid"
music_directory "/mnt/MPD"
playlist_directory "/var/lib/mpd/playlists"
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
auto_update "no"
filesystem_charset "UTF-8"
id3v1_encoding "UTF-8"
volume_normalization "no"
audio_buffer_size "2048"
buffer_before_play "20%"
gapless_mp3_playback "yes"
mixer_type "disabled"
input {
plugin "curl"
}
decoder {
plugin "ffmpeg"
enabled "yes"
}
replaygain "off"
audio_output {
name "snd_rpi_hifiberry_dac"
type "alsa"
device "hw:1,0"
auto_resample "no"
auto_format "no"
format "*:24:*"
enabled "yes"
}
audio_output {
name "bcm2835 ALSA_1"
type "alsa"
device "hw:0,0"
auto_resample "no"
auto_format "no"
}
audio_output {
name "bcm2835 ALSA_2"
type "alsa"
device "hw:0,0"
auto_resample "no"
auto_format "no"
}
So do those above steps that you have been doing? Thanks.