Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove the unused wide-stereo option | Chris Robinson | 2014-11-08 | 1 | -3/+0 |
| | |||||
* | Move a declaration | Chris Robinson | 2014-11-07 | 1 | -1/+2 |
| | |||||
* | Pas the output device channel count to ALeffectState::process | Chris Robinson | 2014-11-07 | 1 | -0/+4 |
| | |||||
* | Rename speakers to channels, and remove an old incorrect comment | Chris Robinson | 2014-11-07 | 1 | -4/+2 |
| | |||||
* | Use a separate macro for the max output channel count | Chris Robinson | 2014-11-07 | 1 | -7/+6 |
| | |||||
* | Fix 5.1 surround sound | Chris Robinson | 2014-11-07 | 1 | -2/+2 |
| | | | | | | | | | | | | | Apparently, 5.1 surround sound is supposed to use the "side" channels, not the back channels, and we've been wrong this whole time. That means the "5.1 Side" is actually the correct 5.1 setup, and using the back channels is anomalous. Additionally, this means the 5.1 buffer format should also use the the side channels instead of the back channels. A final note: the 5.1 mixing coefficients are changed so both use the original 5.1 surround sound set (with the surround channels at +/-110 degrees). So the only difference now between 5.1 "side" and 5.1 "back" is the channel labels. | ||||
* | Remove the channel name from ChannelConfig | Chris Robinson | 2014-11-05 | 1 | -1/+0 |
| | |||||
* | Add preliminary AL_EXT_BFORMAT support | Chris Robinson | 2014-10-31 | 1 | -1/+2 |
| | | | | | Currently missing the AL_ORIENTATION source property. Gain stepping also does not work. | ||||
* | Make alcSuspendContext and alcProcessContext batch updates | Chris Robinson | 2014-10-12 | 1 | -0/+3 |
| | | | | | | | | | | This behavior better matches Creative's hardware drivers and Rapture3D's OpenAL driver. A compatibility environment variable is provided to restore the old no-op behavior for any app that behaves badly from this change (set __ALSOFT_SUSPEND_CONTEXT to "ignore"). If too many apps have a problem with this, the default behavior may need to be changed to ignore, with the env var providing an option to defer/batch instead. | ||||
* | Add a helper to search for a channel index by name | Chris Robinson | 2014-10-02 | 1 | -0/+17 |
| | |||||
* | Store default speaker configurations in a struct | Chris Robinson | 2014-10-02 | 1 | -11/+14 |
| | |||||
* | Make ComputeAngleGains use ComputeDirectionalGains | Chris Robinson | 2014-10-02 | 1 | -0/+1 |
| | |||||
* | Use an ambisonics-based panning method | Chris Robinson | 2014-09-30 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/ | ||||
* | Combine some fields into a struct | Chris Robinson | 2014-09-10 | 1 | -3/+6 |
| | |||||
* | Invert the ChannelOffsets array | Chris Robinson | 2014-09-10 | 1 | -1/+2 |
| | |||||
* | Remove the GetLatency method from the old BackendFuncs | Chris Robinson | 2014-09-08 | 1 | -4/+0 |
| | |||||
* | Convert the winmm backend to the new backend API | Chris Robinson | 2014-09-08 | 1 | -3/+0 |
| | |||||
* | Remove a couple unnecessary typedefs | Chris Robinson | 2014-08-24 | 1 | -3/+0 |
| | |||||
* | Convert the wave writer backend to the new API | Chris Robinson | 2014-08-24 | 1 | -3/+0 |
| | |||||
* | Use al_malloc/al_free for default allocators | Chris Robinson | 2014-08-24 | 1 | -2/+2 |
| | |||||
* | Rename activesource to voice | Chris Robinson | 2014-08-21 | 1 | -3/+3 |
| | |||||
* | Use an array of objects for active sources instead of pointers | Chris Robinson | 2014-08-21 | 1 | -1/+1 |
| | |||||
* | ALC_SOFT_pause_device is finished | Chris Robinson | 2014-08-12 | 1 | -10/+0 |
| | |||||
* | Use atomics for the device and context list heads | Chris Robinson | 2014-08-01 | 1 | -2/+2 |
| | |||||
* | Use generic atomics in more places | Chris Robinson | 2014-07-22 | 1 | -2/+2 |
| | |||||
* | Add macros for generic atomic functionality | Chris Robinson | 2014-07-22 | 1 | -1/+1 |
| | |||||
* | Regroup and reorganize some macros | Chris Robinson | 2014-07-06 | 1 | -40/+57 |
| | |||||
* | Don't require pre-declaring vector types | Chris Robinson | 2014-07-06 | 1 | -5/+1 |
| | |||||
* | AL_SOFT_MSADPCM is functionally complete | Chris Robinson | 2014-07-03 | 1 | -6/+0 |
| | |||||
* | Remove an unused macro | Chris Robinson | 2014-06-29 | 1 | -1/+0 |
| | |||||
* | Load soundfont samples into an ALbuffer | Chris Robinson | 2014-06-29 | 1 | -8/+0 |
| | | | | | Also remove ALsoundfont's now-unneeded sample storage functions and struct fields. | ||||
* | Add SSE2 and SSE4.1 linear resamplers | Timothy Arceri | 2014-06-06 | 1 | -1/+2 |
| | | | | | Currently the only way SSE 4.1 is detected is by using __get_cpuid, i.e. with GCC. Windows' IsProcessorFeaturePresent does not report SSE4.1 capabilities. | ||||
* | Rename CONST_FUNC and PRINTF_STYLE, and fix non-GNU AL_PRINT | Chris Robinson | 2014-05-23 | 1 | -10/+10 |
| | |||||
* | AL_SOFT_block_alignment is now considered done | Chris Robinson | 2014-05-22 | 1 | -6/+0 |
| | |||||
* | Use an unsigned type for the win32 size_t formatter | Chris Robinson | 2014-05-22 | 1 | -1/+1 |
| | |||||
* | Mark some functions as const | Chris Robinson | 2014-05-22 | 1 | -5/+7 |
| | |||||
* | Return a sample pointer from resamplers | Chris Robinson | 2014-05-19 | 1 | -3/+4 |
| | | | | Both resampling and filtering now avoid copying samples when they no-op. | ||||
* | Make RefCount a non-integer type | Chris Robinson | 2014-05-14 | 1 | -3/+3 |
| | | | | | It should only be accessed through the appropriate functions to ensure proper atomicity. | ||||
* | Move the static_assert definition to its own header | Chris Robinson | 2014-05-07 | 1 | -10/+1 |
| | |||||
* | Convert the mmdevapi backend to the new backend API | Chris Robinson | 2014-04-25 | 1 | -3/+0 |
| | |||||
* | Convert the DSound backend to the new API | Chris Robinson | 2014-04-19 | 1 | -3/+0 |
| | |||||
* | Add a SZFMT macro for a size_t string formatter | Chris Robinson | 2014-04-19 | 1 | -0/+9 |
| | |||||
* | Add a GCC-specific STATIC_UPCAST macro that checks the object type | Chris Robinson | 2014-04-19 | 1 | -1/+8 |
| | | | | | The check is compile time, and is functionally identical to the old/alternate version. | ||||
* | Use C11 alignas when available | Chris Robinson | 2014-04-19 | 1 | -11/+6 |
| | |||||
* | Use C11's static_assert when available | Chris Robinson | 2014-04-07 | 1 | -0/+12 |
| | |||||
* | Use an al_string for the device name | Chris Robinson | 2014-03-28 | 1 | -1/+2 |
| | |||||
* | Use C99 VLA instead of alloca when available | Chris Robinson | 2014-03-25 | 1 | -0/+6 |
| | |||||
* | Remove the last bits of the predictive sample processing | Chris Robinson | 2014-03-23 | 1 | -3/+3 |
| | |||||
* | Remove the now-unneeded click removal buffers for the device | Chris Robinson | 2014-03-23 | 1 | -3/+0 |
| | | | | | | They are still there for auxiliary sends. However, they should go away soon enough too, and then we won't have to mess around with calculating extra "predictive" samples in the mixer. | ||||
* | Use a void* for the effect state Delete method param | Chris Robinson | 2014-03-21 | 1 | -0/+3 |
| |