Install Docker desktop on macā
Install pulseaudio on host machine (mac) to support audio routing
$ brew install pulseaudio
$ pulseaudio --load=module-native-protocol-tcp --exit-idle-time=-1 --daemon
$ pulseaudio --check -v
update "config.json" file and pass it as volume param while running docker in next step.
directory structure
.
āāā config.json
$ docker run -it -e PULSE_SERVER=docker.for.mac.localhost -v ~/.config/pulse:/home/pulseaudio/.config/pulse --rm kptdev01/aacdemo:sampleapp bash
After logging into the docker, run the below command
$ LD_LIBRARY_PATH=/opt/AAC/lib /opt/AAC/bin/SampleApp --cbreak --config /opt/AAC/etc/config.json --menu /opt/AAC/etc/menu.json
Content type
Image
Digest
Size
321.7 MB
Last updated
over 6 years ago
docker pull kptdev01/aacdemo:sampleapp