No Audio from USB DAC Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
Antod10
Posts: 15
Joined: Mon Dec 21, 2020 12:07 pm

No Audio from USB DAC

Post by Antod10 »

Hi! I'm trying to connect a Qudelix 5k USB DAC to my Pi4 running DietPi 6.34.3, LMS and SqueezeLite, but i get no sound from it.

I have tried to change the sound-card to usb-dac from audio settings but can't get it working
Antod10
Posts: 15
Joined: Mon Dec 21, 2020 12:07 pm

Re: No Audio from USB DAC

Post by Antod10 »

Any help please?
User avatar
MichaIng
Site Admin
Posts: 3231
Joined: Sat Nov 18, 2017 6:21 pm

Re: No Audio from USB DAC

Post by MichaIng »

Does the following show the DAC? aplay -l
And do you head something when running: speaker-test
Sometimes sound cards come muted by default, please have a look into alsamixer and raise sound levels or toggle mute switches.
Antod10
Posts: 15
Joined: Mon Dec 21, 2020 12:07 pm

Re: No Audio from USB DAC

Post by Antod10 »

1) Yes, it shows up
2) I got this messagges:
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Sample format not available for playback: Invalid argument
Setting of hwparams failed: Invalid argument
3) Volume is fine

I saw that after choosing the card in dietpi-config and rebooting, LMS won't even start play the song
User avatar
MichaIng
Site Admin
Posts: 3231
Joined: Sat Nov 18, 2017 6:21 pm

Re: No Audio from USB DAC

Post by MichaIng »

Please try to enable the conversion plugin in dietpi-config > Audio Options.
Antod10
Posts: 15
Joined: Mon Dec 21, 2020 12:07 pm

Re: No Audio from USB DAC

Post by Antod10 »

Thanks, now works fine!
User avatar
MichaIng
Site Admin
Posts: 3231
Joined: Sat Nov 18, 2017 6:21 pm

Re: No Audio from USB DAC

Post by MichaIng »

Great to hear, so it was quite worth it to add this feature with last DietPi version 8).
firedog
Posts: 10
Joined: Sat Mar 07, 2020 5:17 pm

Re: No Audio from USB DAC

Post by firedog »

I'm having a similar problem. No sound output from USB DAC when using Squeezelite.
With other software (not SL) I do get playback from my DAC.
I see two soundcards in my Pi setup: soundcard 0 is default pi, bcm 2835
soundcard 1 is the DAC name

alsa is set to 100%

both outputs work and produce sound when not using Squeezelite, with other network software (playback software such as Roon Bridge, HQP NAA, etc.
When I try to playback with SL, I get no sound output. Acc'd to LMS setup, everything looks okay.

Any ideas?
User avatar
MichaIng
Site Admin
Posts: 3231
Joined: Sat Nov 18, 2017 6:21 pm

Re: No Audio from USB DAC

Post by MichaIng »

Did you try to enable the auto-conversion plugin, which solved the OP issue?
firedog
Posts: 10
Joined: Sat Mar 07, 2020 5:17 pm

Re: No Audio from USB DAC

Post by firedog »

Hi-
Yes, I tried that. Didn't help.
It's definitely some issue just with SL and LMS, as all other playback software I've tried, including network based ones, works.
Post Reply