softhddevice with multiple audio-outputs

  • Hi,

    I wonder if it is possible to have softhddevice to output the sound to multiple outputs? I have my tv connected to a Gforce GT1030, and my headphones to the motherboards analog audio output. Both audioroutes work, but indifidually..

    Code
    # Gforce HDMI
    -a hw:CARD=NVidia,DEV=3
    -d :0.0
    -f
    -v vdpau
    -xx
    Code
    # Analog audio
    -a -a hw:CARD=SB,DEV=0
    -d :0.0
    -f
    -v vdpau
    -xx

    I had such a setup with xineliboutput, but i lost my setting, and i can't get to work anymore :(

  • Use /etc/asound.conf for it, to create virtual multiple output device.

    You can set only one device for softhddevice.

    Hi Rene,

    when you have mastered that, please let us (especially me :saint:) know how you did it, because I have not been able to put together a working config ?(.

    Thanks in advance and cheers,
    Chriss

    Signatur

    Stand: 17 Nov. 2024

    Server: VDR 2.6.6, Kubuntu 24.04, 6.8.0-48-generic Kernel

    HW: Intel i5-6500, 16GB RAM, DD Cine S2 V6.5, MSI Z170-A Pro, SeaSonic S12II 330W, Samsung 860 QVO 1TB + WD 1,5TB Caviar Green, iMon-LCD, Plugins: softhddevice, epg2vdr, lcdproc, markad, skindesigner, statusleds, streamdev-server, svdrpservice, vnsiserver
    Dienste: Samba, DNS, Mail, LAMP, VDR-Server für
    Client: RPi 3b+, VDR 2.4.0, OSMC

  • Hi,

    Thanks for the hint! I will have a look, and hopefully i will manage to get this to work :) First I have thogh to figure out how to get the plugin to output any sound to alsa, because what I have tried til now seem to return just silence :(

  • I got now some progress..



    This plays the sound in through both devices. What i have not yet figuredout is how to force softhddevice to play to this new device..


    to be continued...

  • Ok. Unfortunately no combination seems to work. I would assume that multiout is the device to use, but that brings silence. All other combinations i have tested play the sound either via HDMI or the audio out port :(

  • BINGO!

    Now i got it working! My asound.conf was wrong. I found the working /etc/asound.conf configuration here: https://bbs.archlinux.org/viewtopic.php?pid=1191152#p1191152

    So this is what is needed for vdr to get softhddevice working with two cards. First identify you cards. Here is how it looks for me

    My internal card is card 0 and my Geforce hdmi card is card 1. You can use many notation ways: hw:0,0 and hw:1,3 OR hw:CARD=SB,DEV=0 and hw:CARD=NVidia,DEV=3 OR probably any prefix visible by aplay -L

    Next my vdr softhddevice config file looks like this.

    Code
    -a default
    -d :0.0
    -f
    -v vdpau
    -xx

    and /etc/asound.conf looks like this:

    You can reload alsa with alsa force-reload or reboot your vdr


    That's it :) :thumbup:

    Edited once, last by Rene: Typos (July 1, 2025 at 9:03 PM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!