Hi, I’m using a RPI2 with OSMC and Luna launcher addon. I’m having trouble with selecting the audio output device.
By default, when I launch something from Luna, the sound is streaming via HDMI to my TV, but I am using a USB soundcard on my raspberry which normally plays audio from Kodi, and I want the audio stream from Moonlight to go through the USB card as well, not my TV speakers.
The output form cat /proc/asound/cards is this:
0 [ALSA ]: bcm2835 - bcm2835 ALSA bcm2835 ALSA 1 [Device ]: USB-Audio - USB PnP Sound Device USB PnP Sound Device at usb-3f980000.usb-1.4, full speed
I’ve tried locating the moonlight-embedded config file but I just can’t seem to find it (I’m a noob at linux). My guess is if I edit the moonlight config file, anything that Luna lauches will play audio on whatever device is set in the conf file.
Also, when I try to start moonlight via SSH with the -audio “1” paramater it gives me:
Starting audio stream...ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM 1