Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Copy the null terminator from the string instead of appending it | Chris Robinson | 2014-09-30 | 1 | -4/+1 |
| | |||||
* | Use size_t for the vector size and capacity | Chris Robinson | 2014-09-30 | 4 | -30/+23 |
| | |||||
* | Use an ambisonics-based panning method | Chris Robinson | 2014-09-30 | 4 | -130/+134 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For mono sources, third-order ambisonics is utilized to generate panning gains. The general idea is that a panned mono sound can be encoded into b-format ambisonics as: w[i] = sample[i] * 0.7071; x[i] = sample[i] * dir[0]; y[i] = sample[i] * dir[1]; ... and subsequently rendered using: output[chan][i] = w[i] * w_coeffs[chan] + x[i] * x_coeffs[chan] + y[i] * y_coeffs[chan] + ...; By reordering the math, channel gains can be generated by doing: gain[chan] = 0.7071 * w_coeffs[chan] + dir[0] * x_coeffs[chan] + dir[1] * y_coeffs[chan] + ...; which then get applied as normal: output[chan][i] = sample[i] * gain[chan]; One of the reasons to use ambisonics for panning is that it provides arguably better reproduction for sounds emanating from between two speakers. As well, this makes it easier to pan in all 3 dimensions, with for instance a "3D7.1" or 8-channel cube speaker configuration by simply providing the necessary coefficients (this will need some work since some methods still use angle-based panpot, particularly multi-channel sources). Unfortunately, the math to reliably generate the coefficients for a given speaker configuration is too costly to do at run-time. They have to be pre- generated based on a pre-specified speaker arangement, which means the config options for tweaking speaker angles are no longer supportable. Eventually I hope to provide config options for custom coefficients, which can either be generated and written in manually, or via alsoft-config from user-specified speaker positions. The current default set of coefficients were generated using the MATLAB scripts (compatible with GNU Octave) from the excellent Ambisonic Decoder Toolbox, at https://bitbucket.org/ambidecodertoolbox/adt/ | ||||
* | Use better GUI item names for the resampler option | Chris Robinson | 2014-09-26 | 2 | -35/+31 |
| | |||||
* | Show prettier names in the alsoft-config sample format combo boxes | Chris Robinson | 2014-09-13 | 2 | -96/+80 |
| | |||||
* | Combine some fields into a struct | Chris Robinson | 2014-09-10 | 9 | -135/+133 |
| | |||||
* | Invert the ChannelOffsets array | Chris Robinson | 2014-09-10 | 3 | -56/+60 |
| | |||||
* | Use a wave file channel mask based on the actual format | Chris Robinson | 2014-09-10 | 1 | -14/+12 |
| | |||||
* | Add AL_EXT_BFORMAT to alext.h | Chris Robinson | 2014-09-09 | 1 | -0/+10 |
| | |||||
* | Remove some unnecessary config options | Chris Robinson | 2014-09-08 | 2 | -26/+8 |
| | |||||
* | Use a vector instead of a manual dynamic array | Chris Robinson | 2014-09-08 | 1 | -150/+90 |
| | |||||
* | Don't modify a capture device's format | Chris Robinson | 2014-09-08 | 1 | -168/+7 |
| | | | | | | OpenAL's capture API guarantees the application gets the format requested, or else the device will fail to open. The only valid change is that the capture buffer can be larger than requested. | ||||
* | Remove the GetLatency method from the old BackendFuncs | Chris Robinson | 2014-09-08 | 9 | -47/+10 |
| | |||||
* | Convert the winmm backend to the new backend API | Chris Robinson | 2014-09-08 | 4 | -289/+382 |
| | |||||
* | Only pass nano seconds to al_nssleep | Chris Robinson | 2014-09-08 | 6 | -9/+9 |
| | |||||
* | Allow optional memory ordering to atomic methods | Chris Robinson | 2014-09-07 | 1 | -42/+81 |
| | | | | | Currently only C11 atomics make use of the memory order. If not specified, it defaults to almemory_order_seq_cst. | ||||
* | Check that atomic_load works with a const _Atomic | Chris Robinson | 2014-09-05 | 1 | -1/+1 |
| | | | | | | | The original C11 spec does not allow atomic_load to work on const _Atomic variables, which we sometimes do in alGet* methods, despite the fact that it does not modify the variable. An update to the C spec corrects this oversight, and GCC 4.9 has allowed it anyway, while Clang 3.4 does not. | ||||
* | Fix the __get_cpuid cmake check | Chris Robinson | 2014-09-05 | 1 | -1/+1 |
| | |||||
* | Use a standard pointer-sized integer type | Chris Robinson | 2014-09-04 | 1 | -1/+1 |
| | |||||
* | Make ExchangeInt and ExchangePtr non-atomic | Chris Robinson | 2014-09-03 | 1 | -41/+23 |
| | |||||
* | Make the fontsound's buffer and link fields atomic | Chris Robinson | 2014-09-03 | 4 | -19/+29 |
| | |||||
* | Protect alProcessUpdatesSOFT with a lock | Chris Robinson | 2014-09-03 | 1 | -2/+2 |
| | |||||
* | Use proper atomics for the thunk array | Chris Robinson | 2014-09-03 | 1 | -12/+13 |
| | |||||
* | Make the buffer's pack and unpack properties atomic | Chris Robinson | 2014-09-03 | 2 | -11/+11 |
| | |||||
* | Fix Neon mixer definition | Chris Robinson | 2014-08-31 | 1 | -2/+2 |
| | |||||
* | Use al_calloc/al_free to allocate contexts and voices | Chris Robinson | 2014-08-30 | 1 | -6/+6 |
| | |||||
* | Setup the HRTF format before tracing the pre-reset format | Chris Robinson | 2014-08-29 | 1 | -17/+17 |
| | |||||
* | Check mmdevapi device ids to match the default device | Chris Robinson | 2014-08-28 | 1 | -19/+36 |
| | | | | | Seems Windows can return different IMMDevice object pointers for the same endpoint. | ||||
* | Return the correct default capture device name | Chris Robinson | 2014-08-26 | 1 | -1/+1 |
| | |||||
* | Check the given CoreAudio capture device name | Chris Robinson | 2014-08-26 | 1 | -0/+5 |
| | |||||
* | Remove a couple unnecessary typedefs | Chris Robinson | 2014-08-24 | 2 | -5/+2 |
| | |||||
* | Convert the wave writer backend to the new API | Chris Robinson | 2014-08-24 | 4 | -115/+182 |
| | |||||
* | Use al_malloc/al_free for default allocators | Chris Robinson | 2014-08-24 | 1 | -2/+2 |
| | |||||
* | Include the common sources when building statically | Chris Robinson | 2014-08-23 | 1 | -1/+5 |
| | |||||
* | Rename activesource to voice | Chris Robinson | 2014-08-21 | 8 | -210/+208 |
| | |||||
* | Use an array of objects for active sources instead of pointers | Chris Robinson | 2014-08-21 | 5 | -66/+48 |
| | |||||
* | Use a NULL source for inactive activesources | Chris Robinson | 2014-08-21 | 7 | -52/+64 |
| | | | | Also only access the activesource's source field once per update. | ||||
* | Use the current binary dir for shared function checks too | Chris Robinson | 2014-08-20 | 1 | -7/+7 |
| | |||||
* | Use directories relative to current project in CheckFileOffsetBits.cmake | Jesper Särnesjö | 2014-08-20 | 1 | -4/+4 |
| | | | | Enables building OpenAL Soft in a subdirectory of another project. | ||||
* | Support brace-enclosed environment variable names | Chris Robinson | 2014-08-19 | 1 | -0/+9 |
| | | | | | | | This makes it possible to append alpha-numeric characters directly to an environment variable value, e.g. ${FOO}bar will use "FOO" as the variable name and keep the "bar" as-is, whereas $FOObar will take "FOObar" as the variable name. | ||||
* | Update COPYING to the latest ↵ | François Cami | 2014-08-18 | 47 | -105/+102 |
| | | | | https://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt to fix the FSF' address Fix the FSF' address in the source | ||||
* | Use the POSITION_INDEPENDENT_CODE target property when available | Chris Robinson | 2014-08-16 | 1 | -7/+12 |
| | |||||
* | Don't force specific compile flags for the different build types | Chris Robinson | 2014-08-16 | 1 | -17/+7 |
| | |||||
* | Don't try to include stdalign.h if C11 _Alignas isn't available | Chris Robinson | 2014-08-16 | 1 | -1/+1 |
| | | | | | | Some compilers will allow including stdalign.h, and even define alignas to _Alignas, even if that C11 feature is unavailable (e.g. because it requires a suitable -std= setting). | ||||
* | Search for the correct include and lib directories for the DX SDK | Chris Robinson | 2014-08-15 | 2 | -5/+4 |
| | | | | And only set them when needed. | ||||
* | Add a changelog, detailing notable changes for each release | Chris Robinson | 2014-08-15 | 1 | -0/+100 |
| | |||||
* | Release 1.16.0openal-soft-1.16.0 | Chris Robinson | 2014-08-14 | 1 | -2/+2 |
| | |||||
* | ALC_SOFT_pause_device is finished | Chris Robinson | 2014-08-12 | 3 | -11/+11 |
| | |||||
* | Assume SSE is available if building with support and no run-time checking | Chris Robinson | 2014-08-11 | 1 | -0/+12 |
| | |||||
* | Try the __cpuid intrinsic if GCC's __get_cpuid isn't available | Chris Robinson | 2014-08-11 | 3 | -10/+59 |
| |