You are not logged in.

#1 2019-11-21 17:34:48

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,563

[Solved] Is it possible to get a bit-perfect JACK setup with mpd?

I had an mpd setup that was plugged mainly to ALSA to output to my USB DAC and I could then play my DSD files bit-perfect in much higher sample rates. But I started having a need for JACK so now I have to route my mpd via JACK. However JACK won't give the DAC higher than 48000 Hz.
I am using Cadence to configure JACK. For some reason Cadence doesn't allow to set a higher sample rate. Every time I set a higher sample rate manually, it reverts back to where it was once I start the server.

Could this be a DBus issue?

For the bridge, I am using the ALSA -> JACK (Plugin) setup through Cadence that generated ~/.asoundrc. I also don't use Pulseaudio.

Here is my ~/.asoundrc:

pcm.!default {
    type plug
    slave { pcm "jack" }
}

pcm.jack {
    type jack
    playback_ports {
        0 system:playback_1
        1 system:playback_2
    }
    capture_ports {
        0 system:capture_1
        1 system:capture_2
    }
}

ctl.mixer0 {
    type hw
    card 0
}

And here is part of mpd.conf:

audio_output {
    type                        "jack"
    name                        "JACK Device"
	#type                        "alsa"
	#name                        "Cambridge Audio DAC"
	device                      "hw:0,0"
	#auto_resample              "no"
	#auto_format                "no"
	#auto_channels              "no"
	#replay_gain_handler        "none"
	#mixer_device               "default"
	mixer_type                  "none"
}

Any thoughts?

Last edited by d_fajardo (2019-11-21 19:07:50)

Offline

#2 2019-11-21 19:07:31

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,563

Re: [Solved] Is it possible to get a bit-perfect JACK setup with mpd?

Found the solution. I had to use Catia to set the higher samples. The caveat is now JACK plays everything at 192000 Hz. It's probably not possible to have a variable sample rate in JACK. Anyway, I'll mark this as solved.

Offline

Board footer

Powered by FluxBB