* pcm: dmix: fix access to sum-buffer in non-interleaved mixing mode
[not found] <1597325379999676943-webhooks-bot@alsa-project.org>
@ 2020-08-13 13:29 ` GitHub pull_request - opened
0 siblings, 0 replies; only message in thread
From: GitHub pull_request - opened @ 2020-08-13 13:29 UTC (permalink / raw)
To: alsa-devel
alsa-project/alsa-lib pull request #78 was opened from vijaypalaniswamy:
When dmix uses non-interleaved mixing mode the offset and step width
to sum_buffer was calculated by using the dmix channels instead of
the slave channels. This leads to audio distortions due to frame
corruption.
example:
- With below configuratio, Do aplay on both device in parallel for
audio distortion
pcm.dmix_2_channels {
type dmix
ipc_key 5678293
ipc_perm 0660
ipc_gid audio
bindings [0 1]
slave {
pcm "hardware"
channels 2
periods 4
period_time 40000
}
}
pcm.dmix_1_channels {
type dmix
ipc_key 5678293
ipc_perm 0660
ipc_gid audio
bindings [0]
slave {
pcm "hardware"
channels 1
periods 4
period_time 40000
}
}
pcm.hardware {
type hw
card 0
channels 2
rate 48000
format S16_LE
}
Signed-off-by: Vijay Palaniswamy <vijay.palaniswamy@in.bosch.com>
Request URL : https://github.com/alsa-project/alsa-lib/pull/78
Patch URL : https://github.com/alsa-project/alsa-lib/pull/78.patch
Repository URL: https://github.com/alsa-project/alsa-lib
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-13 13:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1597325379999676943-webhooks-bot@alsa-project.org>
2020-08-13 13:29 ` pcm: dmix: fix access to sum-buffer in non-interleaved mixing mode GitHub pull_request - opened
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).