Giter VIP home page Giter VIP logo

openal-soft's Introduction

OpenAL Soft

master branch CI status : GitHub Actions Status Windows Build Status

OpenAL Soft is an LGPL-licensed, cross-platform, software implementation of the OpenAL 3D audio API. It's forked from the open-sourced Windows version available originally from openal.org's SVN repository (now defunct). OpenAL provides capabilities for playing audio in a virtual 3D environment. Distance attenuation, doppler shift, and directional sound emitters are among the features handled by the API. More advanced effects, including air absorption, occlusion, and environmental reverb, are available through the EFX extension. It also facilitates streaming audio, multi-channel buffers, and audio capture.

More information is available on the official website.

Source Install

To install OpenAL Soft, use your favorite shell to go into the build/ directory, and run:

cmake ..

Alternatively, you can use any available CMake front-end, like cmake-gui, ccmake, or your preferred IDE's CMake project parser.

Assuming configuration went well, you can then build it. The command cmake --build . will instruct CMake to build the project with the toolchain chosen during configuration (often GNU Make or NMake, although others are possible).

Please Note: Double check that the appropriate backends were detected. Often, complaints of no sound, crashing, and missing devices can be solved by making sure the correct backends are being used. CMake's output will identify which backends were enabled.

For most systems, you will likely want to make sure PipeWire, PulseAudio, and ALSA were detected (if your target system uses them). For Windows, make sure WASAPI was detected.

Building openal-soft - Using vcpkg

You can download and install openal-soft using the vcpkg dependency manager:

git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg integrate install
./vcpkg install openal-soft

The openal-soft port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please create an issue or pull request on the vcpkg repository.

Utilities

The source package comes with an informational utility, openal-info, and is built by default. It prints out information provided by the ALC and AL sub- systems, including discovered devices, version information, and extensions.

Configuration

OpenAL Soft can be configured on a per-user and per-system basis. This allows users and sysadmins to control information provided to applications, as well as application-agnostic behavior of the library. See alsoftrc.sample for available settings.

Language Bindings

As a C API, OpenAL Soft can be used directly by any language that can use functions with C linkage. For languages that can't directly use C-style headers, bindings may be developed to allow code written in that language to call into the library. Some bindings for some languages are listed here.

C# Bindings:

  • OpenTK includes low-level C# bindings for the OpenAL API, including some extensions. It also includes utility libraries for math and linear algebra, which can be useful for 3D calculations.

Java Bindings:

  • JOAL, part of the JogAmp project, includes Java bindings for the OpenAL API, usable with OpenAL Soft. It also includes a higher level Sound3D Toolkit API and utility functions to make easier use of OpenAL features and capabilities.

Python Bindings:

  • PyOpenAL. Also includes methods to play wave files and, with PyOgg, also Vorbis, Opus, and FLAC.

Other bindings for these and other languages also exist. This list will grow as more bindings are found.

Acknowledgements

Special thanks go to:

  • Creative Labs for the original source code this is based off of.
  • Christopher Fitzgerald for the current reverb effect implementation, and helping with the low-pass and HRTF filters.
  • Christian Borss for the 3D panning code previous versions used as a base.
  • Ben Davis for the idea behind a previous version of the click-removal code.
  • Richard Furse for helping with my understanding of Ambisonics that is used by the various parts of the library.

openal-soft's People

Contributors

aaronmjacobs avatar adrianbroher avatar alama avatar alexey-lysiuk avatar arthursonzogni avatar barracuda156 avatar bibendovsky avatar devnexen avatar digitalist avatar gongminmin avatar halx99 avatar ilya-fedin avatar jhasse avatar kcat avatar kdhp avatar lopuska avatar mathiusd avatar mechami avatar neheb avatar penguindoom avatar qwertychouskie avatar raulshc avatar rdb avatar rupertsteel avatar septag avatar snikulov avatar striezel avatar threedeejay avatar wangwenx190 avatar ybalrid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openal-soft's Issues

Call to alcOpenDevice(nullptr) Never Returns

Tested on Win10, latest version of OpenAL Soft. Using the WinMM backend only. According to gdb, the hangup seems to be in threads.c, in alcall_once, at line 495, where I assume it's infinitely calling the callback?

Failed build on Freebsd 10.2

Hi i build on freebsd 10.2-RELEASE-p11
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512

cd build
cmake .. 
make -j8

but compiler says error:


Scanning dependencies of target bsincgen
Scanning dependencies of target makehrtf
Scanning dependencies of target test-common
Scanning dependencies of target common
[  1%] Building C object CMakeFiles/bsincgen.dir/utils/bsincgen.c.o
[  4%] Building C object CMakeFiles/test-common.dir/examples/common/alhelpers.c.o
[  4%] Building C object CMakeFiles/makehrtf.dir/utils/makehrtf.c.o
[  6%] Building C object CMakeFiles/common.dir/common/atomic.c.o
[  8%] Building C object CMakeFiles/common.dir/common/threads.c.o
[ 11%] Building C object CMakeFiles/common.dir/common/rwlock.c.o
[ 11%] Building C object CMakeFiles/common.dir/common/uintmap.c.o
[ 13%] Linking C static library libtest-common.a
[ 14%] Linking C executable bsincgen
[ 16%] Linking C static library libcommon.a
[ 16%] Built target test-common
[ 16%] Built target common
[ 16%] Built target bsincgen
Scanning dependencies of target openal
[ 18%] Building C object CMakeFiles/openal.dir/OpenAL32/alAuxEffectSlot.c.o
[ 21%] Building C object CMakeFiles/openal.dir/OpenAL32/alEffect.c.o
[ 19%] Building C object CMakeFiles/openal.dir/OpenAL32/alError.c.o
[ 22%] Building C object CMakeFiles/openal.dir/OpenAL32/alBuffer.c.o
[ 24%] Building C object CMakeFiles/openal.dir/OpenAL32/alFilter.c.o
[ 26%] Building C object CMakeFiles/openal.dir/OpenAL32/alExtension.c.o
[ 27%] Building C object CMakeFiles/openal.dir/OpenAL32/alListener.c.o
[ 29%] Building C object CMakeFiles/openal.dir/OpenAL32/alSource.c.o
[ 31%] Building C object CMakeFiles/openal.dir/OpenAL32/alState.c.o
[ 32%] Building C object CMakeFiles/openal.dir/OpenAL32/alThunk.c.o
[ 34%] Building C object CMakeFiles/openal.dir/OpenAL32/sample_cvt.c.o
[ 36%] Building C object CMakeFiles/openal.dir/Alc/ALc.c.o
[ 37%] Building C object CMakeFiles/openal.dir/Alc/ALu.c.o
[ 39%] Building C object CMakeFiles/openal.dir/Alc/alcConfig.c.o
[ 40%] Building C object CMakeFiles/openal.dir/Alc/alcRing.c.o
[ 42%] Building C object CMakeFiles/openal.dir/Alc/bs2b.c.o
[ 44%] Building C object CMakeFiles/openal.dir/Alc/effects/autowah.c.o
[ 45%] Building C object CMakeFiles/openal.dir/Alc/effects/chorus.c.o
[ 47%] Building C object CMakeFiles/openal.dir/Alc/effects/compressor.c.o
[ 49%] Building C object CMakeFiles/openal.dir/Alc/effects/dedicated.c.o
[ 50%] Building C object CMakeFiles/openal.dir/Alc/effects/distortion.c.o
[ 52%] Building C object CMakeFiles/openal.dir/Alc/effects/echo.c.o
[ 54%] Building C object CMakeFiles/openal.dir/Alc/effects/equalizer.c.o
[ 55%] Building C object CMakeFiles/openal.dir/Alc/effects/flanger.c.o
[ 57%] Linking C executable makehrtf
[ 57%] Built target makehrtf
[ 59%] Building C object CMakeFiles/openal.dir/Alc/effects/modulator.c.o
[ 60%] Building C object CMakeFiles/openal.dir/Alc/effects/null.c.o
[ 62%] Building C object CMakeFiles/openal.dir/Alc/effects/reverb.c.o
[ 63%] Building C object CMakeFiles/openal.dir/Alc/helpers.c.o
[ 65%] Building C object CMakeFiles/openal.dir/Alc/bsinc.c.o
[ 67%] Building C object CMakeFiles/openal.dir/Alc/panning.c.o
[ 68%] Building C object CMakeFiles/openal.dir/Alc/hrtf.c.o
[ 70%] Building C object CMakeFiles/openal.dir/Alc/mixer.c.o
[ 72%] Building C object CMakeFiles/openal.dir/Alc/mixer_c.c.o
[ 73%] Building C object CMakeFiles/openal.dir/Alc/mixer_sse.c.o
[ 75%] Building C object CMakeFiles/openal.dir/Alc/mixer_sse2.c.o
[ 77%] Building C object CMakeFiles/openal.dir/Alc/mixer_sse3.c.o
[ 78%] Building C object CMakeFiles/openal.dir/Alc/mixer_sse41.c.o
[ 80%] Building C object CMakeFiles/openal.dir/Alc/backends/base.c.o
[ 81%] Building C object CMakeFiles/openal.dir/Alc/backends/loopback.c.o
[ 83%] Building C object CMakeFiles/openal.dir/Alc/backends/null.c.o
[ 85%] Building C object CMakeFiles/openal.dir/Alc/backends/alsa.c.o
[ 86%] Building C object CMakeFiles/openal.dir/Alc/backends/oss.c.o
[ 88%] Building C object CMakeFiles/openal.dir/Alc/backends/portaudio.c.o
[ 90%] Building C object CMakeFiles/openal.dir/Alc/backends/pulseaudio.c.o
[ 91%] Building C object CMakeFiles/openal.dir/Alc/backends/wave.c.o
/usr/home/razor/Documents/openal-soft/Alc/backends/alsa.c:592:18: error: duplicate case value '-32'
            case -EPIPE:
                 ^
/usr/home/razor/Documents/openal-soft/Alc/backends/alsa.c:591:18: note: previous case defined here
            case -ESTRPIPE:
                 ^
1 error generated.
--- CMakeFiles/openal.dir/Alc/backends/alsa.c.o ---
*** [CMakeFiles/openal.dir/Alc/backends/alsa.c.o] Error code 1

make[2]: stopped in /usr/home/razor/Documents/openal-soft/build
1 error

make[2]: stopped in /usr/home/razor/Documents/openal-soft/build
--- CMakeFiles/openal.dir/all ---
*** [CMakeFiles/openal.dir/all] Error code 2

make[1]: stopped in /usr/home/razor/Documents/openal-soft/build
1 error

make[1]: stopped in /usr/home/razor/Documents/openal-soft/build
*** [all] Error code 2

make: stopped in /usr/home/razor/Documents/openal-soft/build
1 error

make: stopped in /usr/home/razor/Documents/openal-soft/build



[build.zip](https://github.com/kcat/openal-soft/files/140814/build.zip)


Calculate reverb in real-time based on the environment of the player

OpenAL Soft already has EFX which is a powerful way to create immersive environments by adding reverb to ingame sounds. However, the reverb generated by EFX is based on a preset and not calculated in real-time based on the environment of the player. This has two disadvantages. First, the realism of the reverb effect entirely depends on the chosen preset. It's possible to make a small room sound like a huge cathedral so its degree of realism depends on the preset chosen by the developer. EFX effects are also position independent, i.e. if a player has a wall next to one ear he won't be able to hear the wall.

A solution to both problems is to calculate reverb for each sound source in real-time based on the geometry of the environment. It would not only increase realism, it would also e.g. allow blind and skilled people to navigate virtual environments simply through the use of echolocation (https://en.wikipedia.org/wiki/Human_echolocation ).

Examples:
A few audio engines already implement geometry-based reverb but haven't seen much following so far (with the exception of A3D 2.0 which was quite widespread in the 90's).
Aureal A3D 2.0: https://www.youtube.com/watch?v=-oSlbyLAksM
GSOUND: https://www.youtube.com/watch?v=buU8gPG2cHI
unnamed GPU based engine: https://www.youtube.com/watch?v=TXUTgEmnD6U
RAYA: https://www.youtube.com/watch?v=05EL5SumE_E
Nvidia VRWorks Audio: https://www.youtube.com/watch?v=A3Y2BSHxKHU

Is reverb calculated in real-time based on the environment of a player something OpenAL Soft should be able to do in the future? There is no doubt this would be a long-term goal.

Challenges:

  • Performance: Calculating reverb based on geometry requires expensive algorithms similar to raytracing and spatial filtering on dozens of sound sources.
  • Representation of the environment: All games need to pass the surrounding geometry of the player to OpenAL Soft in some form. This representation should be scalable and be able to handle rough abstractions of the environment and highly detailed representations to be future proof. Ideally there also is a way to pass on data about what materials objects are made of since this has an influence on how these objects reflect sound.

Has OpenAL Soft licensing changed to GPL?

The original OpenAL Soft website mentions that the license is LGPL and throughout the interweb it is recurrently mentioned that OpenAL is LGPL. However, in this repository and in the binary distributions I only see the full GPL v2 license.

What is the current licensing status? If indeed this project is intended for LGPL use, this should be clarified by inclusion of the appropriate LGPL license text (see OSI website).

If the project has changed to GPL license, this is also important to be clarified, either in the README or in the website. Also it would be important to understand whether the project was LGPL at any point of its existence, as it would be useful for users who are blocked from using GPL to know if there are any other viable options.

C11 atomic implementation broken

Compiling openal-soft with a compiler that supports C11 atomics (in my case clang 3.4.0) is not possible:

...
-- The C compiler identification is Clang 3.4.0
-- The CXX compiler identification is Clang 3.4.0
-- Check for working C compiler: /usr/bin/cc
...
-- Performing Test HAVE_C11_STATIC_ASSERT
-- Performing Test HAVE_C11_STATIC_ASSERT - Success
-- Performing Test HAVE_C11_ALIGNAS
-- Performing Test HAVE_C11_ALIGNAS - Success
-- Performing Test HAVE_C11_ATOMIC
-- Performing Test HAVE_C11_ATOMIC - Success
...
...
[  4%] Building C object CMakeFiles/makehrtf.dir/utils/makehrtf.c.o
[  6%] Building C object CMakeFiles/common.dir/common/atomic.c.o
[  8%] Building C object CMakeFiles/common.dir/common/rwlock.c.o
In file included from /usr/home/marcus/devel/openal-soft-1.16.0/common/atomic.c:4:
/usr/home/marcus/devel/openal-soft-1.16.0/include/atomic.h:19:10: error: address argument to atomic operation must be a pointer to _Atomic type ('volatile int *' invalid)
{ return atomic_exchange(ptr, newval); }
         ^               ~~~
/usr/include/stdatomic.h:350:2: note: expanded from macro 'atomic_exchange'
        atomic_exchange_explicit(object, desired, memory_order_seq_cst)
        ^
/usr/include/stdatomic.h:243:2: note: expanded from macro 'atomic_exchange_explicit'
        __c11_atomic_exchange(object, desired, order)
        ^
...

The definitions in atomic.h

inline int ExchangeInt(volatile int *ptr, int newval)
{ return atomic_exchange(ptr, newval); }
inline void *ExchangePtr(XchgPtr *ptr, void *newval)
{ return atomic_exchange(ptr, newval); }

just pass pointers into atomic_exchange() without a proper cast or a ATOMIC_VAR_INIT() initialization.

Segmentation fault with clang + optimizations (-O2)

Hello,

I'm building solarus (https://github.com/christopho/solarus/) with openal-soft and I'm getting a segfault when I build it with clang. Actually, the program crashes when I build openal-soft with optimizations enabled. If I build openal with -O0 it works fine. With GCC it just works. I'm using openal-soft 1.16.0 and clang 3.6.1.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 808416400 (LWP 100215)]
Load_ALshort (srcstep=, samples=, dst=, src=) at /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/Alc/mixer.c:119
119 DECL_TEMPLATE(ALshort)

The backtrace:

bt

0 Load_ALshort (srcstep=, samples=, dst=, src=) at /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/Alc/mixer.c:119

1 LoadSamples (src=, srcstep=, srctype=, samples=, dst=) at /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/Alc/mixer.c:132

2 MixSource (src=0x80d78a000, Device=0x808538000, SamplesToDo=512) at /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/Alc/mixer.c:393

3 0x0000000805655d3f in aluMixData (device=0x808538000, buffer=, size=) at /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/Alc/ALu.c:1196

4 0x0000000805670c76 in ALCplaybackOSS_mixerProc (ptr=0x8084a4b80) at /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/Alc/backends/oss.c:119

5 0x0000000805671af6 in althrd_starter (arg=) at /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/common/threads.c:526

6 0x0000000806d5c854 in thread_start (curthread=0x808416400) at /usr/src/lib/libthr/thread/thr_create.c:288

7 0x0000000000000000 in ?? ()

insert head phone examples alhrtf error

root@stone-linux:~/openal-soft-172# ./alhrtf -hrtf default-44100 /root/openal-soft-172/hsound.wav

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
if insert head phone
if(usedefaults)
{
//vector_al_string flist = SearchDataFiles(".mhr", "openal/hrtf");//for my setting only
flist = SearchDataFiles(".mhr", "/home/feelthat/openal-soft-172/hrtf");
VECTOR_FOR_EACH_PARAMS(al_string, flist, AddFileEntry, &list); ---> will do twice problem
VECTOR_DEINIT(flist);
}

  1. from aluInitRenderer
  2. from alcGetIntegerv(device, ALC_NUM_HRTF_SPECIFIERS_SOFT, 1, &num_hrtf);

then num_hrtf will return 0; //error

need fix it on static void AddFileEntry(vector_HrtfEntry *list, al_string *filename)
label set here
done:
ext = strrchr(name, '.');

Sound loops playing only once

Looped sounds are played only once since commit b3338d2
(previous commit 0f7e499 still works fine).

Tested with:
https://github.com/yquake2/yquake2.git commit 6f64efbd17f73cf3d507f13c9dc6cd39ae9f8a4d
and git://github.com/RobertBeckebans/RBDOOM-3-BFG.git commit 884b08010799b6009e0c7641324cecf1277a0c7

but
https://github.com/dhewm/dhewm3.git commit 89f227b365c2086dbe8818d82324f074a8ab4792
does not have any problems (maybe because it is using reverb?)

Tested on: amd64, debian testing, openal with alsa backend.

ALC_SOFTX_device_clock

Hi, why does the extension ALC_SOFTX_device_clock use a different spelling in the extension list obtained with alcGetString than in the codebase itself?

#ifndef ALC_SOFT_device_clock
#define ALC_SOFT_device_clock 1
typedef int64_t ALCint64SOFT;
typedef uint64_t ALCuint64SOFT;
#define ALC_DEVICE_CLOCK_SOFT                    0x1600
typedef void (ALC_APIENTRY*LPALCGETINTEGER64VSOFT)(ALCdevice *device, ALCenum pname, ALsizei size, ALCint64SOFT *values);
#ifdef AL_ALEXT_PROTOTYPES
ALC_API void ALC_APIENTRY alcGetInteger64vSOFT(ALCdevice *device, ALCenum pname, ALsizei size, ALCint64SOFT *values);
#endif
#endif

Compiler Problems

I found something strange when I tried to built the code from here with my :
Microsoft Visual Studio Community 2015
Version 14.0.25421.03 Update 3

It protest about
In common/thread.c line line 416, 417
void *ptr = altss_get(TlsDestructors.array[i].key); altss_dtor_t callback = (altss_dtor_t)TlsDestructors.array[i].value;

with struct "UIntMap" has no field "array", so far I can tell the compiler is right:
in common/uintmap.h 11,20

`typedef struct UIntMap {
ALuint keys;
/
Shares memory with keys. _/
ALvoid *_values;

ALsizei size;
ALsizei capacity;
ALsizei limit;
RWLock lock;

} UIntMap;`

I'm not sure what happened here first I thought somebody meant array as some language syntax I don't know but it doesn't match up (spelling) and. I don't see any macro around it either so there must be something wrong

"pi po" noises on android.

In my project I use OpenALsoft to playback TTS generated by Flite. There are periodical "pi po" noises, trivial but noticeable.

It appears to happen when switching buffers. I tried to play it in one buffer and there is no such artefacts.

the original file:
openal.wav.zip

playback android:
1.amr.zip

in my codes, I use usleep to wait for any available buffer, is it the right choice?

code snippet:

int
speak_stream_chunk_cb(const cst_wave *w,
                      int start,
                      int size,
                      int last,
                      cst_audio_streaming_info *asi)
{
  __android_log_print(4, "LogFilter", "start: %d, size: %d, last: %d", start, size, last);

  Speaker* speaker = (Speaker*)(asi->userdata);

  // pause;
  if(speaker->state == STATE_PAUSE){
    while(true){
      usleep(100 * 1000);
      if(speaker->state != STATE_PAUSE){
        break;
      }
    }
  }

  // stop;
  if(speaker->state == STATE_STOP) {
    return CST_AUDIO_STREAM_STOP;
  }

  SpeakingContext* ctx = speaker->context;

  // pre-buffer;
  if(ctx->pre_bufferred_count < ctx->alBufferCount){

    ALuint buff = *(ctx->alBuffers + ctx->pre_bufferred_count);
    alBufferData(buff,
                 AL_FORMAT_MONO16,
                 (w->samples + start),
                 size,
                 w->sample_rate * w->num_channels);
    alSourceQueueBuffers(ctx->alSource, 1, &buff);

    ctx->pre_bufferred_count += 1;

    if(ctx->pre_bufferred_count == ctx->alBufferCount || last) {
      alSourcePlay(ctx->alSource);
      svrsound_send_event(SPEAKER_EVENT_STARTED, speaker->sender, speaker->uid);
    }
  }else{
    int count = 0;
    alGetSourcei(ctx->alSource, AL_BUFFERS_PROCESSED, &count);

    while(count < 1){
      usleep(100 * 1000);
      alGetSourcei(ctx->alSource, AL_BUFFERS_PROCESSED, &count);
    }

    __android_log_print(4, "LogFilter", "empty buffer count: %d", count);

    ALuint buff;
    alSourceUnqueueBuffers(ctx->alSource, 1, &buff);

    alBufferData(buff,
                 AL_FORMAT_MONO16,
                 (w->samples + start),
                 size,
                 w->sample_rate * w->num_channels);
    alSourceQueueBuffers(ctx->alSource, 1, &buff);
  }

  return CST_AUDIO_STREAM_CONT;
}

void* _SpeakThreadFunc(void* args){

  SpeakArg* arg = (SpeakArg*)args;

  Speaker* speaker = arg->speaker;
  char* text = arg->text;

  // setup context;
  SpeakingContext* ctx = malloc(sizeof(SpeakingContext));

  ctx->pre_bufferred_count = 0;
  ctx->alBufferCount = 2;

  // alBuffers
  ALuint* buffs = malloc(sizeof(ALuint) * ctx->alBufferCount);
  alGenBuffers(ctx->alBufferCount, buffs);
  ctx->alBuffers = buffs;

  // alSource;
  ALuint source;
  alGenSources(1, &source);
  ctx->alSource = source;

  Vector3 p = speaker->pos;
  alSource3f(source, AL_POSITION, p.x, p.y, p.z);
  alSourcef(source, AL_GAIN, speaker->vol);
  speaker->context = ctx;

  // setup flite;
  // voice
  cst_voice* voice = speaker->gender ? new_cmu_us_rms() : new_cmu_us_slt();

  // streaming_info
  cst_audio_streaming_info asi = {0};
  /* asi = new_audio_streaming_info(); */
  asi.min_buffsize = 16000 * 2 * 1 * 0.4;
  asi.asc = speak_stream_chunk_cb;
  asi.userdata = speaker;

  feat_set(voice->features,
           "streaming_info",
           audio_streaming_info_val(&asi));

  // speak
  __android_log_print(4, "LogFilter", "tts will start");
  flite_text_to_speech(text, voice, "stream");
  __android_log_print(4, "LogFilter", "tts call end");

  // done, cleanup;
  feat_remove(voice->features, "streaming_info");
  delete_voice(voice);

  if(speaker->context && speaker->context->alSource){
    int state;

    alGetSourcei(speaker->context->alSource, AL_SOURCE_STATE, &state);
    while(state != AL_PLAYING){
      usleep(100 * 1000);
      alGetSourcei(speaker->context->alSource, AL_SOURCE_STATE, &state);
    }
  }

  __android_log_print(4, "LogFilter", "tts ended");
  /* cst_free(asi); */

  // notify speaker is done;
  svrsound_send_event(SPEAKER_EVENT_ENDED, speaker->sender, speaker->uid);

  // free args;
  free(arg);
  pthread_exit(NULL);
}

[Feature Request] AL_MAX_GAIN > 1.0

In XACT, volumes can range from -96.0dB to 6.0dB. This means that the amplitude ratio can range from [0, 2] instead of OpenAL's current limitation of [0,1]. FNA's XACT implementation currently calls alSourcef requesting higher AL_GAIN values, but because of the AL_MAX_GAIN value being clamped, we're stuck with a cap lower than what we need.

I was able to verify this locally by just skipping the clamps altogether...

https://gist.github.com/flibitijibibo/3f46b07df5e0ebba17b25a83d2581b6c

... but I'd love to be able to set AL_MAX_GAIN to higher values! Of course, the spec has stated the limit since 1.0, so I know it'd be a tough change to make (on top of the fact that having a hard maximum is kind of important for safety reasons!). Is there any way we could sidestep this without hacking Alu.c?

windows: international encoding not supported

On windows with language others then English it is not possible to get correct device information because ALCchar is always char typedef char ALCchar;

This will produce unreadable results as follows

open-al

Is it possible to support international encoding on Windows platform?

Stereo source in to HRTF out no effect

mono source in HRTF out is good
but stereo source in to HRTF out no effect, sound out same as stereo source in

I select alsa drive #define HAVE_ALSA out and close HAVE_PULSEAUDIO

in alu.c
if(buffer->FmtChannels == FmtMono)
CalcAttnSourceParams(voice, props, buffer, context);
else
CalcNonAttnSourceParams(voice, props, buffer, context);
break;

if i force to CalcAttnSourceParams(voice, props, buffer, context);
then hrtf effect ok but only one channel souce-in

armv7l compile issues with arm_neon.h

Make Output:
[alarm@alarm build]$ make
Scanning dependencies of target makehrtf
[ 1%] Building C object CMakeFiles/makehrtf.dir/utils/makehrtf.c.o
[ 3%] Linking C executable makehrtf
[ 3%] Built target makehrtf
Scanning dependencies of target common
[ 4%] Building C object CMakeFiles/common.dir/common/almalloc.c.o
[ 6%] Building C object CMakeFiles/common.dir/common/atomic.c.o
[ 8%] Building C object CMakeFiles/common.dir/common/rwlock.c.o
[ 9%] Building C object CMakeFiles/common.dir/common/threads.c.o
[ 11%] Building C object CMakeFiles/common.dir/common/uintmap.c.o
[ 12%] Linking C static library libcommon.a
[ 12%] Built target common
Scanning dependencies of target openal
[ 14%] Building C object CMakeFiles/openal.dir/OpenAL32/alAuxEffectSlot.c.o
/media/sdcard/workspace/openal-soft/OpenAL32/alAuxEffectSlot.c: In function 'RemoveEffectSlotList':
/media/sdcard/workspace/openal-soft/OpenAL32/alAuxEffectSlot.c:431:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
if(!ATOMIC_COMPARE_EXCHANGE_STRONG(ALeffectslot_, &context->ActiveAuxSlotList, &root, next))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/media/sdcard/workspace/openal-soft/OpenAL32/alAuxEffectSlot.c:437:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
} while(!ATOMIC_COMPARE_EXCHANGE_STRONG(ALeffectslot_, &cur->next, &root, next));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 16%] Building C object CMakeFiles/openal.dir/OpenAL32/alBuffer.c.o
[ 17%] Building C object CMakeFiles/openal.dir/OpenAL32/alEffect.c.o
[ 19%] Building C object CMakeFiles/openal.dir/OpenAL32/alError.c.o
[ 20%] Building C object CMakeFiles/openal.dir/OpenAL32/alExtension.c.o
[ 22%] Building C object CMakeFiles/openal.dir/OpenAL32/alFilter.c.o
[ 24%] Building C object CMakeFiles/openal.dir/OpenAL32/alListener.c.o
[ 25%] Building C object CMakeFiles/openal.dir/OpenAL32/alSource.c.o
[ 27%] Building C object CMakeFiles/openal.dir/OpenAL32/alState.c.o
[ 29%] Building C object CMakeFiles/openal.dir/OpenAL32/alThunk.c.o
[ 30%] Building C object CMakeFiles/openal.dir/OpenAL32/sample_cvt.c.o
[ 32%] Building C object CMakeFiles/openal.dir/Alc/ALc.c.o
[ 33%] Building C object CMakeFiles/openal.dir/Alc/ALu.c.o
[ 35%] Building C object CMakeFiles/openal.dir/Alc/alcConfig.c.o
[ 37%] Building C object CMakeFiles/openal.dir/Alc/alcRing.c.o
[ 38%] Building C object CMakeFiles/openal.dir/Alc/bs2b.c.o
[ 40%] Building C object CMakeFiles/openal.dir/Alc/effects/chorus.c.o
[ 41%] Building C object CMakeFiles/openal.dir/Alc/effects/compressor.c.o
[ 43%] Building C object CMakeFiles/openal.dir/Alc/effects/dedicated.c.o
[ 45%] Building C object CMakeFiles/openal.dir/Alc/effects/distortion.c.o
[ 46%] Building C object CMakeFiles/openal.dir/Alc/effects/echo.c.o
[ 48%] Building C object CMakeFiles/openal.dir/Alc/effects/equalizer.c.o
[ 50%] Building C object CMakeFiles/openal.dir/Alc/effects/flanger.c.o
[ 51%] Building C object CMakeFiles/openal.dir/Alc/effects/modulator.c.o
[ 53%] Building C object CMakeFiles/openal.dir/Alc/effects/null.c.o
[ 54%] Building C object CMakeFiles/openal.dir/Alc/effects/reverb.c.o
[ 56%] Building C object CMakeFiles/openal.dir/Alc/helpers.c.o
[ 58%] Building C object CMakeFiles/openal.dir/Alc/bsinc.c.o
[ 59%] Building C object CMakeFiles/openal.dir/Alc/hrtf.c.o
[ 61%] Building C object CMakeFiles/openal.dir/Alc/uhjfilter.c.o
[ 62%] Building C object CMakeFiles/openal.dir/Alc/ambdec.c.o
[ 64%] Building C object CMakeFiles/openal.dir/Alc/bformatdec.c.o
[ 66%] Building C object CMakeFiles/openal.dir/Alc/panning.c.o
[ 67%] Building C object CMakeFiles/openal.dir/Alc/mixer.c.o
[ 69%] Building C object CMakeFiles/openal.dir/Alc/mixer_c.c.o
[ 70%] Building C object CMakeFiles/openal.dir/Alc/mixer_neon.c.o
In file included from /media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:3:0:
/media/sdcard/workspace/openal-soft/Alc/mixer_neon.c: In function 'ApplyCoeffsStep':
/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/6.1.1/include/arm_neon.h:6169:1: error: inlining failed in call to always_inline 'vcombine_f32': target specific option mismatch
vcombine_f32 (float32x2_t __a, float32x2_t __b)
^~~~~~~~~~~~
/media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:24:20: note: called from here
leftright4 = vcombine_f32(leftright2, leftright2);
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:3:0:
/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/6.1.1/include/arm_neon.h:5487:1: error: inlining failed in call to always_inline 'vset_lane_f32': target specific option mismatch
vset_lane_f32 (float32_t __a, float32x2_t __b, const int __c)
^~~~~~~~~~~~~
/media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:23:20: note: called from here
leftright2 = vset_lane_f32(right, leftright2, 1);
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:3:0:
/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/6.1.1/include/arm_neon.h:5487:1: error: inlining failed in call to always_inline 'vset_lane_f32': target specific option mismatch
vset_lane_f32 (float32_t __a, float32x2_t __b, const int __c)
^~~~~~~~~~~~~
/media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:22:20: note: called from here
leftright2 = vset_lane_f32(left, leftright2, 0);
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:3:0:
/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/6.1.1/include/arm_neon.h:5714:1: error: inlining failed in call to always_inline 'vdup_n_f32': target specific option mismatch
vdup_n_f32 (float32_t __a)
^~~~~~~~~~
/media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:21:21: note: called from here
float32x2_t leftright2 = vdup_n_f32(0.0);
^~~~~~~~~~
In file included from /media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:3:0:
/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/6.1.1/include/arm_neon.h:9517:1: error: inlining failed in call to always_inline 'vst1q_f32': target specific option mismatch
vst1q_f32 (float32_t * __a, float32x4_t __b)
^~~~~~~~~
/media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:40:9: note: called from here
vst1q_f32(&Coeffs[c][0], coefs);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:3:0:
/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/6.1.1/include/arm_neon.h:9434:1: error: inlining failed in call to always_inline 'vst1_f32': target specific option mismatch
vst1_f32 (float32_t * __a, float32x2_t _b)
^~~~~~~~
/media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:39:9: note: called from here
vst1_f32((float32_t
)&Values[o1][0], vget_high_f32(vals));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:3:0:
/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/6.1.1/include/arm_neon.h:6252:1: error: inlining failed in call to always_inline 'vget_high_f32': target specific option mismatch
vget_high_f32 (float32x4_t _a)
^~~~~~~~~~~~~
/media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:39:9: note: called from here
vst1_f32((float32_t
)&Values[o1][0], vget_high_f32(vals));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:3:0:
/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/6.1.1/include/arm_neon.h:9434:1: error: inlining failed in call to always_inline 'vst1_f32': target specific option mismatch
vst1_f32 (float32_t * __a, float32x2_t _b)
^~~~~~~~
/media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:38:9: note: called from here
vst1_f32((float32_t
)&Values[o0][0], vget_low_f32(vals));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:3:0:
/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/6.1.1/include/arm_neon.h:6320:1: error: inlining failed in call to always_inline 'vget_low_f32': target specific option mismatch
vget_low_f32 (float32x4_t _a)
^~~~~~~~~~~~
/media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:38:9: note: called from here
vst1_f32((float32_t
)&Values[o0][0], vget_low_f32(vals));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:3:0:
/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/6.1.1/include/arm_neon.h:595:1: error: inlining failed in call to always_inline 'vaddq_f32': target specific option mismatch
vaddq_f32 (float32x4_t __a, float32x4_t __b)
^~~~~~~~~
/media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:36:15: note: called from here
coefs = vaddq_f32(coefs, deltas);
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:3:0:
/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/6.1.1/include/arm_neon.h:1330:1: error: inlining failed in call to always_inline 'vmlaq_f32': target specific option mismatch
vmlaq_f32 (float32x4_t __a, float32x4_t __b, float32x4_t __c)
^~~~~~~~~
/media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:35:14: note: called from here
vals = vmlaq_f32(vals, coefs, leftright4);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:3:0:
/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/6.1.1/include/arm_neon.h:9017:1: error: inlining failed in call to always_inline 'vld1q_f32': target specific option mismatch
vld1q_f32 (const float32_t * __a)
^~~~~~~~~
/media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:33:21: note: called from here
float32x4_t deltas = vld1q_f32(&CoeffStep[c][0]);
^~~~~~
In file included from /media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:3:0:
/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/6.1.1/include/arm_neon.h:9017:1: error: inlining failed in call to always_inline 'vld1q_f32': target specific option mismatch
vld1q_f32 (const float32_t * _a)
^~~~~~~~~
/media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:32:21: note: called from here
float32x4_t coefs = vld1q_f32((float32_t
)&Coeffs[c][0]);
^~~~~
In file included from /media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:3:0:
/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/6.1.1/include/arm_neon.h:6169:1: error: inlining failed in call to always_inline 'vcombine_f32': target specific option mismatch
vcombine_f32 (float32x2_t __a, float32x2_t _b)
^~~~~~~~~~~~
/media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:30:21: note: called from here
float32x4_t vals = vcombine_f32(vld1_f32((float32_t
)&Values[o0][0]),
^~~~
In file included from /media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:3:0:
/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/6.1.1/include/arm_neon.h:8934:1: error: inlining failed in call to always_inline 'vld1_f32': target specific option mismatch
vld1_f32 (const float32_t * a)
^~~~~~~~
/media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:30:28: note: called from here
float32x4_t vals = vcombine_f32(vld1_f32((float32_t
)&Values[o0][0]),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vld1_f32((float32_t
)&Values[o1][0]));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:3:0:
/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/6.1.1/include/arm_neon.h:8934:1: error: inlining failed in call to always_inline 'vld1_f32': target specific option mismatch
vld1_f32 (const float32_t * a)
^~~~~~~~
/media/sdcard/workspace/openal-soft/Alc/mixer_neon.c:30:28: note: called from here
float32x4_t vals = vcombine_f32(vld1_f32((float32_t
)&Values[o0][0]),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vld1_f32((float32_t
)&Values[o1][0]));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/openal.dir/build.make:903: CMakeFiles/openal.dir/Alc/mixer_neon.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:105: CMakeFiles/openal.dir/all] Error 2
make: *** [Makefile:128: all] Error 2

#Check for ARM Neon support
OPTION(ALSOFT_REQUIRE_NEON "Require ARM Neon support" OFF)
CHECK_INCLUDE_FILE(arm_neon.h HAVE_ARM_NEON_H)
IF(HAVE_ARM_NEON_H)
    OPTION(ALSOFT_CPUEXT_NEON "Enable ARM Neon support" ON)
    IF(ALSOFT_CPUEXT_NEON)
        SET(HAVE_NEON 1)
SET(ALC_OBJS  ${ALC_OBJS} Alc/mixer_neon.c)
SET(CPU_EXTS "${CPU_EXTS}, Neon")
ENDIF()
ENDIF()
IF(ALSOFT_REQUIRE_NEON AND NOT HAVE_NEON)
    MESSAGE(FATAL_ERROR "Failed to enabled required ARM Neon CPU extensions")
ENDIF()

Commenting the above out fixes it enough to allow me to build and use the .so in lwjgl 2.9.4

hrtf noise on pause and play looping

/root/openal-soft-172/examples/alhrtf.c

do
{
al_nssleep(10000000);

    alSourcePause(al_source);
    alSourcei(al_source, AL_SOURCE_RELATIVE, AL_TRUE);
    alSource3f(al_source, AL_POSITION, 0.0f, 0.0f, -1.0f);
    alSourcePlay(al_source);

    alGetSourcei(al_source, AL_SOURCE_STATE, &state);
} while(alGetError() == AL_NO_ERROR && state == AL_PLAYING);

//////////////////
have little noise

OpenSL ES buffer callbacks on Android

On some Android implementations the OpenSL ES back-end seems to crash the program when playback is stopped. The cause of the crash is a SIGSEGV and happens shortly after playback is stopped. When logging calls to opensl_callback and opensl_stop_playback it seems that the stop function frees the buffer while the callback function is still running:

04-21 15:24:26.779 2832-2853/test D/opensl.c﹕ opensl_callback
04-21 15:24:26.799 2832-2853/test D/opensl.c﹕ opensl_callback done
04-21 15:24:26.819 2832-2853/test D/opensl.c﹕ opensl_callback
04-21 15:24:26.829 2832-2845/test D/opensl.c﹕ opensl_stop_playback
04-21 15:24:26.829 2832-2845/test D/opensl.c﹕ opensl_stop_playback done
04-21 15:24:26.849 2832-2853/test W/libOpenSLES﹕ Leaving BufferQueue::Enqueue (SL_RESULT_PARAMETER_INVALID)
04-21 15:24:26.849 2832-2853/test D/OpenAl﹕ AL lib: (EE) opensl_callback: bq->Enqueue: Parameter invalid
04-21 15:24:26.849 2832-2853/test D/opensl.c﹕ opensl_callback done

The probability of this happening seems to be greatly increased when HRTFs are enabled. These crashes happen on the Android Emulator running API 17 and on a real device running API 19.

Unreal Tournament 2004: sounds play incorrectly

Setup:
tested with build no. 1486 from http://ci.newdawnsoftware.com/view/OpenAL/job/OpenAL-win32/ on Windows 7 x64, M-Audio Fast Track pro sound card
perhaps related to legacy device name rerouting (#14)

Issue:
All ingame sounds either

  • don't play at all
  • are incorrectly positioned in relation to their graphical representation
  • play on one speaker only
  • don't update with movement of the listener's position

Menu sounds also sometimes don't play.

Notes:
Unreal Tournament 2004 offers 4 audio settings:

  • Safe mode
  • 3D Audio
  • H/W 3D Audio
  • H/W 3D Audio+EAX

The latter 3 settings offer the same audio experience as described above. In Safe mode sounds either come only from the left, right or center position.

ALSoft Logfile with Loglevel=3:

AL lib: (II) alc_initconfig: Supported backends: mmdevapi, dsound, winmm, null, wave
AL lib: (II) ReadALConfig: Loading config C:\Users\Hiradur\AppData\Roaming\alsoft.ini...
AL lib: (II) GetConfigValue: Key disable-cpu-exts not found
AL lib: (II) FillCPUCaps: Detected max CPUID function: 0xa (ext. 0x80000008)
AL lib: (II) FillCPUCaps: Vendor ID: ""
AL lib: (II) FillCPUCaps: Name: "Intel(R) Core(TM)2 Quad  CPU   Q8200  @ 2.33GHz"
AL lib: (II) FillCPUCaps: Extensions: +SSE +SSE2 +SSE4.1
AL lib: (II) GetConfigValue: Key rt-prio not found
AL lib: (II) GetConfigValue: Key resampler not found
AL lib: (II) GetConfigValue: Key trap-al-error not found
AL lib: (II) GetConfigValue: Key trap-alc-error not found
AL lib: (II) GetConfigValue: Key reverb/boost not found
AL lib: (II) GetConfigValue: Key reverb/emulate-eax not found
AL lib: (II) GetConfigValue: Key drivers not found
AL lib: (II) ALCmmdevProxy_messageHandler: Starting message thread
AL lib: (II) ALCmmdevProxy_messageHandler: Message thread initialization complete
AL lib: (II) ALCmmdevProxy_messageHandler: Starting message loop
AL lib: (II) alc_initconfig: Initialized backend "mmdevapi"
AL lib: (II) alc_initconfig: Added "mmdevapi" for playback
AL lib: (II) alc_initconfig: Added "mmdevapi" for capture
AL lib: (II) GetConfigValue: Key excludefx not found
AL lib: (II) GetConfigValue: Key default-reverb not found
AL lib: (II) GetConfigValue: Key channels not found
AL lib: (II) GetConfigValue: Key sample-type not found
AL lib: (II) GetConfigValue: Key frequency not found
AL lib: (II) GetConfigValue: Key periods not found
AL lib: (II) GetConfigValue: Key period_size not found
AL lib: (II) GetConfigValue: Key sources not found
AL lib: (II) GetConfigValue: Key slots not found
AL lib: (II) GetConfigValue: Key sends not found
AL lib: (II) GetConfigValue: Key midi/internal-synth not found
AL lib: (II) SSynth_create: Not using internal MIDI synth
AL lib: (II) ALCmmdevProxy_messageHandler: Got message 1024 (lparam=0A65DCD0, wparam=0018C5C8)
AL lib: (II) alcOpenDevice: Created device 0A64EFE0, "Line 1/2 (5- M-Audio FastTrack Pro) on OpenAL Soft"
AL lib: (II) GetConfigValue: Key frequency not found
AL lib: (II) GetConfigValue: Key sends not found
AL lib: (II) GetConfigValue: Key hrtf not found
AL lib: (II) UpdateDeviceParams: Pre-reset: Stereo, Float, *44100hz, 1024 update size x4
AL lib: (II) ALCmmdevProxy_messageHandler: Got message 1025 (lparam=0A65DCD0, wparam=0018C590)
AL lib: (II) UpdateDeviceParams: Post-reset: Stereo, Float, 44100hz, 882 update size x4
AL lib: (WW) UpdateDeviceParams: SSE performs best with multiple of 4 update sizes (882)
AL lib: (II) GetConfigValue: Key stereo-mode not found
AL lib: (II) GetConfigValue: Key hrtf-mode not found
AL lib: (II) UpdateDeviceParams: HRTF disabled
AL lib: (II) GetConfigValue: Key cf_level not found
AL lib: (II) UpdateDeviceParams: BS2B disabled
AL lib: (II) GetConfigValue: Key layouts/stereo/type not found
AL lib: (II) ALCmmdevProxy_messageHandler: Got message 1026 (lparam=0A65DCD0, wparam=0018C590)
AL lib: (II) alcCreateContext: Created context 0A65DDF0
AL lib: (II) ALCmmdevProxy_messageHandler: Got message 1024 (lparam=0A777450, wparam=0018C584)
AL lib: (II) ALCmmdevProxy_messageHandler: Got message 1025 (lparam=0A777450, wparam=0018C584)
AL lib: (EE) ALCmmdevCapture_resetProxy: Did not get matching format, wanted: Mono Signed Short 16000hz, got: 2 channel(s) 32-bit 44100hz
AL lib: (II) ALCmmdevProxy_messageHandler: Got message 1028 (lparam=0A777450, wparam=0018C568)
AL lib: (II) FreeContext: 0A65DDF0
AL lib: (II) ALCmmdevProxy_messageHandler: Got message 1027 (lparam=0A65DCD0, wparam=0018F268)
AL lib: (II) FreeDevice: 0A64EFE0
AL lib: (II) ALCmmdevProxy_messageHandler: Got message 1028 (lparam=0A65DCD0, wparam=0018F238)

EAX support

I haven't found a definitive answer to whether, and to what extent, OpenAL Soft supports EAX. I take it that it doesn't support it natively, but it does support EFX, and EAX calls could generally be routed to EFX calls. Is that something that already exists, or is planned?

Another issue is how advanced the EFX implementation is compared to EAX levels. For instance, is there support for smooth transitions between zones (a la EAX 3)?

VS2015: "No snprintf function found, please report!"

VS2015 finally implements snprintf, however the OpenAL CMakeLists.txt Fails to find it, giving the message "No snprintf function found, please report!".

Replacing the line
CHECK_FUNCTION_EXISTS(snprintf HAVE_SNPRINTF)
with
CHECK_SYMBOL_EXISTS(snprintf stdio.h HAVE_SNPRINTF)
fixes the issue. However, I'm not sure which implications exist for other OSes, and if the search for _snprintf is maybe unnecessary.

Bass silent

Bass is quiet on version 1.17 and up. Was fine on 1.16. Haven't noticed any settings that correct issue.
Running Windows.

HRTF tables: Could not open/Incompatible Format

Logs with Loglevel=3:
nightly build:

AL lib: (II) UpdateDeviceParams: Post-reset: Stereo, Float, 44100hz, 896 update size x4
AL lib: (II) GetConfigValue: Found stereo-mode = "headphones"
AL lib: (II) GetConfigValue: Key hrtf-mode not found
AL lib: (II) GetConfigValue: Found hrtf_tables = "hiradur-%r.mhr"
AL lib: (II) LoadHrtf: Loading hiradur-44100.mhr...
AL lib: (II) OpenDataFile: Opened C:\Users\Hiradur\AppData\Roaming\openal\hrtf\hiradur-44100.mhr
AL lib: (EE) LoadHrtf: Could not open hiradur-44100.mhr
AL lib: (EE) GetHrtf: Incompatible format: Stereo 44100hz
AL lib: (II) UpdateDeviceParams: HRTF disabled

1.16.0:

AL lib: (II) UpdateDeviceParams: Pre-reset: Stereo, Float, 44100hz, 1024 update size x4
AL lib: (II) GetConfigValue: Found hrtf = "true"
AL lib: (II) GetConfigValue: Found hrtf_tables = "hiradur-%r.mhr"
AL lib: (II) LoadHrtf: Loading hiradur-44100.mhr...
AL lib: (WW) OpenDataFile: Could not open hiradur-44100.mhr
AL lib: (II) OpenDataFile: Opened C:\Users\Hiradur\AppData\Roaming\openal\hrtf\hiradur-44100.mhr
AL lib: (II) LoadHrtf: Detected data set format v1
AL lib: (II) LoadHrtf: Loaded HRTF support for format: Stereo 44100hz
AL lib: (II) ALCmmdevProxy_messageHandler: Got message 1025
AL lib: (II) UpdateDeviceParams: Post-reset: Stereo, Float, 44100hz, 896 update size x4
AL lib: (II) GetConfigValue: Key layout_stereo not found
AL lib: (II) GetConfigValue: Key layout not found
AL lib: (II) UpdateDeviceParams: HRTF enabled

[question] Nesting sound effects.

In for example DAW's you can easily add multiple effects in a chain and then be on your way, what I'd like to try and make is a reverb with an echo like effect as the source (just to figure out how this can be achieved).

The basic chain (in very crude pseudo code) would look something like this:
reverb( loop( sound ) );
But due to how effects work in openal-soft I suspect it'll look something like:

effect0 = LoadEffect(&reverb);
effect1 = LoadEffect(&echo);

slot = 0;
alGenAuxiliaryEffectSlots(1, &slot);

alAuxiliaryEffectSloti(slot, AL_EFFECTSLOT_EFFECT, effect1);
alAuxiliaryEffectSloti(slot, AL_EFFECTSLOT_EFFECT, effect0);

...or some other thing, can someone give me some guidance or is this impossible to do?

OS X 10.11 Warning

Call to alcOpenDevice() outputs the following warning in the console while running on OS X 10.11 El Capitan:

WARNING: 140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.

Tested on db0f29f. Sound output seems to be the same as on previous versions of OS X.

Here is the complete output of openal-info:

Available playback devices:
    CoreAudio Default
Available capture devices:
    CoreAudio Default
Default playback device: CoreAudio Default
Default capture device: CoreAudio Default
ALC version: 1.1
2015-09-18 11:57:17.803 openal-info[11031:44919] 11:57:17.802 WARNING:  140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.

** Info for device "CoreAudio Default" **
ALC version: 1.1
ALC extensions:
    ALC_ENUMERATE_ALL_EXT, ALC_ENUMERATION_EXT, ALC_EXT_CAPTURE,
    ALC_EXT_DEDICATED, ALC_EXT_disconnect, ALC_EXT_EFX,
    ALC_EXT_thread_local_context, ALC_SOFTX_device_clock, ALC_SOFTX_HRTF,
    ALC_SOFT_loopback, ALC_SOFTX_midi_interface, ALC_SOFT_pause_device
OpenAL vendor string: OpenAL Community
OpenAL renderer string: OpenAL Soft
OpenAL version string: 1.1 ALSOFT 1.16.0
OpenAL extensions:
    AL_EXT_ALAW, AL_EXT_BFORMAT, AL_EXT_DOUBLE, AL_EXT_EXPONENT_DISTANCE,
    AL_EXT_FLOAT32, AL_EXT_IMA4, AL_EXT_LINEAR_DISTANCE, AL_EXT_MCFORMATS,
    AL_EXT_MULAW, AL_EXT_MULAW_BFORMAT, AL_EXT_MULAW_MCFORMATS, AL_EXT_OFFSET,
    AL_EXT_source_distance_model, AL_LOKI_quadriphonic,
    AL_SOFT_block_alignment, AL_SOFT_buffer_samples, AL_SOFT_buffer_sub_data,
    AL_SOFT_deferred_updates, AL_SOFT_direct_channels, AL_SOFT_loop_points,
    AL_SOFT_MSADPCM, AL_SOFT_source_latency, AL_SOFT_source_length
EFX version: 1.0
Max auxiliary sends: 4
Supported filters:
    Low-pass, High-pass, Band-pass
Supported effects:
    EAX Reverb, Reverb, Chorus, Distortion, Echo, Flanger, Ring Modulator,
    Compressor, Equalizer, Dedicated Dialog, Dedicated LFE
Program ended with exit code: 0

Low effect limits

I'd like to advocate for higher maximum auxiliary effect slots
ALc.c: device->AuxiliaryEffectSlotMax = 4;
and higher maximum auxiliary sends
alSource.h: #define MAX_SENDS 4

They seem like a needlessly low hard cap. Particularly the maximum auxiliary effect slots, applying more than 4 different effects simultaneously to different sources can be useful for varying the audio experience, perhaps especially in top-down games with a lot of simultaneous action in different environments, as well as experimental games.

OpenAL Software Silent/Freezing

Following an update of my system, I discovered that all applications making use of OpenAL are silent while PulseAudio is running, and when I close them, they freeze, requiring a forceful putdown. Blender in particular seems to be having problems with playback when "A/V Sync" is enabled.

When the applications are running, they do make a connection to PulseAudio, as the name of the program appears in the "pavucontrol" main window. However, there is apparently no signal being received by Pulse, as the volume meter under the program's volume bar is not showing any signal.

The upgrade in question was an upgrade to Linux Kernel version 4.2.0; I lost the kernel I previously had, as I had performed a total nuke-and-pave, assuming that the system, having been updated a lot, might just be getting fragile in its old age.

I am unable to find any logs indicating the source of the problem. I was able to get a backtrace from the issue with Blender; this backtrace was taken following the attempt to close the program, when it froze.

I honestly don't know if the problem is in OpenAL, PulseAudio, or the kernel's ALSA drivers, but since the issue seems to only occur with programs using OpenAL, I figured this would be the best place to start.

I am currently using OpenAL-Soft 1.17.2, PulseAudio 7.0, and Kernel 4.2.0 on a fresh Lubuntu 15.10 (Wily) system. When the issue started, I was using Ubuntu's defaults of PulseAudio 6.0 and OpenAL-Soft 1.16.0

Jack error message on Ubuntu

I'm getting the following message when I use LibGDX with lwjgl3, which uses OpenAl-Soft:

Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock

I get this whether or not I'm playing or initializing a sound. Audio works though.

I'm on Ubuntu 16.04. I don't know what else I need to provide, so feel free to ask me about any information you need to fix this.

Do not define _XOPEN_SOURCE and _POSIX_C_SOURCE, when using non-POSIX features

-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 probably may cause non-Linux builds to break due to missing type definitions and functions. The switches are meant (as far as I understand the standard) to force conformance to POSIX and XSI, so everything not covered is not supposed to work until explicitly told otherwise (see http://pubs.opengroup.org/onlinepubs/007904975/functions/xsh_chap02_02.html, second section, 3rd bullet point).

Using both defines will cause FreeBSD to break building the OSS back-end due to missing u_long, u_char type definitions, since those are not covered by the standard.

/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -Dopenal_EXPORTS -std=c99  -O2 -g -D_DEBUG -fPIC -I/home/marcus/devel/projects/extern/openal-soft/include -I/home/marcus/devel/projects/extern/openal-soft/build -I/home/marcus/devel/projects/extern/openal-soft/OpenAL32/Include -I/home/marcus/devel/projects/extern/openal-soft/Alc -I/usr/local/include    -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/backends/oss.c.o   -c /home/marcus/devel/projects/extern/openal-soft/Alc/backends/oss.c
In file included from /home/marcus/devel/projects/extern/openal-soft/Alc/backends/oss.c:41:
/usr/include/sys/soundcard.h:243:5: error: unknown type name 'u_long'; did you mean 'long'?
    u_long      play_rate;      /* sampling rate                        */

AlHrtf Android bug -DHAVE_NEON=1 -mfpu=neon -mfloat-abi=softfp

APP_DEBUG := $(strip $(NDK_DEBUG))
ifeq ($(APP_DEBUG),0)
LOCAL_CFLAGS := -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -DANDROID_NDK -DBUILD_ANDROID -DGC_BUILD_ANDROID -DNDEBUG -DHAVE_NEON=1 -mfpu=neon -mfloat-abi=softfp
LOCAL_CPPFLAGS := -DGC_BUILD_C -DANDROID_NDK -DBUILD_ANDROID -DNDEBUG -DHAVE_NEON=1 -mfpu=neon -mfloat-abi=softfp
else
LOCAL_CFLAGS := -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -DANDROID_NDK -DBUILD_ANDROID -DGC_BUILD_ANDROID -D_DEBUG -DHAVE_NEON=1 -mfpu=neon -mfloat-abi=softfp
LOCAL_CPPFLAGS := -DGC_BUILD_C -DANDROID_NDK -DBUILD_ANDROID -D_DEBUG -DHAVE_NEON=1 -mfpu=neon -mfloat-abi=softfp
endif

its my android define

and build with mixer_neon.c ////////////////

the the sound will produce some noise~~~~

after remove -DHAVE_NEON=1 -mfpu=neon -mfloat-abi=softfp and mixer_neon.c
the sound perfect

mixer_neon.c have some problem but I do not know where

here is my example hrtf and i remove mixer_neon.c. if test bug then add it and define
-DHAVE_NEON=1 -mfpu=neon -mfloat-abi=softfp
http://www.mediafire.com/download/4v01owbdb90j242/openal-soft-android.zip

Crashes in release mode (debug works fine)

I have created a small sample program in C++ trying to play sounds with OpenAL Soft. The program crashes when compiled in release mode, when compiled in debug mode it works. I'm on OS X using 1.17.2

I get this error message:

SoundTest(28958,0x70000021d000) malloc: *** error for object 0x7fbdd26062c8: incorrect checksum for freed object - object was probably modified after being freed.

The source of the sample program can be found at:
http://stackoverflow.com/questions/37889119/openal-soft-crashes-in-release-mode-debug-works-fine

Build error with GCC 5.3.0

openal-soft-1.17.2/utils/openal-info.c
-- The C compiler identification is GNU 5.3.0
-- The CXX compiler identification is GNU 5.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of long
-- Check size of long - done
-- Check size of long long
-- Check size of long long - done
-- Performing Test HAVE_STD_C11
-- Performing Test HAVE_STD_C11 - Success
-- Looking for posix_memalign
-- Looking for posix_memalign - not found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Checking _FILE_OFFSET_BITS for large files
-- Checking _FILE_OFFSET_BITS for large files - not needed
-- Performing Test INLINE_IS_C99
-- Performing Test INLINE_IS_C99 - Success
-- Performing Test HAVE_C99_VLA
-- Performing Test HAVE_C99_VLA - Success
-- Performing Test HAVE_C99_BOOL
-- Performing Test HAVE_C99_BOOL - Success
-- Performing Test HAVE_C11_STATIC_ASSERT
-- Performing Test HAVE_C11_STATIC_ASSERT - Success
-- Performing Test HAVE_C11_ALIGNAS
-- Performing Test HAVE_C11_ALIGNAS - Success
-- Performing Test HAVE_C11_ATOMIC
-- Performing Test HAVE_C11_ATOMIC - Success
-- Performing Test HAVE_W_EXTRA
-- Performing Test HAVE_W_EXTRA - Success
-- Performing Test HAVE_GCC_DESTRUCTOR
-- Performing Test HAVE_GCC_DESTRUCTOR - Success
-- Performing Test HAVE_GCC_PROTECTED_VISIBILITY
-- Performing Test HAVE_GCC_PROTECTED_VISIBILITY - Success
-- Performing Test HAVE_VISIBILITY_HIDDEN_SWITCH
-- Performing Test HAVE_VISIBILITY_HIDDEN_SWITCH - Success
-- Performing Test HAVE_ATTRIBUTE_ALIGNED
-- Performing Test HAVE_ATTRIBUTE_ALIGNED - Success
-- Performing Test HAVE_MSSE_SWITCH
-- Performing Test HAVE_MSSE_SWITCH - Success
-- Performing Test HAVE_MSSE2_SWITCH
-- Performing Test HAVE_MSSE2_SWITCH - Success
-- Performing Test HAVE_MSSE3_SWITCH
-- Performing Test HAVE_MSSE3_SWITCH - Success
-- Performing Test HAVE_MSSE4_1_SWITCH
-- Performing Test HAVE_MSSE4_1_SWITCH - Success
-- Performing Test HAVE_GCC_FORMAT
-- Performing Test HAVE_GCC_FORMAT - Success
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Looking for stdalign.h
-- Looking for stdalign.h - found
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for dirent.h
-- Looking for dirent.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for cpuid.h
-- Looking for cpuid.h - found
-- Looking for intrin.h
-- Looking for intrin.h - not found
-- Looking for sys/sysconf.h
-- Looking for sys/sysconf.h - not found
-- Looking for fenv.h
-- Looking for fenv.h - found
-- Looking for float.h
-- Looking for float.h - found
-- Looking for ieeefp.h
-- Looking for ieeefp.h - not found
-- Looking for guiddef.h
-- Looking for guiddef.h - not found
-- Looking for initguid.h
-- Looking for initguid.h - not found
-- Looking for pow in m
-- Looking for pow in m - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Performing Test HAVE_GCC_GET_CPUID
-- Performing Test HAVE_GCC_GET_CPUID - Success
-- Looking for aligned_alloc
-- Looking for aligned_alloc - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for _aligned_malloc
-- Looking for _aligned_malloc - not found
-- Looking for lrintf
-- Looking for lrintf - found
-- Looking for modff
-- Looking for modff - found
-- Looking for _controlfp
-- Looking for _controlfp - not found
-- Looking for __control87_2
-- Looking for __control87_2 - not found
-- Looking for stat
-- Looking for stat - found
-- Looking for strtof
-- Looking for strtof - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for strnlen
-- Looking for strnlen - not found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for isfinite
-- Looking for isfinite - found
-- Looking for isnan
-- Looking for isnan - found
-- Looking for windows.h
-- Looking for windows.h - not found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for nanosleep
-- Looking for nanosleep - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for include files pthread.h, pthread_np.h
-- Looking for include files pthread.h, pthread_np.h - not found
-- Performing Test HAVE_PTHREAD
-- Performing Test HAVE_PTHREAD - Success
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for pthread_setschedparam
-- Looking for pthread_setschedparam - found
-- Looking for pthread_setname_np
-- Looking for pthread_setname_np - not found
-- Looking for pthread_set_name_np
-- Looking for pthread_set_name_np - not found
-- Looking for pthread_mutexattr_setkind_np
-- Looking for pthread_mutexattr_setkind_np - not found
-- Looking for pthread_mutex_timedlock
-- Looking for pthread_mutex_timedlock - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for xmmintrin.h
-- Looking for xmmintrin.h - found
-- Looking for emmintrin.h
-- Looking for emmintrin.h - found
-- Looking for pmmintrin.h
-- Looking for pmmintrin.h - found
-- Looking for smmintrin.h
-- Looking for smmintrin.h - found
-- Looking for arm_neon.h
-- Looking for arm_neon.h - not found
-- Found ALSA: /usr/lib64/libasound.so (found version "1.1.1") 
-- Found OSS: /usr/include  
-- Could NOT find AudioIO (missing:  AUDIOIO_INCLUDE_DIR) 
-- Could NOT find SoundIO (missing:  SOUNDIO_LIBRARY SOUNDIO_INCLUDE_DIR) 
-- Could NOT find QSA (missing:  QSA_LIBRARY QSA_INCLUDE_DIR) 
-- Could NOT find PortAudio (missing:  PORTAUDIO_LIBRARY PORTAUDIO_INCLUDE_DIR) 
-- Found PulseAudio: /usr/lib64/libpulse.so (found version "9.0.0") 
-- Could NOT find JACK (missing:  JACK_LIBRARY JACK_INCLUDE_DIR) 
-- Looking for include files SLES/OpenSLES.h, SLES/OpenSLES_Android.h
-- Looking for include files SLES/OpenSLES.h, SLES/OpenSLES_Android.h - not found
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.7", minimum required is "4.8.0") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Found SDL2: /usr/lib64/libSDL2main.a;/usr/lib64/libSDL2.so  
-- Found SDL_sound: /usr/lib64/libSDL_sound.so;/usr/lib64/libSDL2main.a;/usr/lib64/libSDL2.so (found version "1.0.3") 
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for module 'libavcodec'
--   Found libavcodec, version 57.48.101
-- Checking for module 'libavformat'
--   Found libavformat, version 57.41.100
-- Checking for module 'libavdevice'
--   Found libavdevice, version 57.0.101
-- Checking for module 'libavutil'
--   Found libavutil, version 55.28.100
-- Checking for module 'libswscale'
--   Found libswscale, version 4.1.100
-- Checking for module 'libswresample'
--   Found libswresample, version 2.1.100
-- Checking for module 'libpostproc'
--   Found libpostproc, version 54.0.100
-- Found FFmpeg: /usr/lib64/libavformat.so;/usr/lib64/libavcodec.so;/usr/lib64/libavutil.so;/usr/lib64/libswscale.so;/usr/lib64/libswresample.so  
-- 
-- Building OpenAL with support for the following backends:
--      ALSA, OSS, PulseAudio, WaveFile, Null
-- 
-- Building with support for CPU extensions:
--     Default, SSE, SSE2, SSE3, SSE4.1
-- 
-- Installing sample configuration
-- 
-- Installing HRTF definitions
-- 
-- Building utility programs
-- Building configuration program
-- 
-- Building test programs
-- 
-- Building SDL and FFmpeg example programs
-- 
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/SBo/openal-soft-1.17.2
/usr/bin/cmake -H/tmp/SBo/openal-soft-1.17.2 -B/tmp/SBo/openal-soft-1.17.2 --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /tmp/SBo/openal-soft-1.17.2/CMakeFiles /tmp/SBo/openal-soft-1.17.2/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
make -f CMakeFiles/common.dir/build.make CMakeFiles/common.dir/depend
make -f CMakeFiles/ex-common.dir/build.make CMakeFiles/ex-common.dir/depend
make -f CMakeFiles/bsincgen.dir/build.make CMakeFiles/bsincgen.dir/depend
make -f CMakeFiles/makehrtf.dir/build.make CMakeFiles/makehrtf.dir/depend
make -f CMakeFiles/test-common.dir/build.make CMakeFiles/test-common.dir/depend
make -f utils/alsoft-config/CMakeFiles/alsoft-config.dir/build.make utils/alsoft-config/CMakeFiles/alsoft-config.dir/depend
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
cd /tmp/SBo/openal-soft-1.17.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2/CMakeFiles/common.dir/DependInfo.cmake --color=
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
cd /tmp/SBo/openal-soft-1.17.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2/CMakeFiles/test-common.dir/DependInfo.cmake --color=
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
cd /tmp/SBo/openal-soft-1.17.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2/CMakeFiles/ex-common.dir/DependInfo.cmake --color=
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
cd /tmp/SBo/openal-soft-1.17.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2/CMakeFiles/makehrtf.dir/DependInfo.cmake --color=
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
cd /tmp/SBo/openal-soft-1.17.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2/CMakeFiles/bsincgen.dir/DependInfo.cmake --color=
[  1%] Generating ui_mainwindow.h
cd /tmp/SBo/openal-soft-1.17.2/utils/alsoft-config && /usr/lib64/qt/bin/uic -o /tmp/SBo/openal-soft-1.17.2/utils/alsoft-config/ui_mainwindow.h /tmp/SBo/openal-soft-1.17.2/utils/alsoft-config/mainwindow.ui
Scanning dependencies of target test-common
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
Scanning dependencies of target ex-common
Scanning dependencies of target common
make -f CMakeFiles/test-common.dir/build.make CMakeFiles/test-common.dir/build
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
Scanning dependencies of target makehrtf
make -f CMakeFiles/common.dir/build.make CMakeFiles/common.dir/build
make -f CMakeFiles/ex-common.dir/build.make CMakeFiles/ex-common.dir/build
[  2%] Generating moc_mainwindow.cxx
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
cd /tmp/SBo/openal-soft-1.17.2/utils/alsoft-config && /usr/lib64/qt/bin/moc @/tmp/SBo/openal-soft-1.17.2/utils/alsoft-config/moc_mainwindow.cxx_parameters
make -f CMakeFiles/makehrtf.dir/build.make CMakeFiles/makehrtf.dir/build
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
Scanning dependencies of target bsincgen
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
make -f CMakeFiles/bsincgen.dir/build.make CMakeFiles/bsincgen.dir/build
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
[  3%] Building C object CMakeFiles/test-common.dir/examples/common/alhelpers.c.o
/usr/bin/cc  -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2  -std=c11 -O2 -fPIC -O3 -DNDEBUG   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/test-common.dir/examples/common/alhelpers.c.o   -c /tmp/SBo/openal-soft-1.17.2/examples/common/alhelpers.c
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
[  7%] Building C object CMakeFiles/ex-common.dir/examples/common/alhelpers.c.o
[  7%] Building C object CMakeFiles/common.dir/common/atomic.c.o
[  7%] Building C object CMakeFiles/makehrtf.dir/utils/makehrtf.c.o
/usr/bin/cc  -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/common.dir/common/atomic.c.o   -c /tmp/SBo/openal-soft-1.17.2/common/atomic.c
/usr/bin/cc  -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2  -std=c11 -O2 -fPIC -O3 -DNDEBUG   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/makehrtf.dir/utils/makehrtf.c.o   -c /tmp/SBo/openal-soft-1.17.2/utils/makehrtf.c
/usr/bin/cc  -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/usr/include/SDL2 -I/usr/include/SDL  -std=c11 -O2 -fPIC -O3 -DNDEBUG   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/ex-common.dir/examples/common/alhelpers.c.o   -c /tmp/SBo/openal-soft-1.17.2/examples/common/alhelpers.c
[  8%] Building C object CMakeFiles/common.dir/common/rwlock.c.o
/usr/bin/cc  -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/common.dir/common/rwlock.c.o   -c /tmp/SBo/openal-soft-1.17.2/common/rwlock.c
[  9%] Building C object CMakeFiles/bsincgen.dir/utils/bsincgen.c.o
/usr/bin/cc  -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2  -std=c11 -O2 -fPIC -O3 -DNDEBUG   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/bsincgen.dir/utils/bsincgen.c.o   -c /tmp/SBo/openal-soft-1.17.2/utils/bsincgen.c
cd /tmp/SBo/openal-soft-1.17.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2/utils/alsoft-config /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2/utils/alsoft-config /tmp/SBo/openal-soft-1.17.2/utils/alsoft-config/CMakeFiles/alsoft-config.dir/DependInfo.cmake --color=
[ 11%] Building C object CMakeFiles/common.dir/common/threads.c.o
/usr/bin/cc  -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/common.dir/common/threads.c.o   -c /tmp/SBo/openal-soft-1.17.2/common/threads.c
Scanning dependencies of target alsoft-config
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
make -f utils/alsoft-config/CMakeFiles/alsoft-config.dir/build.make utils/alsoft-config/CMakeFiles/alsoft-config.dir/build
[ 12%] Building C object CMakeFiles/common.dir/common/uintmap.c.o
/usr/bin/cc  -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/common.dir/common/uintmap.c.o   -c /tmp/SBo/openal-soft-1.17.2/common/uintmap.c
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
[ 13%] Building CXX object utils/alsoft-config/CMakeFiles/alsoft-config.dir/main.cpp.o
cd /tmp/SBo/openal-soft-1.17.2/utils/alsoft-config && /usr/bin/c++   -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/utils/alsoft-config -isystem /usr/lib64/qt/include -isystem /usr/lib64/qt/include/QtGui -isystem /usr/lib64/qt/include/QtCore  -O3 -DNDEBUG   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/alsoft-config.dir/main.cpp.o -c /tmp/SBo/openal-soft-1.17.2/utils/alsoft-config/main.cpp
[ 14%] Building C object CMakeFiles/ex-common.dir/examples/common/sdl_sound.c.o
/usr/bin/cc  -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/usr/include/SDL2 -I/usr/include/SDL  -std=c11 -O2 -fPIC -O3 -DNDEBUG   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/ex-common.dir/examples/common/sdl_sound.c.o   -c /tmp/SBo/openal-soft-1.17.2/examples/common/sdl_sound.c
[ 16%] Linking C static library libtest-common.a
/usr/bin/cmake -P CMakeFiles/test-common.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/test-common.dir/link.txt --verbose=1
/usr/bin/ar qc libtest-common.a  CMakeFiles/test-common.dir/examples/common/alhelpers.c.o
/usr/bin/ranlib libtest-common.a
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
[ 16%] Built target test-common
[ 17%] Building CXX object utils/alsoft-config/CMakeFiles/alsoft-config.dir/mainwindow.cpp.o
cd /tmp/SBo/openal-soft-1.17.2/utils/alsoft-config && /usr/bin/c++   -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/utils/alsoft-config -isystem /usr/lib64/qt/include -isystem /usr/lib64/qt/include/QtGui -isystem /usr/lib64/qt/include/QtCore  -O3 -DNDEBUG   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/alsoft-config.dir/mainwindow.cpp.o -c /tmp/SBo/openal-soft-1.17.2/utils/alsoft-config/mainwindow.cpp
[ 18%] Building CXX object utils/alsoft-config/CMakeFiles/alsoft-config.dir/moc_mainwindow.cxx.o
cd /tmp/SBo/openal-soft-1.17.2/utils/alsoft-config && /usr/bin/c++   -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/utils/alsoft-config -isystem /usr/lib64/qt/include -isystem /usr/lib64/qt/include/QtGui -isystem /usr/lib64/qt/include/QtCore  -O3 -DNDEBUG   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/alsoft-config.dir/moc_mainwindow.cxx.o -c /tmp/SBo/openal-soft-1.17.2/utils/alsoft-config/moc_mainwindow.cxx
[ 19%] Linking C static library libex-common.a
/usr/bin/cmake -P CMakeFiles/ex-common.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/ex-common.dir/link.txt --verbose=1
[ 20%] Linking C static library libcommon.a
/usr/bin/cmake -P CMakeFiles/common.dir/cmake_clean_target.cmake
/usr/bin/ar qc libex-common.a  CMakeFiles/ex-common.dir/examples/common/alhelpers.c.o CMakeFiles/ex-common.dir/examples/common/sdl_sound.c.o
/usr/bin/ranlib libex-common.a
/usr/bin/cmake -E cmake_link_script CMakeFiles/common.dir/link.txt --verbose=1
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
/usr/bin/ar qc libcommon.a  CMakeFiles/common.dir/common/atomic.c.o CMakeFiles/common.dir/common/rwlock.c.o CMakeFiles/common.dir/common/threads.c.o CMakeFiles/common.dir/common/uintmap.c.o
[ 20%] Built target ex-common
/usr/bin/ranlib libcommon.a
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
[ 20%] Built target common
make -f CMakeFiles/openal.dir/build.make CMakeFiles/openal.dir/depend
[ 22%] Linking C executable bsincgen
/usr/bin/cmake -E cmake_link_script CMakeFiles/bsincgen.dir/link.txt --verbose=1
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
cd /tmp/SBo/openal-soft-1.17.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2/CMakeFiles/openal.dir/DependInfo.cmake --color=
/usr/bin/cc  -std=c11 -O2 -fPIC -O3 -DNDEBUG   CMakeFiles/bsincgen.dir/utils/bsincgen.c.o  -o bsincgen -rdynamic -lm 
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
Scanning dependencies of target openal
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
make -f CMakeFiles/openal.dir/build.make CMakeFiles/openal.dir/build
[ 22%] Built target bsincgen
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
[ 23%] Building C object CMakeFiles/openal.dir/OpenAL32/alAuxEffectSlot.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/OpenAL32/alAuxEffectSlot.c.o   -c /tmp/SBo/openal-soft-1.17.2/OpenAL32/alAuxEffectSlot.c
[ 24%] Building C object CMakeFiles/openal.dir/OpenAL32/alBuffer.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/OpenAL32/alBuffer.c.o   -c /tmp/SBo/openal-soft-1.17.2/OpenAL32/alBuffer.c
[ 25%] Building C object CMakeFiles/openal.dir/OpenAL32/alEffect.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/OpenAL32/alEffect.c.o   -c /tmp/SBo/openal-soft-1.17.2/OpenAL32/alEffect.c
[ 27%] Building C object CMakeFiles/openal.dir/OpenAL32/alError.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/OpenAL32/alError.c.o   -c /tmp/SBo/openal-soft-1.17.2/OpenAL32/alError.c
[ 28%] Building C object CMakeFiles/openal.dir/OpenAL32/alExtension.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/OpenAL32/alExtension.c.o   -c /tmp/SBo/openal-soft-1.17.2/OpenAL32/alExtension.c
[ 29%] Building C object CMakeFiles/openal.dir/OpenAL32/alFilter.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/OpenAL32/alFilter.c.o   -c /tmp/SBo/openal-soft-1.17.2/OpenAL32/alFilter.c
[ 30%] Building C object CMakeFiles/openal.dir/OpenAL32/alListener.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/OpenAL32/alListener.c.o   -c /tmp/SBo/openal-soft-1.17.2/OpenAL32/alListener.c
[ 32%] Building C object CMakeFiles/openal.dir/OpenAL32/alSource.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/OpenAL32/alSource.c.o   -c /tmp/SBo/openal-soft-1.17.2/OpenAL32/alSource.c
[ 33%] Building C object CMakeFiles/openal.dir/OpenAL32/alState.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/OpenAL32/alState.c.o   -c /tmp/SBo/openal-soft-1.17.2/OpenAL32/alState.c
[ 34%] Building C object CMakeFiles/openal.dir/OpenAL32/alThunk.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/OpenAL32/alThunk.c.o   -c /tmp/SBo/openal-soft-1.17.2/OpenAL32/alThunk.c
[ 35%] Building C object CMakeFiles/openal.dir/OpenAL32/sample_cvt.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/OpenAL32/sample_cvt.c.o   -c /tmp/SBo/openal-soft-1.17.2/OpenAL32/sample_cvt.c
[ 37%] Building C object CMakeFiles/openal.dir/Alc/ALu.c.o
[ 38%] Building C object CMakeFiles/openal.dir/Alc/ALc.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/ALu.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/ALu.c
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/ALc.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/ALc.c
/tmp/SBo/openal-soft-1.17.2/Alc/ALc.c: In function ‘LockLists’:
/tmp/SBo/openal-soft-1.17.2/Alc/ALc.c:775:9: warning: unused variable ‘lockret’ [-Wunused-variable]
     int lockret = almtx_lock(&ListLock);
         ^
/tmp/SBo/openal-soft-1.17.2/Alc/ALc.c: In function ‘UnlockLists’:
/tmp/SBo/openal-soft-1.17.2/Alc/ALc.c:780:9: warning: unused variable ‘unlockret’ [-Wunused-variable]
     int unlockret = almtx_unlock(&ListLock);
         ^
/tmp/SBo/openal-soft-1.17.2/Alc/ALc.c: In function ‘alc_init’:
/tmp/SBo/openal-soft-1.17.2/Alc/ALc.c:852:9: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
     int ret;
         ^
[ 39%] Building C object CMakeFiles/openal.dir/Alc/alcConfig.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/alcConfig.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/alcConfig.c
/tmp/SBo/openal-soft-1.17.2/Alc/ALc.c: In function ‘alc_initconfig’:
/tmp/SBo/openal-soft-1.17.2/Alc/ALc.c:1040:57: warning: array subscript is above array bounds [-Warray-bounds]
                             BackendList[n] = BackendList[n+1];
                                                         ^
/tmp/SBo/openal-soft-1.17.2/Alc/ALc.c:1042:44: warning: array subscript is above array bounds [-Warray-bounds]
                         } while(BackendList[n].name);
                                            ^
[ 40%] Linking C executable makehrtf
/usr/bin/cmake -E cmake_link_script CMakeFiles/makehrtf.dir/link.txt --verbose=1
/usr/bin/cc  -std=c11 -O2 -fPIC -O3 -DNDEBUG   CMakeFiles/makehrtf.dir/utils/makehrtf.c.o  -o makehrtf -rdynamic -lm 
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
[ 40%] Built target makehrtf
/tmp/SBo/openal-soft-1.17.2/OpenAL32/sample_cvt.c: In function ‘DecodeIMA4Block’:
/tmp/SBo/openal-soft-1.17.2/OpenAL32/sample_cvt.c:275:25: warning: ‘code[7]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                 code[c] >>= 4;
                         ^
/tmp/SBo/openal-soft-1.17.2/OpenAL32/sample_cvt.c:275:25: warning: ‘code[6]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
/tmp/SBo/openal-soft-1.17.2/OpenAL32/sample_cvt.c:275:25: warning: ‘code[5]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
/tmp/SBo/openal-soft-1.17.2/OpenAL32/sample_cvt.c:275:25: warning: ‘code[4]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
/tmp/SBo/openal-soft-1.17.2/OpenAL32/sample_cvt.c:275:25: warning: ‘code[3]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
/tmp/SBo/openal-soft-1.17.2/OpenAL32/sample_cvt.c:275:25: warning: ‘code[2]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
/tmp/SBo/openal-soft-1.17.2/OpenAL32/sample_cvt.c:275:25: warning: ‘code[1]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
/tmp/SBo/openal-soft-1.17.2/OpenAL32/sample_cvt.c:275:25: warning: ‘code[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
[ 41%] Building C object CMakeFiles/openal.dir/Alc/bs2b.c.o
[ 43%] Building C object CMakeFiles/openal.dir/Alc/alcRing.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/bs2b.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/bs2b.c
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/alcRing.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/alcRing.c
[ 44%] Building C object CMakeFiles/openal.dir/Alc/effects/autowah.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/effects/autowah.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/effects/autowah.c
[ 45%] Building C object CMakeFiles/openal.dir/Alc/effects/chorus.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/effects/chorus.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/effects/chorus.c
[ 46%] Building C object CMakeFiles/openal.dir/Alc/effects/compressor.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/effects/compressor.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/effects/compressor.c
[ 48%] Building C object CMakeFiles/openal.dir/Alc/effects/dedicated.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/effects/dedicated.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/effects/dedicated.c
[ 49%] Building C object CMakeFiles/openal.dir/Alc/effects/distortion.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/effects/distortion.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/effects/distortion.c
[ 50%] Building C object CMakeFiles/openal.dir/Alc/effects/echo.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/effects/echo.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/effects/echo.c
[ 51%] Building C object CMakeFiles/openal.dir/Alc/effects/equalizer.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/effects/equalizer.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/effects/equalizer.c
[ 53%] Building C object CMakeFiles/openal.dir/Alc/effects/modulator.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/effects/modulator.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/effects/modulator.c
[ 54%] Building C object CMakeFiles/openal.dir/Alc/effects/flanger.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/effects/flanger.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/effects/flanger.c
[ 55%] Building C object CMakeFiles/openal.dir/Alc/effects/null.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/effects/null.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/effects/null.c
[ 56%] Building C object CMakeFiles/openal.dir/Alc/effects/reverb.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/effects/reverb.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/effects/reverb.c
[ 58%] Building C object CMakeFiles/openal.dir/Alc/helpers.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/helpers.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/helpers.c
[ 59%] Building C object CMakeFiles/openal.dir/Alc/bsinc.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/bsinc.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/bsinc.c
[ 60%] Building C object CMakeFiles/openal.dir/Alc/hrtf.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/hrtf.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/hrtf.c
[ 61%] Building C object CMakeFiles/openal.dir/Alc/panning.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/panning.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/panning.c
[ 62%] Building C object CMakeFiles/openal.dir/Alc/mixer.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/mixer.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/mixer.c
[ 64%] Building C object CMakeFiles/openal.dir/Alc/mixer_c.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/mixer_c.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/mixer_c.c
[ 65%] Building C object CMakeFiles/openal.dir/Alc/mixer_sse.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -msse -o CMakeFiles/openal.dir/Alc/mixer_sse.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/mixer_sse.c
[ 66%] Building C object CMakeFiles/openal.dir/Alc/mixer_sse2.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -msse2 -o CMakeFiles/openal.dir/Alc/mixer_sse2.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/mixer_sse2.c
[ 67%] Building C object CMakeFiles/openal.dir/Alc/mixer_sse3.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -msse3 -o CMakeFiles/openal.dir/Alc/mixer_sse3.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/mixer_sse3.c
[ 69%] Building C object CMakeFiles/openal.dir/Alc/mixer_sse41.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -msse4.1 -o CMakeFiles/openal.dir/Alc/mixer_sse41.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/mixer_sse41.c
[ 70%] Building C object CMakeFiles/openal.dir/Alc/backends/base.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/backends/base.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/backends/base.c
[ 71%] Building C object CMakeFiles/openal.dir/Alc/backends/loopback.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/backends/loopback.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/backends/loopback.c
[ 72%] Building C object CMakeFiles/openal.dir/Alc/backends/null.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/backends/null.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/backends/null.c
/tmp/SBo/openal-soft-1.17.2/Alc/backends/base.c: In function ‘ALCbackend_Construct’:
/tmp/SBo/openal-soft-1.17.2/Alc/backends/base.c:14:9: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
     int ret;
         ^
/tmp/SBo/openal-soft-1.17.2/Alc/backends/base.c: In function ‘ALCbackend_lock’:
/tmp/SBo/openal-soft-1.17.2/Alc/backends/base.c:47:9: warning: unused variable ‘ret’ [-Wunused-variable]
     int ret = almtx_lock(&self->mMutex);
         ^
/tmp/SBo/openal-soft-1.17.2/Alc/backends/base.c: In function ‘ALCbackend_unlock’:
/tmp/SBo/openal-soft-1.17.2/Alc/backends/base.c:53:9: warning: unused variable ‘ret’ [-Wunused-variable]
     int ret = almtx_unlock(&self->mMutex);
         ^
[ 74%] Building C object CMakeFiles/openal.dir/Alc/backends/alsa.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/backends/alsa.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/backends/alsa.c
[ 75%] Building C object CMakeFiles/openal.dir/Alc/backends/oss.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/backends/oss.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/backends/oss.c
[ 76%] Building C object CMakeFiles/openal.dir/Alc/backends/pulseaudio.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/backends/pulseaudio.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/backends/pulseaudio.c
[ 77%] Building C object CMakeFiles/openal.dir/Alc/backends/wave.c.o
/usr/bin/cc  -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -Dopenal_EXPORTS -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/tmp/SBo/openal-soft-1.17.2/OpenAL32/Include -I/tmp/SBo/openal-soft-1.17.2/Alc  -std=c11 -O2 -fPIC -O3 -DNDEBUG -fPIC   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal.dir/Alc/backends/wave.c.o   -c /tmp/SBo/openal-soft-1.17.2/Alc/backends/wave.c
[ 79%] Linking CXX executable ../../alsoft-config
cd /tmp/SBo/openal-soft-1.17.2/utils/alsoft-config && /usr/bin/cmake -E cmake_link_script CMakeFiles/alsoft-config.dir/link.txt --verbose=1
/usr/bin/c++   -O3 -DNDEBUG   CMakeFiles/alsoft-config.dir/main.cpp.o CMakeFiles/alsoft-config.dir/mainwindow.cpp.o CMakeFiles/alsoft-config.dir/moc_mainwindow.cxx.o  -o ../../alsoft-config -rdynamic /usr/lib64/qt/lib/libQtGui.so /usr/lib64/qt/lib/libQtCore.so -Wl,-rpath,/usr/lib64/qt/lib: 
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
[ 79%] Built target alsoft-config
[ 80%] Linking C shared library libopenal.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/openal.dir/link.txt --verbose=1
/usr/bin/cc  -fPIC -std=c11 -O2 -fPIC -O3 -DNDEBUG  -shared -Wl,-soname,libopenal.so.1 -o libopenal.so.1.17.2 CMakeFiles/openal.dir/OpenAL32/alAuxEffectSlot.c.o CMakeFiles/openal.dir/OpenAL32/alBuffer.c.o CMakeFiles/openal.dir/OpenAL32/alEffect.c.o CMakeFiles/openal.dir/OpenAL32/alError.c.o CMakeFiles/openal.dir/OpenAL32/alExtension.c.o CMakeFiles/openal.dir/OpenAL32/alFilter.c.o CMakeFiles/openal.dir/OpenAL32/alListener.c.o CMakeFiles/openal.dir/OpenAL32/alSource.c.o CMakeFiles/openal.dir/OpenAL32/alState.c.o CMakeFiles/openal.dir/OpenAL32/alThunk.c.o CMakeFiles/openal.dir/OpenAL32/sample_cvt.c.o CMakeFiles/openal.dir/Alc/ALc.c.o CMakeFiles/openal.dir/Alc/ALu.c.o CMakeFiles/openal.dir/Alc/alcConfig.c.o CMakeFiles/openal.dir/Alc/alcRing.c.o CMakeFiles/openal.dir/Alc/bs2b.c.o CMakeFiles/openal.dir/Alc/effects/autowah.c.o CMakeFiles/openal.dir/Alc/effects/chorus.c.o CMakeFiles/openal.dir/Alc/effects/compressor.c.o CMakeFiles/openal.dir/Alc/effects/dedicated.c.o CMakeFiles/openal.dir/Alc/effects/distortion.c.o CMakeFiles/openal.dir/Alc/effects/echo.c.o CMakeFiles/openal.dir/Alc/effects/equalizer.c.o CMakeFiles/openal.dir/Alc/effects/flanger.c.o CMakeFiles/openal.dir/Alc/effects/modulator.c.o CMakeFiles/openal.dir/Alc/effects/null.c.o CMakeFiles/openal.dir/Alc/effects/reverb.c.o CMakeFiles/openal.dir/Alc/helpers.c.o CMakeFiles/openal.dir/Alc/bsinc.c.o CMakeFiles/openal.dir/Alc/hrtf.c.o CMakeFiles/openal.dir/Alc/panning.c.o CMakeFiles/openal.dir/Alc/mixer.c.o CMakeFiles/openal.dir/Alc/mixer_c.c.o CMakeFiles/openal.dir/Alc/mixer_sse.c.o CMakeFiles/openal.dir/Alc/mixer_sse2.c.o CMakeFiles/openal.dir/Alc/mixer_sse3.c.o CMakeFiles/openal.dir/Alc/mixer_sse41.c.o CMakeFiles/openal.dir/Alc/backends/base.c.o CMakeFiles/openal.dir/Alc/backends/loopback.c.o CMakeFiles/openal.dir/Alc/backends/null.c.o CMakeFiles/openal.dir/Alc/backends/alsa.c.o CMakeFiles/openal.dir/Alc/backends/oss.c.o CMakeFiles/openal.dir/Alc/backends/pulseaudio.c.o CMakeFiles/openal.dir/Alc/backends/wave.c.o libcommon.a -lrt -lpthread -ldl -lm -pthread 
/usr/bin/cmake -E cmake_symlink_library libopenal.so.1.17.2 libopenal.so.1 libopenal.so
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
[ 80%] Built target openal
make -f CMakeFiles/alffplay.dir/build.make CMakeFiles/alffplay.dir/depend
make -f CMakeFiles/allatency.dir/build.make CMakeFiles/allatency.dir/depend
make -f CMakeFiles/alloopback.dir/build.make CMakeFiles/alloopback.dir/depend
make -f CMakeFiles/openal-info.dir/build.make CMakeFiles/openal-info.dir/depend
make -f CMakeFiles/alhrtf.dir/build.make CMakeFiles/alhrtf.dir/depend
make -f CMakeFiles/alreverb.dir/build.make CMakeFiles/alreverb.dir/depend
make -f CMakeFiles/altonegen.dir/build.make CMakeFiles/altonegen.dir/depend
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
cd /tmp/SBo/openal-soft-1.17.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2/CMakeFiles/alreverb.dir/DependInfo.cmake --color=
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
cd /tmp/SBo/openal-soft-1.17.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2/CMakeFiles/alffplay.dir/DependInfo.cmake --color=
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
cd /tmp/SBo/openal-soft-1.17.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2/CMakeFiles/openal-info.dir/DependInfo.cmake --color=
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
cd /tmp/SBo/openal-soft-1.17.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2/CMakeFiles/alloopback.dir/DependInfo.cmake --color=
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
cd /tmp/SBo/openal-soft-1.17.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2/CMakeFiles/alhrtf.dir/DependInfo.cmake --color=
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
cd /tmp/SBo/openal-soft-1.17.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2/CMakeFiles/altonegen.dir/DependInfo.cmake --color=
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
cd /tmp/SBo/openal-soft-1.17.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2 /tmp/SBo/openal-soft-1.17.2/CMakeFiles/allatency.dir/DependInfo.cmake --color=
Scanning dependencies of target openal-info
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
Scanning dependencies of target altonegen
make -f CMakeFiles/openal-info.dir/build.make CMakeFiles/openal-info.dir/build
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
make -f CMakeFiles/altonegen.dir/build.make CMakeFiles/altonegen.dir/build
Scanning dependencies of target alreverb
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
make -f CMakeFiles/alreverb.dir/build.make CMakeFiles/alreverb.dir/build
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
Scanning dependencies of target alffplay
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
make -f CMakeFiles/alffplay.dir/build.make CMakeFiles/alffplay.dir/build
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
Scanning dependencies of target alhrtf
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
make -f CMakeFiles/alhrtf.dir/build.make CMakeFiles/alhrtf.dir/build
Scanning dependencies of target alloopback
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
make -f CMakeFiles/alloopback.dir/build.make CMakeFiles/alloopback.dir/build
[ 81%] Building C object CMakeFiles/openal-info.dir/utils/openal-info.c.o
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
Scanning dependencies of target allatency
/usr/bin/cc  -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2  -std=c11 -O2 -fPIC -O3 -DNDEBUG   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/openal-info.dir/utils/openal-info.c.o   -c /tmp/SBo/openal-soft-1.17.2/utils/openal-info.c
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
[ 82%] Building C object CMakeFiles/altonegen.dir/examples/altonegen.c.o
/usr/bin/cc  -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2  -std=c11 -O2 -fPIC -O3 -DNDEBUG   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/altonegen.dir/examples/altonegen.c.o   -c /tmp/SBo/openal-soft-1.17.2/examples/altonegen.c
make -f CMakeFiles/allatency.dir/build.make CMakeFiles/allatency.dir/build
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
[ 83%] Building C object CMakeFiles/alreverb.dir/examples/alreverb.c.o
/usr/bin/cc  -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/usr/include/SDL2 -I/usr/include/SDL  -std=c11 -O2 -fPIC -O3 -DNDEBUG   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/alreverb.dir/examples/alreverb.c.o   -c /tmp/SBo/openal-soft-1.17.2/examples/alreverb.c
make[2]: Entering directory '/tmp/SBo/openal-soft-1.17.2'
[ 85%] Building C object CMakeFiles/alhrtf.dir/examples/alhrtf.c.o
/usr/bin/cc  -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/usr/include/SDL2 -I/usr/include/SDL  -std=c11 -O2 -fPIC -O3 -DNDEBUG   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/alhrtf.dir/examples/alhrtf.c.o   -c /tmp/SBo/openal-soft-1.17.2/examples/alhrtf.c
[ 86%] Building C object CMakeFiles/alffplay.dir/examples/alffplay.c.o
/usr/bin/cc  -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/usr/include/SDL2  -std=c11 -O2 -fPIC -O3 -DNDEBUG   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/alffplay.dir/examples/alffplay.c.o   -c /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c
[ 87%] Building C object CMakeFiles/alloopback.dir/examples/alloopback.c.o
/usr/bin/cc  -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/usr/include/SDL2 -I/usr/include/SDL  -std=c11 -O2 -fPIC -O3 -DNDEBUG   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/alloopback.dir/examples/alloopback.c.o   -c /tmp/SBo/openal-soft-1.17.2/examples/alloopback.c
[ 88%] Building C object CMakeFiles/allatency.dir/examples/allatency.c.o
/usr/bin/cc  -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -I/tmp/SBo/openal-soft-1.17.2/include -I/tmp/SBo/openal-soft-1.17.2 -I/usr/include/SDL2 -I/usr/include/SDL  -std=c11 -O2 -fPIC -O3 -DNDEBUG   -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/allatency.dir/examples/allatency.c.o   -c /tmp/SBo/openal-soft-1.17.2/examples/allatency.c
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c: In function ‘packet_queue_put’:
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:177:5: warning: ‘av_dup_packet’ is deprecated [-Wdeprecated-declarations]
     if(pkt != &flush_pkt && !pkt->buf && av_dup_packet(pkt) < 0)
     ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:15:0:
/usr/include/libavcodec/avcodec.h:4391:5: note: declared here
 int av_dup_packet(AVPacket *pkt);
     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c: In function ‘packet_queue_clear’:
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:239:13: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
             av_free_packet(&pkt->pkt);
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:15:0:
/usr/include/libavcodec/avcodec.h:4414:6: note: declared here
 void av_free_packet(AVPacket *pkt);
      ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c: In function ‘get_audio_clock’:
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:303:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
             offset[0] = (double)ioffset / state->st->codec->sample_rate;
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:304:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
             queue_len = (double)ilen / state->st->codec->sample_rate;
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c: In function ‘synchronize_audio’:
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:371:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
     return (int)(diff*movState->audio.st->codec->sample_rate);
     ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c: In function ‘audio_decode_frame’:
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:382:13: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
             av_free_packet(pkt);
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:15:0:
/usr/include/libavcodec/avcodec.h:4414:6: note: declared here
 void av_free_packet(AVPacket *pkt);
      ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:394:17: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
                 avcodec_flush_buffers(movState->audio.st->codec);
                 ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:413:9: warning: ‘avcodec_decode_audio4’ is deprecated [-Wdeprecated-declarations]
         int len1 = avcodec_decode_audio4(movState->audio.st->codec, frame,
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:15:0:
/usr/include/libavcodec/avcodec.h:4704:5: note: declared here
 int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:413:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         int len1 = avcodec_decode_audio4(movState->audio.st->codec, frame,
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:435:17: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
                 &movState->audio.samples, NULL, movState->audio.st->codec->channels,
                 ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c: In function ‘read_audio’:
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:477:44: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
                                            (double)movState->audio.st->codec->sample_rate;
                                            ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:539:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         movState->audio.current_pts += (double)rem / movState->audio.st->codec->sample_rate;
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c: In function ‘audio_thread’:
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:563:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
     if(movState->audio.st->codec->sample_fmt == AV_SAMPLE_FMT_U8 ||
     ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:564:8: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
        movState->audio.st->codec->sample_fmt == AV_SAMPLE_FMT_U8P)
        ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:568:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         if(movState->audio.st->codec->channel_layout == AV_CH_LAYOUT_7POINT1 &&
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:572:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
             movState->audio.dst_ch_layout = movState->audio.st->codec->channel_layout;
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:576:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         if((movState->audio.st->codec->channel_layout == AV_CH_LAYOUT_5POINT1 ||
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:577:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
             movState->audio.st->codec->channel_layout == AV_CH_LAYOUT_5POINT1_BACK) &&
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:581:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
             movState->audio.dst_ch_layout = movState->audio.st->codec->channel_layout;
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:585:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         if(movState->audio.st->codec->channel_layout == AV_CH_LAYOUT_MONO)
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:598:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
     if((movState->audio.st->codec->sample_fmt == AV_SAMPLE_FMT_FLT ||
     ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:599:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         movState->audio.st->codec->sample_fmt == AV_SAMPLE_FMT_FLTP) &&
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:604:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         if(movState->audio.st->codec->channel_layout == AV_CH_LAYOUT_7POINT1 &&
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:608:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
             movState->audio.dst_ch_layout = movState->audio.st->codec->channel_layout;
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:612:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         if((movState->audio.st->codec->channel_layout == AV_CH_LAYOUT_5POINT1 ||
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:613:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
             movState->audio.st->codec->channel_layout == AV_CH_LAYOUT_5POINT1_BACK) &&
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:617:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
             movState->audio.dst_ch_layout = movState->audio.st->codec->channel_layout;
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:621:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         if(movState->audio.st->codec->channel_layout == AV_CH_LAYOUT_MONO)
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:638:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         if(movState->audio.st->codec->channel_layout == AV_CH_LAYOUT_7POINT1 &&
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:642:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
             movState->audio.dst_ch_layout = movState->audio.st->codec->channel_layout;
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:646:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         if((movState->audio.st->codec->channel_layout == AV_CH_LAYOUT_5POINT1 ||
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:647:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
             movState->audio.st->codec->channel_layout == AV_CH_LAYOUT_5POINT1_BACK) &&
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:651:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
             movState->audio.dst_ch_layout = movState->audio.st->codec->channel_layout;
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:655:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         if(movState->audio.st->codec->channel_layout == AV_CH_LAYOUT_MONO)
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:668:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
     buffer_len = AUDIO_BUFFER_TIME * movState->audio.st->codec->sample_rate / 1000 *
     ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:686:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         movState->audio.st->codec->sample_rate,
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:687:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         movState->audio.st->codec->channel_layout ?
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:688:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
             movState->audio.st->codec->channel_layout :
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:689:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
             (uint64_t)av_get_default_channel_layout(movState->audio.st->codec->channels),
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:690:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         movState->audio.st->codec->sample_fmt,
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:691:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         movState->audio.st->codec->sample_rate,
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:724:26: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
                          movState->audio.st->codec->sample_rate);
                          ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c: In function ‘video_display’:
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:796:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
     if(movState->video.st->codec->sample_aspect_ratio.num == 0)
     ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:800:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         aspect_ratio = av_q2d(movState->video.st->codec->sample_aspect_ratio) *
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:801:24: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
                        movState->video.st->codec->width /
                        ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:802:24: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
                        movState->video.st->codec->height;
                        ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:806:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         aspect_ratio = (float)movState->video.st->codec->width /
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:807:24: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
                        (float)movState->video.st->codec->height;
                        ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
[ 91%] Linking C executable openal-info
[ 91%] Linking C executable alreverb
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c: In function ‘update_picture’:
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:905:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
     if(!vp->bmp || vp->width != movState->video.st->codec->width ||
     ^
/usr/bin/cmake -E cmake_link_script CMakeFiles/openal-info.dir/link.txt --verbose=1
/usr/bin/cmake -E cmake_link_script CMakeFiles/alreverb.dir/link.txt --verbose=1
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:906:20: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
                    vp->height != movState->video.st->codec->height)
                    ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:912:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
             movState->video.st->codec->coded_width, movState->video.st->codec->coded_height
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:912:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
             movState->video.st->codec->coded_width, movState->video.st->codec->coded_height
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:916:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         vp->width = movState->video.st->codec->width;
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:917:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         vp->height = movState->video.st->codec->height;
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:926:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
             if(movState->video.st->codec->sample_aspect_ratio.num != 0 &&
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
[ 92%] Linking C executable allatency
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:927:16: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
                movState->video.st->codec->sample_aspect_ratio.den != 0)
                ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/usr/bin/cmake -E cmake_link_script CMakeFiles/allatency.dir/link.txt --verbose=1
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:929:17: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
                 double aspect_ratio = av_q2d(movState->video.st->codec->sample_aspect_ratio);
                 ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:945:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         if(movState->video.st->codec->pix_fmt == PIX_FMT_YUV420P)
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:945:50: error: ‘PIX_FMT_YUV420P’ undeclared (first use in this function)
         if(movState->video.st->codec->pix_fmt == PIX_FMT_YUV420P)
                                                  ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:945:50: note: each undeclared identifier is reported only once for each function it appears in
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:956:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
             int coded_w = movState->video.st->codec->coded_width;
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:957:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
             int coded_h = movState->video.st->codec->coded_height;
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:958:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
             int w = movState->video.st->codec->width;
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/usr/bin/cc  -std=c11 -O2 -fPIC -O3 -DNDEBUG   CMakeFiles/openal-info.dir/utils/openal-info.c.o  -o openal-info -rdynamic libopenal.so.1.17.2 libcommon.a -lrt -lpthread -ldl -lm -pthread -Wl,-rpath,/tmp/SBo/openal-soft-1.17.2: 
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:959:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
             int h = movState->video.st->codec->height;
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:962:21: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
                     w, h, movState->video.st->codec->pix_fmt,
                     ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:968:13: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
             pict.data[0] = pixels;
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:15:0:
/usr/include/libavcodec/avcodec.h:3833:14: note: declared here
     uint8_t *data[AV_NUM_DATA_POINTERS];    ///< pointers to the image data planes
              ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:969:13: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
             pict.data[2] = pict.data[0] + coded_w*coded_h;
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:15:0:
/usr/include/libavcodec/avcodec.h:3833:14: note: declared here
     uint8_t *data[AV_NUM_DATA_POINTERS];    ///< pointers to the image data planes
              ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:969:13: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
             pict.data[2] = pict.data[0] + coded_w*coded_h;
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:15:0:
/usr/include/libavcodec/avcodec.h:3833:14: note: declared here
     uint8_t *data[AV_NUM_DATA_POINTERS];    ///< pointers to the image data planes
              ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:970:13: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
             pict.data[1] = pict.data[2] + coded_w*coded_h/4;
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:15:0:
/usr/include/libavcodec/avcodec.h:3833:14: note: declared here
     uint8_t *data[AV_NUM_DATA_POINTERS];    ///< pointers to the image data planes
              ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:970:13: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
             pict.data[1] = pict.data[2] + coded_w*coded_h/4;
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:15:0:
/usr/include/libavcodec/avcodec.h:3833:14: note: declared here
     uint8_t *data[AV_NUM_DATA_POINTERS];    ///< pointers to the image data planes
              ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:972:13: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
             pict.linesize[0] = pitch;
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:15:0:
/usr/include/libavcodec/avcodec.h:3835:9: note: declared here
     int linesize[AV_NUM_DATA_POINTERS];     ///< number of bytes per line
         ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:973:13: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
             pict.linesize[2] = pitch / 2;
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:15:0:
/usr/include/libavcodec/avcodec.h:3835:9: note: declared here
     int linesize[AV_NUM_DATA_POINTERS];     ///< number of bytes per line
         ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:974:13: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
             pict.linesize[1] = pitch / 2;
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:15:0:
/usr/include/libavcodec/avcodec.h:3835:9: note: declared here
     int linesize[AV_NUM_DATA_POINTERS];     ///< number of bytes per line
         ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:977:23: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
                       frame->linesize, 0, h, pict.data, pict.linesize);
                       ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:15:0:
/usr/include/libavcodec/avcodec.h:3833:14: note: declared here
     uint8_t *data[AV_NUM_DATA_POINTERS];    ///< pointers to the image data planes
              ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:977:23: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
                       frame->linesize, 0, h, pict.data, pict.linesize);
                       ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:15:0:
/usr/include/libavcodec/avcodec.h:3835:9: note: declared here
     int linesize[AV_NUM_DATA_POINTERS];     ///< number of bytes per line
         ^
/usr/bin/cc  -std=c11 -O2 -fPIC -O3 -DNDEBUG   CMakeFiles/alreverb.dir/examples/alreverb.c.o  -o alreverb -rdynamic libex-common.a -lSDL_sound -Wl,-Bstatic -lSDL2main -Wl,-Bdynamic -lSDL2 -Wl,-Bstatic -lSDL2main -Wl,-Bdynamic -lSDL2 libcommon.a libopenal.so.1.17.2 libcommon.a -lrt -lpthread -ldl -lm -pthread -Wl,-rpath,/tmp/SBo/openal-soft-1.17.2: 
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c: In function ‘synchronize_video’:
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:1032:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
     frame_delay = av_q2d(movState->video.st->codec->time_base);
     ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c: In function ‘video_thread’:
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:1051:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
             avcodec_flush_buffers(movState->video.st->codec);
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:1068:9: warning: ‘avcodec_decode_video2’ is deprecated [-Wdeprecated-declarations]
         avcodec_decode_video2(movState->video.st->codec, movState->video.decoded_vframe,
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:15:0:
/usr/include/libavcodec/avcodec.h:4753:5: note: declared here
 int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:1068:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         avcodec_decode_video2(movState->video.st->codec, movState->video.decoded_vframe,
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:1078:9: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
         av_free_packet(packet);
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:15:0:
/usr/include/libavcodec/avcodec.h:4414:6: note: declared here
 void av_free_packet(AVPacket *pkt);
      ^
/usr/bin/cc  -std=c11 -O2 -fPIC -O3 -DNDEBUG   CMakeFiles/allatency.dir/examples/allatency.c.o  -o allatency -rdynamic libex-common.a -lSDL_sound -Wl,-Bstatic -lSDL2main -Wl,-Bdynamic -lSDL2 -Wl,-Bstatic -lSDL2main -Wl,-Bdynamic -lSDL2 libcommon.a libopenal.so.1.17.2 libcommon.a -lrt -lpthread -ldl -lm -pthread -Wl,-rpath,/tmp/SBo/openal-soft-1.17.2: 
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c: In function ‘stream_component_open’:
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:1115:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
     codecCtx = pFormatCtx->streams[stream_index]->codec;
     ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
[ 93%] Linking C executable alhrtf
/usr/bin/cmake -E cmake_link_script CMakeFiles/alhrtf.dir/link.txt --verbose=1
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c: In function ‘decode_thread’:
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:1189:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         if(fmtCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO && video_index < 0)
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:1191:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
         else if(fmtCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO && audio_index < 0)
         ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:16:0:
/usr/include/libavformat/avformat.h:880:21: note: declared here
     AVCodecContext *codec;
                     ^
/tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:1272:13: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
             av_free_packet(packet);
             ^
In file included from /tmp/SBo/openal-soft-1.17.2/examples/alffplay.c:15:0:
/usr/include/libavcodec/avcodec.h:4414:6: note: declared here
 void av_free_packet(AVPacket *pkt);
      ^
/usr/bin/cc  -std=c11 -O2 -fPIC -O3 -DNDEBUG   CMakeFiles/alhrtf.dir/examples/alhrtf.c.o  -o alhrtf -rdynamic libex-common.a -lSDL_sound -Wl,-Bstatic -lSDL2main -Wl,-Bdynamic -lSDL2 -Wl,-Bstatic -lSDL2main -Wl,-Bdynamic -lSDL2 libcommon.a libopenal.so.1.17.2 libcommon.a -lrt -lpthread -ldl -lm -pthread -Wl,-rpath,/tmp/SBo/openal-soft-1.17.2: 
CMakeFiles/alffplay.dir/build.make:65: recipe for target 'CMakeFiles/alffplay.dir/examples/alffplay.c.o' failed
make[2]: *** [CMakeFiles/alffplay.dir/examples/alffplay.c.o] Error 1
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/alffplay.dir/all' failed
make[1]: *** [CMakeFiles/alffplay.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
[ 95%] Linking C executable altonegen
/usr/bin/cmake -E cmake_link_script CMakeFiles/altonegen.dir/link.txt --verbose=1
[ 95%] Built target openal-info
/usr/bin/cc  -std=c11 -O2 -fPIC -O3 -DNDEBUG   CMakeFiles/altonegen.dir/examples/altonegen.c.o  -o altonegen -rdynamic libtest-common.a libopenal.so.1.17.2 libcommon.a -lrt -lpthread -ldl -lm -pthread -Wl,-rpath,/tmp/SBo/openal-soft-1.17.2: 
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
[ 95%] Built target allatency
[ 95%] Built target alreverb
[ 96%] Linking C executable alloopback
/usr/bin/cmake -E cmake_link_script CMakeFiles/alloopback.dir/link.txt --verbose=1
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
/usr/bin/cc  -std=c11 -O2 -fPIC -O3 -DNDEBUG   CMakeFiles/alloopback.dir/examples/alloopback.c.o  -o alloopback -rdynamic libex-common.a -lSDL_sound -Wl,-Bstatic -lSDL2main -Wl,-Bdynamic -lSDL2 -Wl,-Bstatic -lSDL2main -Wl,-Bdynamic -lSDL2 libcommon.a libopenal.so.1.17.2 libcommon.a -lrt -lpthread -ldl -lm -pthread -Wl,-rpath,/tmp/SBo/openal-soft-1.17.2: 
[ 96%] Built target altonegen
[ 96%] Built target alhrtf
make[2]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
[ 96%] Built target alloopback
make[1]: Leaving directory '/tmp/SBo/openal-soft-1.17.2'
Makefile:130: recipe for target 'all' failed
make: *** [all] Error 2

Any ideas/options I can pass to cmake?

Here are the build options being passed:

cmake \
  -DCMAKE_C_FLAGS="$SLKCFLAGS" \
  -DCMAKE_INSTALL_PREFIX=/usr \
  -DCMAKE_VERBOSE_MAKEFILE:BOOL="on" \
  -DCMAKE_BUILD_TYPE=Release \
  -DLIB_SUFFIX=${LIBDIRSUFFIX}

make
make install/strip DESTDIR=$PKG

... which come from this script: https://slackbuilds.org/cgit/slackbuilds/plain/libraries/OpenAL/OpenAL.SlackBuild

Some old Windows apps request hard-coded device name

Unreal Tournament 2004 fails to load OpenAL Soft with the following message in ALSOFT_LOGFILE:

AL lib: (WW) ALCmmdevPlayback_open: Failed to find device name matching "DirectSound3D"
AL lib: (EE) ALCmmdevPlayback_open: Device init failed: 0x80004005"

Apparently the device name "DirectSound3D" is hard coded. I did a fulltext search on the whole directory and even looked at UT2004.exe in a Hex viewer but was unable to find where it's actually defined. I had no luck searching for it in the registry as well.

Is it possible to rename the OpenAL Soft device in alsoft.ini? I saw it's possible for Linux backends but there are no keys for Windows backends in the sample file.

3rd order output

Not really an issue here. I would like to get openal to output the entire set of 16 channels for 3rd order ambisonics over jack. I get the quad output, but that's decoded by ambdec already, I would need to get to the encoded channels. I have my own decoder running in faust (3h3p for a 24 speaker array).

Any pointers? Would it be possible?

Windows store apps XAudio2

Any plans for supporting XAudio2?
There's already a backend implemented in SDL, so it shouldn't be that hard to implement.

Yamagi Quake 2: Tremolo effect on sounds

Setup: Windows 7 x64, Yamagi Quake 2 v5.31

Issue:
I'm not sure what's going on but I would describe it as

  • sounds alternating between full level and silence very quickly
    -- short recording of the issue in OGG Vorbis available here: http://ge.tt/7ml777O2/v/0 (will be deleted 14 days from now on)

Notes:
This issue was introduced with OpenAL Soft v1.16.0. Older versions don't have any issues with this game.

Log with Loglevel=3:

AL lib: (II) alc_initconfig: Supported backends: mmdevapi, dsound, winmm, null, wave
AL lib: (II) ReadALConfig: Loading config C:\Users\Kersten\AppData\Roaming\alsoft.ini...
AL lib: (II) LoadConfigFromFile: found 'stereo-mode' = 'headphones'
AL lib: (II) LoadConfigFromFile: found 'hrtf_tables' = 'hiradur-%r.mhr'
AL lib: (II) GetConfigValue: Key disable-cpu-exts not found
AL lib: (II) FillCPUCaps: Detected max CPUID function: 0xa (ext. 0x80000008)
AL lib: (II) FillCPUCaps: Vendor ID: ""
AL lib: (II) FillCPUCaps: Name: "Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz"
AL lib: (II) FillCPUCaps: Extensions: +SSE +SSE2 -SSE4.1
AL lib: (II) GetConfigValue: Key rt-prio not found
AL lib: (II) GetConfigValue: Key resampler not found
AL lib: (II) GetConfigValue: Key trap-al-error not found
AL lib: (II) GetConfigValue: Key trap-alc-error not found
AL lib: (II) GetConfigValue: Key reverb/boost not found
AL lib: (II) GetConfigValue: Key reverb/emulate-eax not found
AL lib: (II) GetConfigValue: Key drivers not found
AL lib: (II) ALCmmdevProxy_messageHandler: Starting message thread
AL lib: (II) ALCmmdevProxy_messageHandler: Message thread initialization complete
AL lib: (II) ALCmmdevProxy_messageHandler: Starting message loop
AL lib: (II) alc_initconfig: Initialized backend "mmdevapi"
AL lib: (II) alc_initconfig: Added "mmdevapi" for playback
AL lib: (II) alc_initconfig: Initialized backend "dsound"
AL lib: (II) alc_initconfig: Added "dsound" for capture
AL lib: (II) GetConfigValue: Key excludefx not found
AL lib: (II) GetConfigValue: Key default-reverb not found
AL lib: (II) GetConfigValue: Key channels not found
AL lib: (II) GetConfigValue: Key sample-type not found
AL lib: (II) GetConfigValue: Key format not found
AL lib: (II) GetConfigValue: Key frequency not found
AL lib: (II) GetConfigValue: Key periods not found
AL lib: (II) GetConfigValue: Key period_size not found
AL lib: (II) GetConfigValue: Key sources not found
AL lib: (II) GetConfigValue: Key slots not found
AL lib: (II) GetConfigValue: Key sends not found
AL lib: (II) GetConfigValue: Key cf_level not found
AL lib: (II) GetConfigValue: Key midi/internal-synth not found
AL lib: (II) SSynth_create: Not using internal MIDI synth
AL lib: (II) ALCmmdevProxy_messageHandler: Got message 1024
AL lib: (II) alcOpenDevice: Created device 036E0260, "Lautsprecher (Realtek High Definition Audio)"
AL lib: (II) UpdateDeviceParams: Pre-reset: Stereo, Float, 44100hz, 1024 update size x4
AL lib: (II) GetConfigValue: Key hrtf not found
AL lib: (II) ALCmmdevProxy_messageHandler: Got message 1025
AL lib: (II) UpdateDeviceParams: Post-reset: Stereo, Float, 44100hz, 896 update size x4
AL lib: (II) GetConfigValue: Key layout_stereo not found
AL lib: (II) GetConfigValue: Key layout not found
AL lib: (II) UpdateDeviceParams: HRTF disabled
AL lib: (II) UpdateDeviceParams: BS2B disabled
AL lib: (II) GetConfigValue: Key wide-stereo not found
AL lib: (II) ALCmmdevProxy_messageHandler: Got message 1026
AL lib: (II) alcCreateContext: Created context 01FDFD60
AL lib: (II) ALCmmdevProxy_messageHandler: Got message 1029
AL lib: (II) add_device: Got device "Lautsprecher (Realtek High Definition Audio)", "{0.0.0.00000000}.{d6999160-f893-47c3-89bb-fcab18aea143}"
AL lib: (II) add_device: Got device "Lautsprecher (Realtek High Definition Audio)", "{0.0.0.00000000}.{d6999160-f893-47c3-89bb-fcab18aea143}"
AL lib: (II) FreeContext: 01FDFD60
AL lib: (II) ALCmmdevProxy_messageHandler: Got message 1027
AL lib: (II) FreeDevice: 036E0260
AL lib: (II) ALCmmdevProxy_messageHandler: Got message 1028

Address Sanitizer complains about free() in OpenAL when closing device.

When I build my project with clang, address sanitizer enabled, and close resources, ASan complains that the free'd address is not a malloc'ed address.

Here's the link to the original bugreport on the archlinux bug tracker: https://bugs.archlinux.org/task/41651/

But for completeness I'll also add the minimal test case here:
Steps to reproduce:

nick@fusrodah:/tmp$ cat openal-asan-trigger.cpp
#include <AL/al.h>
#include <AL/alc.h>

int main(){
ALCdevice* d = alcOpenDevice(0);
alcCloseDevice(d);
}
nick@fusrodah:/tmp$ clang++ -fsanitize=address openal-asan-trigger.cpp -lopenal
nick@fusrodah:/tmp$ ./a.out
=================================================================
==7999==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed: 0x0000034cc010 in thread T0
#0 0x465499 in __interceptor_free (/tmp/a.out+0x465499)
#1 0x7f905849e3b1 (/usr/lib/libopenal.so.1+0x2a3b1)
#2 0x47b8d2 in main (/tmp/a.out+0x47b8d2)
#3 0x7f9057292fff in __libc_start_main (/usr/lib/libc.so.6+0x1ffff)
#4 0x47b6fc in _start (/tmp/a.out+0x47b6fc)

AddressSanitizer can not describe address in more detail (wild memory access suspected).
SUMMARY: AddressSanitizer: bad-free ??:0 __interceptor_free
==7999==ABORTING

unuse fumction

define AL_MONO_SOFT 0x1500

define AL_STEREO_SOFT 0x1501

define AL_REAR_SOFT 0x1502

define AL_QUAD_SOFT 0x1503

define AL_5POINT1_SOFT 0x1504

define AL_6POINT1_SOFT 0x1505

define AL_7POINT1_SOFT 0x1506

define AL_BFORMAT2D_SOFT 0x1507

define AL_BFORMAT3D_SOFT 0x1508

ALsizei FramesToBytes(ALsizei size, ALenum channels, ALenum type)
{
switch(channels)
{
case AL_MONO_SOFT: size *= 1; break;
case AL_STEREO_SOFT: size *= 2; break;
case AL_REAR_SOFT: size *= 2; break;
case AL_QUAD_SOFT: size *= 4; break;
case AL_5POINT1_SOFT: size *= 6; break;
case AL_6POINT1_SOFT: size *= 7; break;
case AL_7POINT1_SOFT: size *= 8; break;
}

switch(type)
{
case AL_BYTE_SOFT:           size *= sizeof(ALbyte); break;
case AL_UNSIGNED_BYTE_SOFT:  size *= sizeof(ALubyte); break;
case AL_SHORT_SOFT:          size *= sizeof(ALshort); break;
case AL_UNSIGNED_SHORT_SOFT: size *= sizeof(ALushort); break;
case AL_INT_SOFT:            size *= sizeof(ALint); break;
case AL_UNSIGNED_INT_SOFT:   size *= sizeof(ALuint); break;
case AL_FLOAT_SOFT:          size *= sizeof(ALfloat); break;
case AL_DOUBLE_SOFT:         size *= sizeof(ALdouble); break;
}

return size;

}

switch(channels) is no meaning~~~~ why do this?

EAX's .eal files

More of a question than anything but is there any way to interpret the .eal files with which to use for alsoft's EFX without using the closed source EAX code? I'm assuming nobody has reverse engineered the file format because I couldn't find any results about it online. Looking at moving the JACoders/OpenJK openal code to alsoft eventually and would have to sacrifice the effect support entirely because there is no way to determine environments without those files.

thread safety: failed to alBufferData if another thread is deleting unrelated buffers

I found out the read/write locks were implemented at the "device" level, and when buffering data, the read lock is used, while write lock is used in deleting buffers. so when a source finishes playing and associated buffers are being deleting, other ongoing playback would fail to buffer data.

maybe the read/write locks should be implemented at the "source" level? or simply use the write lock in alBufferData? or, it's the library users' job to take care of it? please advise.

althrd_starter data race

Hi
i found data race in thread althrd_starter.

detected using vs2015 and VTune.

In my engine used task based threading.
and updating listener position is task

alreverb example segfault

When I try to play any mp3 through alreverb, the program segfaults immediately.
I've tried compiling it myself and also using the openal-examples package on the ArchLinux repository.

Here is the gdb output:

(gdb) run ~/six.mp3
Starting program: /home/flipcoder/Programs/openal-soft/build/alreverb ~/six.mp3
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff2945700 (LWP 16087)]
[Thread 0x7ffff2945700 (LWP 16087) exited]
[New Thread 0x7ffff2945700 (LWP 16088)]
[New Thread 0x7fffed82b700 (LWP 16089)]
Opened "OpenAL Soft"
[New Thread 0x7fffed72a700 (LWP 16090)]

Thread 1 "alreverb" received signal SIGSEGV, Segmentation fault.
0x00007ffff6424ad6 in MPEGsystem::seek_first_header() () from /usr/lib/libsmpeg-0.4.so.0
(gdb) bt
#0  0x00007ffff6424ad6 in MPEGsystem::seek_first_header() () from /usr/lib/libsmpeg-0.4.so.0
#1  0x00007ffff6426012 in MPEGsystem::MPEGsystem(SDL_RWops*) () from /usr/lib/libsmpeg-0.4.so.0
#2  0x00007ffff6422772 in MPEG::Init(SDL_RWops*, bool) () from /usr/lib/libsmpeg-0.4.so.0
#3  0x00007ffff6426e1e in SMPEG_new_rwops () from /usr/lib/libsmpeg-0.4.so.0
#4  0x00007ffff7b988be in ?? () from /usr/lib/libSDL_sound-1.0.so.1
#5  0x00007ffff7b957b3 in ?? () from /usr/lib/libSDL_sound-1.0.so.1
#6  0x00007ffff7b95b22 in Sound_NewSample () from /usr/lib/libSDL_sound-1.0.so.1
#7  0x0000000000403378 in openAudioFile (fname=fname@entry=0x7fffffffd837 "/home/flipcoder/six.mp3", buftime_ms=buftime_ms@entry=1000)
    at /home/flipcoder/Programs/openal-soft/examples/common/sdl_sound.c:61
#8  0x0000000000402082 in LoadSound (filename=0x7fffffffd837 "/home/flipcoder/six.mp3")
    at /home/flipcoder/Programs/openal-soft/examples/alreverb.c:158
#9  main (argc=<optimized out>, argv=0x7fffffffd2b8) at /home/flipcoder/Programs/openal-soft/examples/alreverb.c:272

System: ArchLinux 64-bit, kernel 4.6.1.

If any more information is needed, let me know. Any ideas?

Static library linker errors

When building openal-soft as a static library I get linker errors on the common symbols.

I had to modify the ADD_LIBRARY in the CMakeLists.txt to include the ${COMMON_OBJS} when building a static library. This solved my linker errors.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.