google / google/android-emulator-container-scripts

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

Open
#128 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.1k
Forks
294
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.