summaryrefslogtreecommitdiffstats
path: root/src/tests/sync-playback.c
diff options
context:
space:
mode:
authorJyri Sarha <jyri.sarha@nokia.com>2010-10-15 13:05:14 +0300
committerColin Guthrie <cguthrie@mandriva.org>2010-10-16 11:53:38 +0100
commit5391daf8dfcae45c6abb74c0a5ff9b7c50e3c000 (patch)
tree15c43282a7b2be2d4fc2a73b251d5ec90926236c /src/tests/sync-playback.c
parent179b291b18b9a7366955948ce0ddfb2e65a6b66e (diff)
core: Add infrastructure for synchronizing HW and SW volume changes
To make concurrent use of SW and HW volume glitchles their application needs to be synchronized. For accurate synchronization the HW volume needs to be applied in IO thread. This patch adds infrastructure to delay the applying of HW volume to match with SW volume timing. To avoid synchronization problems this patch moves many of the volume and mute related functions from main thread to IO thread. All these changes become active only if the sync volume flag for a sink has been set. So, for this patch to have any effect it needs to be taken into use by sink implementor. Signed-off-by: Jyri Sarha <jyri.sarha@nokia.com> Reviewed-by: Tanu Kaskinen <tanu.kaskinen@digia.com> Reviewd-by: Colin Guthrie <cguthrie@mandriva.org>
Diffstat (limited to 'src/tests/sync-playback.c')
0 files changed, 0 insertions, 0 deletions