Skip to content

Is it possible to to redirect sounds through pulse audio socket/tcp #128

@D4GGe

Description

@D4GGe

Hi I tryied to get sound working in the emulator.
Started via creating a pulse audio server on my local machine and configure in the launch-emulator.sh in the folloing way:

setup_pulse_audio() {
  # We need pulse audio for the webrtc video bridge, let's configure it.
  mkdir -p /root/.config/pulse
  export PULSE_SERVER=tcp:192.168.1.234:34567
  pulseaudio -D -vvvv --log-time=1 --log-target=newfile:/tmp/pulseverbose.log --log-time=1 --exit-idle-time=-1
  tail -f /tmp/pulseverbose.log -n +1 | sed -u 's/^/pulse: /g' &
  pactl list || exit 1
}

But no luck there, then I stumbled over this file
https://github.com/google/android-emulator-container-scripts/blob/master/emu/templates/default.pa

And asume it is in here I need to configure more.
Could someone point me in the right direction?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions