A previous posting by Frank implies that adding
- Code: Select all
format "*:16:*"
My USB interface is not listed in /srv/http/db/redis_acards_details, so how would I make the configuration permanent?
by R101 » 23 Jul 2018, 11:42
format "*:16:*"
by hondagx35 » 23 Jul 2018, 18:01
, but root does not have permission to edit the file, or to change the permissions.
chattr -i /etc/mpd.conf
My USB interface is not listed in /srv/http/db/redis_acards_details, so how would I make the configuration permanent?
by R101 » 23 Jul 2018, 20:53
by s.k. » 24 Jul 2018, 08:12
by R101 » 24 Jul 2018, 11:09
by hondagx35 » 24 Jul 2018, 17:08
audio_output {
name "PianoDACPlus"
type "alsa"
device "hw:1,0"
mixer_control "Digital"
mixer_type "hardware"
mixer_device "hw:1"
auto_resample "no"
auto_format "no"
format "*:16:*"
}
cat /proc/asound/card*/pcm*p/sub*/hw_params
closed
closed
closed
closed
closed
closed
closed
closed
closed
access: RW_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 192000 (192000/1)
period_size: 16384
buffer_size: 65536
audio_output {
name "PianoDACPlus"
type "alsa"
device "hw:1,0"
mixer_control "Digital"
mixer_type "hardware"
mixer_device "hw:1"
auto_resample "no"
auto_format "no"
format "*:16:*"
}
cat /proc/asound/card*/pcm*p/sub*/hw_params
closed
closed
closed
closed
closed
closed
closed
closed
closed
access: RW_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 192000 (192000/1)
period_size: 16384
buffer_size: 65536
by R101 » 24 Jul 2018, 21:28
root@runeaudio(rw):~# cat /proc/asound/card*/pcm*p/sub*/hw_params
access: RW_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 5513
buffer_size: 22050
closed
closed
closed
closed
closed
closed
closed
closed
closed
root@runeaudio(rw):~#
by tml3nr » 25 Jul 2018, 04:25
hondagx35 wrote:Hi R101,
i did a quick test and it works like it should.
The info on the playback screen is not the actual playing format it is the format from the file.
Playing a 32 Bit File with untouched mpd.conf
- Code: Select all
audio_output {
name "PianoDACPlus"
type "alsa"
device "hw:1,0"
mixer_control "Digital"
mixer_type "hardware"
mixer_device "hw:1"
auto_resample "no"
auto_format "no"
}
- Code: Select all
cat /proc/asound/card*/pcm*p/sub*/hw_params
- Code: Select all
closed
closed
closed
closed
closed
closed
closed
closed
closed
access: RW_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 192000 (192000/1)
period_size: 16384
buffer_size: 65536
Now with modified mpd.conf
- Code: Select all
audio_output {
name "PianoDACPlus"
type "alsa"
device "hw:1,0"
mixer_control "Digital"
mixer_type "hardware"
mixer_device "hw:1"
auto_resample "no"
auto_format "no"
format "*:16:*"
}
- Code: Select all
cat /proc/asound/card*/pcm*p/sub*/hw_params
- Code: Select all
closed
closed
closed
closed
closed
closed
closed
closed
closed
access: RW_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 192000 (192000/1)
period_size: 16384
buffer_size: 65536
Frank
by R101 » 25 Jul 2018, 13:04
by hondagx35 » 25 Jul 2018, 16:07
support RuneAudio