Status audio field format for DSD

Discuss client development (or even MPD development if you feel so inclined), ask questions about the client libs, MPD feature requests from client developers, etc...
Post Reply
Posts: 1
Joined: May 11th, 2019, 3:52 pm

Status audio field format for DSD

Post 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?
Forum team
Posts: 1158
Joined: January 15th, 2013, 3:43 pm

Re: Status audio field format for DSD

Post 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.
Post Reply