From e277f5e268ee9179bddb5bb02f545126a0bcde83 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 1 Jan 2018 01:14:53 -0800 Subject: Rename the do_direct_out variable --- examples/alffplay.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/alffplay.cpp b/examples/alffplay.cpp index 68e101a0..3a930f56 100644 --- a/examples/alffplay.cpp +++ b/examples/alffplay.cpp @@ -41,7 +41,7 @@ namespace { const std::string AppName("alffplay"); -bool do_direct_out = false; +bool EnableDirectOut = false; LPALGETSOURCEI64VSOFT alGetSourcei64vSOFT; const std::chrono::seconds AVNoSyncThreshold(10); @@ -682,7 +682,7 @@ int AudioState::handler() alGenBuffers(mBuffers.size(), mBuffers.data()); alGenSources(1, &mSource); - if(do_direct_out) + if(EnableDirectOut) alSourcei(mSource, AL_DIRECT_CHANNELS_SOFT, AL_TRUE); while(alGetError() == AL_NO_ERROR && !mMovie.mQuit.load(std::memory_order_relaxed)) @@ -1459,7 +1459,7 @@ int main(int argc, char *argv[]) else { std::cout<< "Found AL_SOFT_direct_channels" <