]> git.sesse.net Git - casparcg/commit
#155
authorHelge Norberg <helge.norberg@gmail.com>
Thu, 15 Aug 2013 15:40:57 +0000 (17:40 +0200)
committerHelge Norberg <helge.norberg@gmail.com>
Thu, 15 Aug 2013 15:40:57 +0000 (17:40 +0200)
commit2081459f5f680777cd99c51cb8d4e84224fbb74a
tree45f550fb348f892b7e566a400698a6918885f2aa
parentab6b916c68b9e20115536c519f7e2780efa7cb85
#155

Fixed problem where SFML stops calling SoundStream::OnGetData when too few samples are returned. This problem seems to have started after the change to static linking against SFML. The current solution is to collect the samples of more frames (3) before returning sample data. This unfortunately adds a 2 frame delay on system audio, but solves the choppyness.
modules/oal/consumer/oal_consumer.cpp