GioF71 / tidal-connect

Simple script for configuring Tidal Connect with Docker (also on Volumio, MoodeAudio, OSMC)
MIT License
64 stars 6 forks source link

Apple USB-C to 3.5mm Headphone Jack on Moode with softvol #187

Closed zamiere closed 2 hours ago

zamiere commented 6 days ago

MoOde Release: 8.3.9 2024-02-23 RaspiOS: 11.9 Bullseye 32-bit

cat /proc/asound/cards
 1 [A              ]: USB-Audio - USB-C to 3.5mm Headphone Jack A
                      Apple, Inc. USB-C to 3.5mm Headphone Jack A at usb-3f980000.usb-1.5, full speed

.env:

MQA_PASSTHROUGH=true
FRIENDLY_NAME=Tidal Connect
ENABLE_GENERATED_TONE=no
CARD_NAME=DAC
CARD_FORMAT=S24_3LE
ENABLE_SOFTVOL=yes
ASOUND_FILE_PREFIX=applejack

userconfig/applejack.asound.conf:

pcm.softvol {
    type            softvol
    slave {
        pcm         "hw:CARD=A,DEV=0"
    }
    control {
        name        "SoftMaster"
        card        "A"
    }
}

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

ctl.!default {
    type hw
    card "A"
}
GioF71 commented 2 days ago

Have you considered the other solutions? BubbleUPnP against mpd+upmpdcli would solve all those issues easily.

zamiere commented 2 days ago

The closest I came to a solution was here.

zamiere commented 2 days ago

I don't know, this little Apple DAC works well with default config. Now I know if it's hang up, I must clear the orphan devices with alsactl clean and rebuild image (when devices changing). We can close this issue, I will work on another DAC in the next days because it's really fun! :) Thanks for info and help!

GioF71 commented 2 days ago

It has been fun for me as well. Give a try to the other solution... mpd and upmpdcli can be easily installed using docker, so very easy. Let me know if you need some help with that!