Moode Forum
No Output, Maybe because not able to change the hw device - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: Audiophile (https://moodeaudio.org/forum/forumdisplay.php?fid=32)
+--- Forum: Audio gear (https://moodeaudio.org/forum/forumdisplay.php?fid=10)
+--- Thread: No Output, Maybe because not able to change the hw device (/showthread.php?tid=6338)



No Output, Maybe because not able to change the hw device - fegrue - 03-19-2024

Hi,
i'm coming from Daphile and have to switch to Moode because of Tidal which isnt supported anymore because of logitech.
Now i have bought a raspi 4 to test the whole thing, but i am not able to change the soundcard like daphile. My Soundcard does have a chinch output and an optical output, and also a headphone jack, so three outputs. in Daphile i can change them, but i haven't found a simple solution in moode. in the attachmentes there is a screenshort of daphile. 


could you tell me where i can change the devices to switch to the correct one? That would be nice, thanks!

fegrue


RE: No Output, Maybe because not able to change the hw device - Tim Curtis - 03-19-2024

What shows up in the "Output device" dropdown in Audio Config?


RE: No Output, Maybe because not able to change the hw device - fegrue - 03-19-2024

This  is the output. It sais at the bottom, that you can use hw:2:0 which i want to switch...


RE: No Output, Maybe because not able to change the hw device - Tim Curtis - 03-19-2024

in the string "hw,2,0" the number 2 is the card number assigned by ALSA and 0 is the device number. moOde currently only uses the card number and defaults the device number to 0.

Whats the output of the command below? It wil list by card number all the devices for a given card.

Code:
aplay -l



RE: No Output, Maybe because not able to change the hw device - fegrue - 03-20-2024

Thisis the output. I have three subdevices and want to use another one.


RE: No Output, Maybe because not able to change the hw device - Tim Curtis - 03-20-2024

(03-20-2024, 10:34 AM)fegrue Wrote: Thisis the output. I have three subdevices and want to use another one.

Please post the text output and not an image. It's easier to use if I need to copy parts of the text.


RE: No Output, Maybe because not able to change the hw device - fegrue - 03-20-2024

Okay, sorry:

Code:
**** List of PLAYBACK Hardware Devices ****
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
 Subdevices: 4/4
 Subdevice #0: subdevice #0
 Subdevice #1: subdevice #1
 Subdevice #2: subdevice #2
 Subdevice #3: subdevice #3
card 0: b1 [bcm2835 HDMI 1], device 1: bcm2835 HDMI 1 [bcm2835 HDMI 1]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
 Subdevices: 4/4
 Subdevice #0: subdevice #0
 Subdevice #1: subdevice #1
 Subdevice #2: subdevice #2
 Subdevice #3: subdevice #3
card 2: S51 [SB Omni Surround 5.1], device 0: USB Audio [USB Audio]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 2: S51 [SB Omni Surround 5.1], device 1: USB Audio [USB Audio #1]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 2: S51 [SB Omni Surround 5.1], device 2: USB Audio [USB Audio #2]
 Subdevices: 1/1
 Subdevice #0: subdevice #0



RE: No Output, Maybe because not able to change the hw device - fegrue - 03-21-2024

Okay, I've tested this command and that worked for me, i was able to hear a sound. But how can i tell  Moode to play via this dev? 

Code:
aplay -D plughw:2,1  /usr/share/sounds/alsa/Front_Left.wav



RE: No Output, Maybe because not able to change the hw device - Tim Curtis - 03-21-2024

Not really possible since "device_number" in strings like "plughw:2,device_number" is hard coded to 0 in the sources.

I have a TODO list item for upcoming moOde 9.0.0 release (Q2 2024) to code for multiple device_number's but no guarantee it will make it into the release.