• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Play Audio
2
3Audio receiver for a cuttlefish instance. A binary to play audio from a remote
4Android virtual device.
5
6## Install Dependencies
7
8```
9git clone https://github.com/google/opuscpp
10sudo apt install libsdl2-2.0-0 libsdl2-dev libopus-dev libopus0 libgflags-dev libgoogle-glog-dev
11```
12
13## Build
14
15```
16make
17```
18
19## Run
20Use ssh port forwarding to forward `7444` from a running instance. Then run the
21`play_audio` binary.
22
23```
24./play_audio
25```
26
27If you are running multiple virtual devices on a host, you must pass the
28`device_num` flag to specify the device corresponding to the `vsoc-##` username,
29and you will have to add `1 - device_num` to the port that you forward (vsoc-02
30= port 7445).
31