[CA/AE] - fix race in 2 threads consuming the ringbuffer (dvdplayeraudio calls flush...
authorMemphiz <memphis@machzwo.de>
Tue, 27 Aug 2013 22:46:13 +0000 (00:46 +0200)
committerMemphiz <memphis@machzwo.de>
Tue, 27 Aug 2013 22:55:53 +0000 (00:55 +0200)
commitd506d49afe325fc6806aaf5f840663d5994004ba
tree269dad914af4d3ec6527c7a5590e1e266445a28a
parent3996de9eef940bd16fb1de9c3f6d738ee67cea4c
[CA/AE] - fix race in 2 threads consuming the ringbuffer (dvdplayeraudio calls flush and ca thread still pulls frames) by moving the flush to the ca thread instead - fixes crashing when switching tv channels (this was the real issue the 2 reverted commits before wanted to fix...)
xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioAEStream.cpp
xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioAEStream.h