Page 1 of 1

Status audio field format for DSD

Posted: May 11th, 2019, 4:03 pm
by zhelezov

I was writing a simple app in Rust using the mpd crate when I hit upon this issue. The supposed format for the audio field of the status command response is

Code: Select all

according to the docs. I get the following while playing a DSF file:

Code: Select all

OK MPD 0.20.0
volume: 100
repeat: 0
random: 0
single: 0
consume: 0
playlist: 76
playlistlength: 6
mixrampdb: 0.000000
state: play
song: 0
songid: 51
time: 16:629
elapsed: 16.253
bitrate: 2822
duration: 628.993
audio: dsd64:2
nextsong: 1
nextsongid: 52
Where can I find the specification for the possible formats of that field. The current implementation of the mpd crate expects three integer values separated with a column. Is it wrong in doing so?

Re: Status audio field format for DSD

Posted: May 13th, 2019, 9:53 am
by max
Read The Fine Manual!

Here ... d-s-status it says "audio: The format emitted by the decoder plugin during playback, format: *samplerate:bits:channels*. Check the user manual for a detailed explanation."

Here ... io-outputs the user manual tells you possible values.