Zao SDK for Jetson / libzep API Reference
|
This is a sample program to send audio data received (Sink) from the cloud side to the Playback device recognized by ALSA for playback.
Follow the build instructions to obtain audio-sink-alsa/ZaoAudioSinkAlsa. ZaoAudioSinkAlsa is not set up to run automatically depending on your SDK setup. Please enable zao-audio-sink.service and install the built binaries with the following command and restart Jetson.
-d <device>
: specify ALSA device name.-d <device>
: specifies a PCM device name enumerated by aplay -L
, etc. * Example: -dplug httpd -L
: specifies a PCM device name.-dplug hw:CARD=2
.-s <stream_name>
: specify stream name.-s <stream_name>
: specify one stream name to connect to.external
: receive from additional external audio (send-back audio).external
is used.-p <link-path>
: Specify a path for linking.-p <link-path>
: path for linking with ZaoRemoteEndpoint.unix:///run/zao/RemoteEndpoint.sock
.