Don't print buffer completed events in alffplay

This commit is contained in:
Chris Robinson 2018-01-31 20:27:14 -08:00
parent 7256bc92fa
commit 833eface38

View File

@ -684,6 +684,12 @@ void AL_APIENTRY AudioState::EventCallback(ALenum eventType, ALuint object, ALui
{
AudioState *self = reinterpret_cast<AudioState*>(userParam);
if(eventType == AL_EVENT_TYPE_BUFFER_COMPLETED_SOFT)
{
/* TODO: Signal the audio handler to wake up and decode another buffer. */
return;
}
std::cout<< "---- AL Event on AudioState "<<self<<" ----\nEvent: ";
switch(eventType)
{