andrewrk / libgroove

streaming audio processing library
http://andrewrk.github.io/libgroove/
MIT License
293 stars 35 forks source link

player: emit now playing event should take latency into account #109

Closed andrewrk closed 9 years ago

andrewrk commented 9 years ago

Currently, GroovePlayer emits GROOVE_EVENT_NOWPLAYING when the sound data that it is sending to the speakers changes. Instead it should take software and hardware latency into account for the sound device and emit the event when the sound actually coming out of the device changes.