<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<pre style="white-space: pre-wrap; color: rgb(0, 0, 0); font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Dear PulseAudio folks,
We are using PulseAudio in our automotive project, the progress is pretty good so far.
I need some help for solving the sync problems between two speakers.
</pre>
The pic below is the data flow of the two speakers:<br>
<br>
<img src="cid:part1.08010808.01020401@gmail.com" alt=""><br>
<br>
<br>
below is the pactl list modules information :<br>
<br>
uid=0 gid=0@nutshell:/ # pactl list sinks<br>
Using shared memory pool with 1024 slots of size 64.0 KiB each,
total size is 64.0 MiB, maximum usable slot size is 65496<br>
Trying to connect to /tmp/pulse/native...<br>
SHM possible: yes<br>
Protocol version: remote 30, local 30<br>
Negotiated SHM: yes<br>
Sink #0<br>
State: RUNNING<br>
Name: audioio.5<br>
Description: (null)<br>
Driver: module-audioio-sink.c<br>
Sample Specification: s16le 2ch 48000Hz<br>
Channel Map: front-left,front-right<br>
Owner Module: 3<br>
Mute: no<br>
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536
/ 100% / 0.00 dB<br>
balance 0.00<br>
Base Volume: 65536 / 100% / 0.00 dB<br>
Monitor Source: audioio.5.monitor<br>
Latency: 0 usec, configured 128000 usec<br>
Flags: HARDWARE DECIBEL_VOLUME LATENCY <br>
Properties:<br>
device.icon_name = "audio-card"<br>
Formats:<br>
pcm<br>
<br>
Sink #4<br>
State: RUNNING<br>
Name: audioio.0<br>
Description: (null)<br>
Driver: module-audioio-sink.c<br>
Sample Specification: s16le 2ch 48000Hz<br>
Channel Map: front-left,front-right<br>
Owner Module: 8<br>
Mute: no<br>
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536
/ 100% / 0.00 dB<br>
balance 0.00<br>
Base Volume: 65536 / 100% / 0.00 dB<br>
Monitor Source: audioio.0.monitor<br>
Latency: 0 usec, configured 128000 usec<br>
Flags: HARDWARE DECIBEL_VOLUME LATENCY <br>
Properties:<br>
device.icon_name = "audio-card"<br>
Formats:<br>
pcm<br>
<br>
Sink #5<br>
State: RUNNING<br>
Name: audioio.1<br>
Description: (null)<br>
Driver: module-audioio-sink.c<br>
Sample Specification: s16le 2ch 48000Hz<br>
Channel Map: front-left,front-right<br>
Owner Module: 9<br>
Mute: no<br>
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536
/ 100% / 0.00 dB<br>
balance 0.00<br>
Base Volume: 65536 / 100% / 0.00 dB<br>
Monitor Source: audioio.1.monitor<br>
Latency: 228454 usec, configured 250000 usec<br>
Flags: HARDWARE DECIBEL_VOLUME LATENCY <br>
Properties:<br>
device.icon_name = "audio-card"<br>
Formats:<br>
pcm<br>
<br>
Sink #6<br>
State: RUNNING<br>
Name: audioio.6<br>
Description: audioio.0, audioio.1<br>
Driver: module-iauto-combine-sink.c<br>
Sample Specification: s16le 2ch 48000Hz<br>
Channel Map: front-left,front-right<br>
Owner Module: 7<br>
Mute: no<br>
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536
/ 100% / 0.00 dB<br>
balance 0.00<br>
Base Volume: 65536 / 100% / 0.00 dB<br>
Monitor Source: audioio.6.monitor<br>
Latency: 130235 usec, configured 250000 usec<br>
Flags: DECIBEL_VOLUME LATENCY <br>
Properties:<br>
device.class = "filter"<br>
combine.slaves = "audioio.0,audioio.1"<br>
device.description = " audioio.0, audioio.1"<br>
device.icon_name = "audio-card"<br>
Formats:<br>
pcm<br>
<br>
<br>
without any syncing method, what we hear from the front-speaker
is ahead of the rear-speaker (real-spear is slower for sure), our
goal is that make the rear-speaker almost sync with (or catch up)
the front speaker.<br>
<br>
so my question is how, is there any good way to solve it in our
existing framework ? <br>
<br>
Thanks! (sorry for my bad explanation since English is not my
native language)<br>
<br>
<br>
<br>
BR,<br>
Lixin<br>
</body>
</html>