Rydra / bgm-for-es

A python script to run background music in EmulationStation for Retropie
26 stars 11 forks source link

Music plays by default to the HDMI output #21

Open hacky97 opened 11 months ago

hacky97 commented 11 months ago

It would be nice if the default output could be set to headphones or another device, just like the game sounds and the menu sounds. Now it tries to play through HDMI even though my screen does not have audio output or speakers.

hacky97 commented 10 months ago

I finally found the solution for my Pi3 with headphone output: Just had to copy the default .asoundrc from the wiki , but with the "card 1" instead of "card 0". Would be nice if the card could be selected in the config of bgm-for-es. I found the appropriate parameters that the mixer.init() function would accept.