From fe7bdc93eb5c36e1685e5bdf05f8141d9a1dc6fb Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 1 Jan 2018 01:07:29 -0800 Subject: Check for AL_SOFT_direct_channels once when initializing --- examples/alffplay.cpp | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/examples/alffplay.cpp b/examples/alffplay.cpp index 55605792..e7df67ee 100644 --- a/examples/alffplay.cpp +++ b/examples/alffplay.cpp @@ -683,15 +683,7 @@ int AudioState::handler() alGenSources(1, &mSource); if(do_direct_out) - { - if(!alIsExtensionPresent("AL_SOFT_direct_channels")) - std::cerr<< "AL_SOFT_direct_channels not supported for direct output" <