RetroPie forum home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Split/clone HDMI/Headphone Audio?

    Help and Support
    audio hdmi kodi
    2
    2
    164
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ParadoxGBB
      ParadoxGBB last edited by ParadoxGBB

      Hello,

      There's been a change in Raspberry Pi OS that changes how audio is handled that's been discussed here tons, and I'm not going to relitigate here, but it might be contributing to what I'm experiencing.

      My setup is a RPi4, and I connect to one HDMI output to a TV and another with composite/headphones output snaked to a bluetooth transmitter to noise-cancelling earphones. What I appreciate is the flexibility of having both audio sources play and having only one powered on at a given time (mute the TV, or power off the transmitter), and not having to go through software options each time.

      Kodi does this very well on the Pi, they have the option:
      <setting id="audiooutput.audiodevice">PI:Both</setting>

      And that works great.

      I could have sworn since the kernel updates last year that I had the same experience with mirrored audio output for ES / emulators as well, but that might not be the case. I tried setting the legacy compatibility settings in boot.txt as documented but could not get that working, so I could be incorrect on that.

      Anyone know if it's possible to fork audio output on both HDMI and headphones? I'm not as linux savvy as others here, so apologies if this is a newbie question.

      I currently have the settings as "HDMI" in audio settings and

      Device: Default
      Card: HDMI
      OSX: ALSA

      For emulationstation.

      Thanks in advance!

      -=G=-

      1 Reply Last reply Reply Quote 0
      • mitu
        mitu Global Moderator last edited by

        There is some configuration that can be done by modifying the ALSA configuration file ($HOME/.asoundrc), but looks complicated and there's no 'one-size-fits-all' solution (depends on the devices present on the system).

        You could try installing PulseAudio and configure the module-combine for simultaneous output.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.