Various embodiments related to the performance of gapless audio playback of two or more audio tracks are provided. One disclosed embodiment provides a method of performing gapless audio playback comprising rendering a plurality of samples of a current audio track via a current filter graph, and notifying an end-of-stream soon event via a current filter graph. Upon detecting the end-of-stream soon event, a next filter graph corresponding to a next audio track is pre-rolled and then paused. An end-of-stream event is notified at the current filter graph signaling an end of the current audio track. Then, upon detecting an end-of-stream event, the next filter graph is signaled to begin rendering samples of the next audio track.
展开▼